|
@@ -82,8 +82,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
:props="props"
|
|
:props="props"
|
|
:options="companyResult"
|
|
:options="companyResult"
|
|
- :value="queryModel.parentId"
|
|
|
|
- @getValue="getSelectedValue($event)"
|
|
|
|
|
|
+ v-model="queryModel.parentId"
|
|
height="200"
|
|
height="200"
|
|
></el-select-tree
|
|
></el-select-tree
|
|
>
|
|
>
|
|
@@ -91,6 +90,16 @@
|
|
>是否包含下级单位</el-checkbox
|
|
>是否包含下级单位</el-checkbox
|
|
>
|
|
>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="园区" prop="parkId">
|
|
|
|
+ <el-select-tree
|
|
|
|
+ :props="props"
|
|
|
|
+ :options="parkList"
|
|
|
|
+ v-model="queryModel.parkId"
|
|
|
|
+ height="200"
|
|
|
|
+ ></el-select-tree>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
<el-form-item label="是否上传照片" prop="isUploadPhoto">
|
|
<el-form-item label="是否上传照片" prop="isUploadPhoto">
|
|
<el-select
|
|
<el-select
|
|
v-model="queryModel.isUploadPhoto"
|
|
v-model="queryModel.isUploadPhoto"
|
|
@@ -125,7 +134,7 @@
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</div>
|
|
</div>
|
|
- <div>
|
|
|
|
|
|
+ <!-- <div>
|
|
<el-form-item v-if="position1Show" :label="position1" prop="position1">
|
|
<el-form-item v-if="position1Show" :label="position1" prop="position1">
|
|
<el-input
|
|
<el-input
|
|
type="text"
|
|
type="text"
|
|
@@ -161,7 +170,7 @@
|
|
v-model="queryModel.position5"
|
|
v-model="queryModel.position5"
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</el-form>
|
|
</el-form>
|
|
<el-divider></el-divider>
|
|
<el-divider></el-divider>
|
|
<el-row class="button-group">
|
|
<el-row class="button-group">
|
|
@@ -504,7 +513,7 @@
|
|
>-
|
|
>-
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
- </el-col>
|
|
|
|
|
|
+ </el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col>
|
|
<el-col>
|
|
@@ -763,6 +772,7 @@ export default {
|
|
position4: "",
|
|
position4: "",
|
|
position5: "",
|
|
position5: "",
|
|
derviceName: "",
|
|
derviceName: "",
|
|
|
|
+ parkId:""
|
|
},
|
|
},
|
|
loading: false,
|
|
loading: false,
|
|
tableData: [],
|
|
tableData: [],
|
|
@@ -822,6 +832,7 @@ export default {
|
|
bindWechatVisible: false,
|
|
bindWechatVisible: false,
|
|
bindWechatUrl: "",
|
|
bindWechatUrl: "",
|
|
bindWechatLoading: false,
|
|
bindWechatLoading: false,
|
|
|
|
+ parkList:[]
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -836,6 +847,11 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ companyInfoApi.list({type:"3"}).then(response => {
|
|
|
|
+ var jsonData = response.data;
|
|
|
|
+ this.parkList = jsonData.data;
|
|
|
|
+ });
|
|
|
|
+
|
|
deviceInfoApi.list().then(function (response) {
|
|
deviceInfoApi.list().then(function (response) {
|
|
var jsonData = response.data;
|
|
var jsonData = response.data;
|
|
if (jsonData.result) {
|
|
if (jsonData.result) {
|
|
@@ -938,6 +954,11 @@ export default {
|
|
|
|
|
|
formData.append("derviceName", self.queryModel.derviceName);
|
|
formData.append("derviceName", self.queryModel.derviceName);
|
|
|
|
|
|
|
|
+ if (self.queryModel.parkId == null) {
|
|
|
|
+ self.queryModel.parkId = "";
|
|
|
|
+ }
|
|
|
|
+ formData.append("parkId", self.queryModel.parkId);
|
|
|
|
+
|
|
if (this.field != null) {
|
|
if (this.field != null) {
|
|
formData.append("field", this.field);
|
|
formData.append("field", this.field);
|
|
}
|
|
}
|
|
@@ -1453,16 +1474,18 @@ export default {
|
|
this.bindWechatLoading = true;
|
|
this.bindWechatLoading = true;
|
|
this.bindWechatUrl = "";
|
|
this.bindWechatUrl = "";
|
|
|
|
|
|
- personInfoApi.bindWechat(record.id + "," + record.phone).then((response) => {
|
|
|
|
- var jsonData = response.data;
|
|
|
|
- this.bindWechatLoading = false;
|
|
|
|
|
|
+ personInfoApi
|
|
|
|
+ .bindWechat(record.id + "," + record.phone)
|
|
|
|
+ .then((response) => {
|
|
|
|
+ var jsonData = response.data;
|
|
|
|
+ this.bindWechatLoading = false;
|
|
|
|
|
|
- if (jsonData.result) {
|
|
|
|
- this.bindWechatUrl = jsonData.data;
|
|
|
|
- } else {
|
|
|
|
- this.$message.warning(jsonData.message);
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
|
|
+ if (jsonData.result) {
|
|
|
|
+ this.bindWechatUrl = jsonData.data;
|
|
|
|
+ } else {
|
|
|
|
+ this.$message.warning(jsonData.message);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
},
|
|
},
|
|
unbindWechat(record) {
|
|
unbindWechat(record) {
|
|
var self = this;
|
|
var self = this;
|