|
|
|
|
10
|
<el-form-item label="机构名称:" prop="org_name">
|
10
|
<el-form-item label="机构名称:" prop="org_name">
|
11
|
<el-input v-model="form.org_name" placeholder="机构名称" ></el-input>
|
11
|
<el-input v-model="form.org_name" placeholder="机构名称" ></el-input>
|
12
|
</el-form-item>
|
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
|
<el-form-item label="机构介绍:" prop="org_introduction">
|
16
|
<el-form-item label="机构介绍:" prop="org_introduction">
|
17
|
<!-- <el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}" placeholder="机构介绍" v-model="form.org_introduction"> </el-input> -->
|
17
|
<!-- <el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}" placeholder="机构介绍" v-model="form.org_introduction"> </el-input> -->
|
18
|
<keep-alive>
|
18
|
<keep-alive>
|
|
|
|
|
188
|
illnessOptions:[],
|
188
|
illnessOptions:[],
|
189
|
form:{
|
189
|
form:{
|
190
|
org_name:'',
|
190
|
org_name:'',
|
191
|
- org_short_name:'',
|
|
|
|
|
191
|
+ contact_name:'',
|
192
|
org_introduction:'',
|
192
|
org_introduction:'',
|
193
|
org_logo:'',
|
193
|
org_logo:'',
|
194
|
province:'',
|
194
|
province:'',
|
|
|
|
|
391
|
var res = response.data;
|
391
|
var res = response.data;
|
392
|
if (res.state === 1) {
|
392
|
if (res.state === 1) {
|
393
|
this.form.org_name = res.data.orginfo.org_name;
|
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
|
this.form.org_introduction = res.data.orginfo.org_introduction;
|
395
|
this.form.org_introduction = res.data.orginfo.org_introduction;
|
396
|
this.form.org_logo = res.data.orginfo.org_logo;
|
396
|
this.form.org_logo = res.data.orginfo.org_logo;
|
397
|
this.form.province = res.data.orginfo.province;
|
397
|
this.form.province = res.data.orginfo.province;
|
|
|
|
|
562
|
EditOrgInfo(this.form).then(response=>{
|
562
|
EditOrgInfo(this.form).then(response=>{
|
563
|
var res = response.data;
|
563
|
var res = response.data;
|
564
|
if(res.state==1) {
|
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
|
this.$message.success("修改成功");
|
567
|
this.$message.success("修改成功");
|
568
|
}else {
|
568
|
}else {
|