|
@@ -57,6 +57,8 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item label="所属工厂:" prop="parentId">
|
|
<el-form-item label="所属工厂:" prop="parentId">
|
|
|
<el-select
|
|
<el-select
|
|
@@ -111,6 +113,8 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item label="联系方式:" prop="extInfo.phone">
|
|
<el-form-item label="联系方式:" prop="extInfo.phone">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -134,38 +138,51 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
|
- <el-form-item prop="extInfo.campus" label="归属园院区">
|
|
|
|
|
- <el-input
|
|
|
|
|
- class="form-ipt"
|
|
|
|
|
- size="small"
|
|
|
|
|
- style="width: 100%"
|
|
|
|
|
- placeholder="请输入"
|
|
|
|
|
- v-model="form.extInfo.campus"
|
|
|
|
|
- ></el-input>
|
|
|
|
|
|
|
+ <el-form-item label="所属区域:" prop="areaId">
|
|
|
|
|
+ <area-select
|
|
|
|
|
+ v-model="form.areaId"
|
|
|
|
|
+ @checkedKeys="getAreaInfo"
|
|
|
|
|
+ :data="areaTreeList"
|
|
|
|
|
+ ref="tree"
|
|
|
|
|
+ />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
|
- <el-form-item prop="extInfo.coveredArea" label="建筑面积">
|
|
|
|
|
|
|
+ <el-form-item prop="extInfo.level" label="楼层">
|
|
|
<el-input
|
|
<el-input
|
|
|
class="form-ipt"
|
|
class="form-ipt"
|
|
|
size="small"
|
|
size="small"
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
- v-model="form.extInfo.coveredArea"
|
|
|
|
|
|
|
+ v-model="form.extInfo.level"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+<!-- <el-col :span="8" style="margin-bottom: 12px">-->
|
|
|
|
|
+<!-- <el-form-item prop="extInfo.campus" label="归属园院区">-->
|
|
|
|
|
+<!-- <el-input-->
|
|
|
|
|
+<!-- class="form-ipt"-->
|
|
|
|
|
+<!-- size="small"-->
|
|
|
|
|
+<!-- style="width: 100%"-->
|
|
|
|
|
+<!-- placeholder="请输入"-->
|
|
|
|
|
+<!-- v-model="form.extInfo.campus"-->
|
|
|
|
|
+<!-- ></el-input>-->
|
|
|
|
|
+<!-- </el-form-item>-->
|
|
|
|
|
+<!-- </el-col>-->
|
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
|
- <el-form-item prop="extInfo.level" label="楼层">
|
|
|
|
|
|
|
+ <el-form-item prop="extInfo.coveredArea" label="建筑面积">
|
|
|
<el-input
|
|
<el-input
|
|
|
class="form-ipt"
|
|
class="form-ipt"
|
|
|
size="small"
|
|
size="small"
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
- v-model="form.extInfo.level"
|
|
|
|
|
|
|
+ v-model="form.extInfo.coveredArea"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item prop="extInfo.moneyCeiling" label="已配金额上限">
|
|
<el-form-item prop="extInfo.moneyCeiling" label="已配金额上限">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -177,6 +194,8 @@
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
<el-col :span="8" style="margin-bottom: 12px">
|
|
|
<el-form-item prop="extInfo.useArea" label="使用面积">
|
|
<el-form-item prop="extInfo.useArea" label="使用面积">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -188,17 +207,7 @@
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
|
|
- <el-form-item label="区域:" prop="location_city">
|
|
|
|
|
- <area-select
|
|
|
|
|
- v-model="form.areaId"
|
|
|
|
|
- @checkedKeys="getAreaInfo"
|
|
|
|
|
- :data="areaTreeList"
|
|
|
|
|
- ref="tree"
|
|
|
|
|
- />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="24" style="margin-bottom: 12px">
|
|
|
|
|
|
|
+ <el-col :span="16" style="margin-bottom: 12px">
|
|
|
<el-form-item label="地址:" prop="extInfo.location">
|
|
<el-form-item label="地址:" prop="extInfo.location">
|
|
|
<div class="location-warp">
|
|
<div class="location-warp">
|
|
|
<el-cascader
|
|
<el-cascader
|
|
@@ -217,6 +226,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+
|
|
|
<el-col :span="24" style="margin-bottom: 12px">
|
|
<el-col :span="24" style="margin-bottom: 12px">
|
|
|
<el-form-item label="备注:" prop="remark">
|
|
<el-form-item label="备注:" prop="remark">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -243,7 +255,7 @@
|
|
|
import { saveOrUpdate, listWorkshopByParentId } from '@/api/factoryModel';
|
|
import { saveOrUpdate, listWorkshopByParentId } from '@/api/factoryModel';
|
|
|
import { getUserPage } from '@/api/system/organization';
|
|
import { getUserPage } from '@/api/system/organization';
|
|
|
import { cityDataLabel } from 'ele-admin/packages/utils/regions';
|
|
import { cityDataLabel } from 'ele-admin/packages/utils/regions';
|
|
|
-import AreaSelect from "@/views/enterpriseModel/regionalManage/components/area-select.vue";
|
|
|
|
|
|
|
+import AreaSelect from "@/views/enterpriseModel/regionalManage/components/area-cascader.vue";
|
|
|
import {basicAreaPageAPI} from "@/api/regionalManage";
|
|
import {basicAreaPageAPI} from "@/api/regionalManage";
|
|
|
export default {
|
|
export default {
|
|
|
components: {AreaSelect},
|
|
components: {AreaSelect},
|
|
@@ -393,8 +405,8 @@ export default {
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
- getAreaInfo(val) {
|
|
|
|
|
- this.form.areaName = this.areaList.find((item) => item.id == val[0]).name;
|
|
|
|
|
|
|
+ getAreaInfo(nodeInfo) {
|
|
|
|
|
+ this.form.areaName = nodeInfo[0].pathLabels.join('/')
|
|
|
},
|
|
},
|
|
|
open(type, row) {
|
|
open(type, row) {
|
|
|
this.type = type;
|
|
this.type = type;
|