diff --git a/src/components/CompanyForm/index.vue b/src/components/CompanyForm/index.vue
index 95169f4..111a070 100644
--- a/src/components/CompanyForm/index.vue
+++ b/src/components/CompanyForm/index.vue
@@ -32,8 +32,8 @@
-
-
+
@@ -50,13 +50,13 @@
-
+
@@ -77,8 +77,8 @@
-
-
+
+
{{ v.fullName }}
diff --git a/src/components/InfoForm/index.vue b/src/components/InfoForm/index.vue
index 800f916..0874ee6 100644
--- a/src/components/InfoForm/index.vue
+++ b/src/components/InfoForm/index.vue
@@ -132,6 +132,16 @@
+
+
+
+
+
+
-
+
{{
@@ -288,7 +298,7 @@
-
+
@@ -361,6 +371,7 @@ export default {
MAU: '',
followerCount: 0,
externalAssistanceId: '',
+ url: '',
},
infoRules: {
systemName: {
@@ -442,9 +453,21 @@ export default {
async companyChange(val) {
// 公司信息
let { data } = await getCompanyInfoById(val);
- if(!data) return;
- this.companyInfo = data;
- this.isShowCompanyInfo = true;
+ if(!data) {
+ this.companyInfo = {};
+ this.isShowCompanyInfo = false;
+ this.infoForm.officeAddress = '';
+ this.infoForm.principalName = '';
+ this.infoForm.principalPhone = '';
+ this.infoForm.areaId = '';
+ } else {
+ this.companyInfo = data;
+ this.isShowCompanyInfo = true;
+ this.infoForm.officeAddress = data.address;
+ this.infoForm.principalName = data.contactUser;
+ this.infoForm.principalPhone = data.contactPhone;
+ this.infoForm.areaId = data.areaId;
+ };
},
// 文件上传--------------------
diff --git a/src/mixins/info.js b/src/mixins/info.js
index 0c7f1cd..5487b57 100644
--- a/src/mixins/info.js
+++ b/src/mixins/info.js
@@ -37,6 +37,7 @@ export default {
!list && (list = await this.$store.dispatch('getTypeListByCode', 'stateType'));
this.stateOptions = list;
},
+ // 外协
async initCommunicationOutOptions() {
let list = this.$store.state.meta.externalAssistanceList;
!list && (list = await this.$store.dispatch("getTypeListByCode", "externalAssistance"));