Commit 78e4b0bf authored by jiangqihao's avatar jiangqihao

Merge branch 'dev' of http://120.25.63.219:6088/rex/portalhtml into dev

parents 547d0e93 8b5f0ebd
...@@ -356,6 +356,11 @@ export default { ...@@ -356,6 +356,11 @@ export default {
}, },
watch: { watch: {
},
computed: {
visitedViews() {
return this.$store.state.tagsView.visitedViews
},
}, },
created() { created() {
...@@ -387,9 +392,18 @@ export default { ...@@ -387,9 +392,18 @@ export default {
} }
if (this.formData.ExtProcessNode_SDK == 2) { if (this.formData.ExtProcessNode_SDK == 2) {
this.formData.extChannelType_SDK = '' this.formData.extChannelType_SDK = ''
if(!this.formData.extLockRsp_SDK){
this.formData.ExtLockRsp_SDK =[]
}else{
this.formData.ExtLockRsp_SDK = this.formData.ExtLockRsp_SDK.split(',') this.formData.ExtLockRsp_SDK = this.formData.ExtLockRsp_SDK.split(',')
}
if(!this.formData.ExtLockCity_SDK){
this.formData.ExtLockCity_SDK = []
}else{
this.formData.ExtLockCity_SDK = this.formData.ExtLockCity_SDK.split(',') this.formData.ExtLockCity_SDK = this.formData.ExtLockCity_SDK.split(',')
} }
}
lockRsp({ extProvince_SDK: resp.results[0].ExtProvince_SDK }).then((resp) => { lockRsp({ extProvince_SDK: resp.results[0].ExtProvince_SDK }).then((resp) => {
this.province = resp.results this.province = resp.results
}) })
...@@ -486,7 +500,7 @@ export default { ...@@ -486,7 +500,7 @@ export default {
this.loading = false this.loading = false
this.$message.success("审批成功!") this.$message.success("审批成功!")
this.dialogFormVisible = false this.dialogFormVisible = false
this.$router.back() this.handleClickGoBack()
}) })
} else { } else {
const bdd = { customerDTO: cc, note: this.form.note, result: "reject" } const bdd = { customerDTO: cc, note: this.form.note, result: "reject" }
...@@ -495,11 +509,17 @@ export default { ...@@ -495,11 +509,17 @@ export default {
this.loading = false this.loading = false
this.$message.success("退回成功!") this.$message.success("退回成功!")
this.dialogFormVisible = false this.dialogFormVisible = false
this.$router.back() this.handleClickGoBack()
}) })
} }
}, },
handleClickGoBack() {
this.$store.dispatch('tagsView/delView', this.$route)
.then((visitedViews) => {
this.$router.back(-1)
})
},
// 对象格式转化为键值对 // 对象格式转化为键值对
paramsToFormData(obj) { paramsToFormData(obj) {
const formData = new FormData(); const formData = new FormData();
......
...@@ -328,6 +328,11 @@ export default { ...@@ -328,6 +328,11 @@ export default {
// deep:true // deep:true
// } // }
},
computed: {
visitedViews() {
return this.$store.state.tagsView.visitedViews
},
}, },
created() { created() {
this.id = this.$route.query.id this.id = this.$route.query.id
...@@ -360,8 +365,13 @@ export default { ...@@ -360,8 +365,13 @@ export default {
} }
} }
if (this.formData.ExtProcessNode_SDK == 2) { if (this.formData.ExtProcessNode_SDK == 2) {
if(!this.formData.ExtLockCity_SDK){
this.formData.ExtLockCity_SDK = []
}else{
this.formData.ExtLockCity_SDK = this.formData.ExtLockCity_SDK.split(',') this.formData.ExtLockCity_SDK = this.formData.ExtLockCity_SDK.split(',')
} }
}
const app = { provinceCode: resp.results[0].ExtProvince_SDK } const app = { provinceCode: resp.results[0].ExtProvince_SDK }
this.$request(Country.searchCity, app).then((resp) => { this.$request(Country.searchCity, app).then((resp) => {
this.province = resp.results this.province = resp.results
...@@ -432,7 +442,7 @@ export default { ...@@ -432,7 +442,7 @@ export default {
this.loading = false this.loading = false
this.$message.success("审批成功!") this.$message.success("审批成功!")
this.dialogFormVisible = false this.dialogFormVisible = false
this.$router.back() this.handleClickGoBack()
}) })
} else { } else {
this.loading = true this.loading = true
...@@ -441,10 +451,16 @@ export default { ...@@ -441,10 +451,16 @@ export default {
this.loading = false this.loading = false
this.$message.success("退回成功!") this.$message.success("退回成功!")
this.dialogFormVisible = false this.dialogFormVisible = false
this.$router.back() this.handleClickGoBack()
}) })
} }
},
handleClickGoBack() {
this.$store.dispatch('tagsView/delView', this.$route)
.then((visitedViews) => {
this.$router.back(-1)
})
}, },
// 对象格式转化为键值对 // 对象格式转化为键值对
paramsToFormData(obj) { paramsToFormData(obj) {
......
...@@ -314,12 +314,14 @@ ...@@ -314,12 +314,14 @@
@row-click="select" @row-click="select"
style="width: 100%"> style="width: 100%">
<el-table-column prop="Status" <el-table-column prop="Status"
width="80"
label="状态"> label="状态">
</el-table-column> </el-table-column>
<el-table-column prop="Name" <el-table-column prop="Name"
label="公司"> label="公司">
</el-table-column> </el-table-column>
<el-table-column prop="OperName" <el-table-column prop="OperName"
width="120"
label="法定代表人"> label="法定代表人">
</el-table-column> </el-table-column>
<el-table-column prop="CreditCode" <el-table-column prop="CreditCode"
......
...@@ -412,12 +412,14 @@ ...@@ -412,12 +412,14 @@
@row-click="select" @row-click="select"
style="width: 100%"> style="width: 100%">
<el-table-column prop="Status" <el-table-column prop="Status"
width="80"
label="状态"> label="状态">
</el-table-column> </el-table-column>
<el-table-column prop="Name" <el-table-column prop="Name"
label="公司"> label="公司">
</el-table-column> </el-table-column>
<el-table-column prop="OperName" <el-table-column prop="OperName"
width="120"
label="法定代表人"> label="法定代表人">
</el-table-column> </el-table-column>
<el-table-column prop="CreditCode" <el-table-column prop="CreditCode"
......
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