Commit de43cdef authored by 罗超's avatar 罗超

submit

parent 15d8bac5
...@@ -157,7 +157,8 @@ ...@@ -157,7 +157,8 @@
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>旅行社基本資料</span> <span>旅行社基本資料</span>
</div> </div>
<el-col :span="12"> <el-row>
<el-col :span="8">
<el-form-item label="旅行社名稱"> <el-form-item label="旅行社名稱">
<el-input v-model="PostMsg.TAName" maxlength="80"></el-input> <el-input v-model="PostMsg.TAName" maxlength="80"></el-input>
</el-form-item> </el-form-item>
...@@ -167,11 +168,12 @@ ...@@ -167,11 +168,12 @@
<el-input v-model="PostMsg.TABehalf" maxlength="20"></el-input> <el-input v-model="PostMsg.TABehalf" maxlength="20"></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<el-col :span="12"> <el-col :span="8">
<el-form-item label="旅行社业务经营许可证"> <el-form-item label="旅行社业务经营许可证">
<el-input v-model="PostMsg.TAJiaoGuanCode" maxlength="30"></el-input> <el-input v-model="PostMsg.TAJiaoGuanCode" maxlength="30"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<!-- <el-col :span="8"> <!-- <el-col :span="8">
<el-form-item label="品保編號"> <el-form-item label="品保編號">
<el-input v-model="PostMsg.TAPingBaoCode" maxlength="30"></el-input> <el-input v-model="PostMsg.TAPingBaoCode" maxlength="30"></el-input>
...@@ -838,7 +840,7 @@ ...@@ -838,7 +840,7 @@
if (tempData.PositionList) { if (tempData.PositionList) {
this.PostMsg.PositionList = tempData.PositionList; this.PostMsg.PositionList = tempData.PositionList;
} }
this.PostMsg.EnableEmail = Boolean(tempData.EnableEmail); this.PostMsg.EnableEmail = tempData.EnableEmail === 1;
if (tempData.FilingNo) { if (tempData.FilingNo) {
this.PostMsg.FilingNo = tempData.FilingNo; this.PostMsg.FilingNo = tempData.FilingNo;
} }
...@@ -855,8 +857,10 @@ ...@@ -855,8 +857,10 @@
}, },
//保存数据 //保存数据
saveData() { saveData() {
let params = {...this.PostMsg}
params.EnableEmail = params.EnableEmail ? 1 : 2
this.apipost( this.apipost(
"ws_post_SetBasicConfig", this.PostMsg, "ws_post_SetBasicConfig", params,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getData(); this.getData();
......
...@@ -329,7 +329,7 @@ import uploadImg from '../../pubComponents/uploadImg' ...@@ -329,7 +329,7 @@ import uploadImg from '../../pubComponents/uploadImg'
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.Success(res.data.message); that.Success(res.data.message);
that.getData(); that.getList();
} else { } else {
that.Error(res.data.message); that.Error(res.data.message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment