|
|
@@ -43,12 +43,15 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item v-if="type == 4" label="天气区域编码">
|
|
|
- <el-input
|
|
|
+ <el-form-item v-if="type == 4" label="城市天气区域">
|
|
|
+<!-- <el-input
|
|
|
v-model="weatherAreaCode"
|
|
|
placeholder="天气区域编码"
|
|
|
@input="handleInput2"
|
|
|
- ></el-input>
|
|
|
+ ></el-input>-->
|
|
|
+ <el-select v-model="weatherAreaCode" placeholder="请选择" clearable>
|
|
|
+ <el-option v-for="item in areaList" :key="item.key" :label="item.value" :value="item.key"></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
@@ -1088,6 +1091,7 @@ import {
|
|
|
updateOrgPhysicalDefenseConstruction,
|
|
|
delOrgPhysicalDefenseConstruction,
|
|
|
} from "@/api/system/OrgPhysicalDefenseConstruction";
|
|
|
+import {findAreaList} from "@/api/core/weather";
|
|
|
|
|
|
export default {
|
|
|
dicts: [
|
|
|
@@ -1223,6 +1227,7 @@ export default {
|
|
|
propItem: "",
|
|
|
|
|
|
row: "",
|
|
|
+ areaList:[],
|
|
|
};
|
|
|
},
|
|
|
watch: {},
|
|
|
@@ -1243,6 +1248,7 @@ export default {
|
|
|
this.getBankPhysicalDefenseConstructionInfo();
|
|
|
this.getBusinessPhysicalDefenseConstructionInfo();
|
|
|
this.getdetachedPhysicalDefenseConstructionInfo();
|
|
|
+ this.getAreaList();
|
|
|
},
|
|
|
mounted() {},
|
|
|
methods: {
|
|
|
@@ -1256,6 +1262,11 @@ export default {
|
|
|
// this.askariCertificate=img;
|
|
|
console.log(this.askariCertificate, "imgs");
|
|
|
},
|
|
|
+ getAreaList() {
|
|
|
+ findAreaList({}).then(response => {
|
|
|
+ this.areaList = response.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
downBusiness(file) {
|
|
|
window.open(file);
|
|
|
},
|