Browse Source

联系人

zhengchengwu 6 years ago
parent
commit
99d2b4d35f
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/xt_pages/org/orginfo.vue

+ 6 - 6
src/xt_pages/org/orginfo.vue View File

@@ -10,9 +10,9 @@
10 10
             <el-form-item label="机构名称:" prop="org_name">
11 11
                 <el-input v-model="form.org_name" placeholder="机构名称" ></el-input>
12 12
             </el-form-item>
13
-            <!-- <el-form-item label="商家简称:" prop="org_short_name">
14
-                <el-input v-model="form.org_short_name" placeholder="商家简称" ></el-input>
15
-            </el-form-item> -->
13
+            <el-form-item label="联系人姓名:" prop="contact_name">
14
+                <el-input v-model="form.contact_name" placeholder="联系人姓名" ></el-input>
15
+            </el-form-item>
16 16
             <el-form-item label="机构介绍:" prop="org_introduction">
17 17
                 <!-- <el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}" placeholder="机构介绍" v-model="form.org_introduction">  </el-input> -->
18 18
                 <keep-alive>
@@ -188,7 +188,7 @@ import Neditor from '@/components/Neditor'
188 188
         illnessOptions:[],
189 189
         form:{
190 190
             org_name:'',
191
-            org_short_name:'',
191
+            contact_name:'',
192 192
             org_introduction:'',
193 193
             org_logo:'',
194 194
             province:'',
@@ -391,7 +391,7 @@ import Neditor from '@/components/Neditor'
391 391
                 var res = response.data;
392 392
                 if (res.state === 1) {
393 393
                     this.form.org_name = res.data.orginfo.org_name;
394
-                    this.form.org_short_name = res.data.orginfo.org_short_name;
394
+                    this.form.contact_name = res.data.orginfo.contact_name;
395 395
                     this.form.org_introduction = res.data.orginfo.org_introduction;
396 396
                     this.form.org_logo = res.data.orginfo.org_logo;
397 397
                     this.form.province = res.data.orginfo.province;
@@ -562,7 +562,7 @@ import Neditor from '@/components/Neditor'
562 562
             EditOrgInfo(this.form).then(response=>{
563 563
                 var res = response.data;
564 564
                 if(res.state==1) {
565
-                    this.$store.dispatch("ModifyOrgInfo", { org_name: this.form.org_name, org_short_name: this.form.org_name })
565
+                    this.$store.dispatch("ModifyOrgInfo", { org_name: this.form.org_name, contact_name: this.form.org_name })
566 566
                     
567 567
                     this.$message.success("修改成功");
568 568
                 }else {