Commit c146265d authored by qinj's avatar qinj

进度查询laoding

parent a875af9e
...@@ -54,36 +54,37 @@ ...@@ -54,36 +54,37 @@
<div class="basic-info"> <div class="basic-info">
<ele-form-section v-model="formData" <ele-form-section v-model="formData"
:rules="rules" :rules="rules"
v-loading="btnloading"
:sections="sections" :sections="sections"
ref="formData"> ref="formData">
<template v-slot:ExtLeader_SDK="{ formData }"> <template v-slot:ExtLeader_SDK="{ formData }">
<el-input v-model="formData.ExtLeader_SDK" <el-input v-model="formData.ExtLeader_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtLeaderPhone_SDK="{ formData }"> <template v-slot:ExtLeaderPhone_SDK="{ formData }">
<el-input v-model="formData.ExtLeaderPhone_SDK" <el-input v-model="formData.ExtLeaderPhone_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtLeaderEmail_SDK="{ formData }"> <template v-slot:ExtLeaderEmail_SDK="{ formData }">
<el-input v-model="formData.ExtLeaderEmail_SDK" <el-input v-model="formData.ExtLeaderEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtUnis_SDK="{ formData }"> <template v-slot:ExtUnis_SDK="{ formData }">
<el-input v-model="formData.ExtUnis_SDK" <el-input v-model="formData.ExtUnis_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtUnisPhone_SDK="{ formData }"> <template v-slot:ExtUnisPhone_SDK="{ formData }">
<el-input v-model="formData.ExtUnisPhone_SDK" <el-input v-model="formData.ExtUnisPhone_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtUnisEmail_SDK="{ formData }"> <template v-slot:ExtUnisEmail_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK" <el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ApproveBtn="{ formData }"> <template v-slot:ApproveBtn="{ formData }">
<el-button style="margin-left: 40%;" <el-button style="margin-left: 40%;"
...@@ -94,7 +95,10 @@ ...@@ -94,7 +95,10 @@
</template> </template>
</ele-form-section> </ele-form-section>
<div class="table-contain"> <div class="table-contain">
<PersonalInFo :addBtnStart='!formData.ExtProcessNode_SDK==1' :isShowEditBtn='formData.ExtProcessNode_SDK==1' :dedeleBtnStart="!formData.ExtProcessNode_SDK==1" :type-code="typeCode"/> <PersonalInFo :addBtnStart='formData.ExtProcessNode_SDK!=1'
:isShowEditBtn='formData.ExtProcessNode_SDK==1'
:dedeleBtnStart="formData.ExtProcessNode_SDK!=1"
:type-code="typeCode" />
</div> </div>
<div class="table-contain"> <div class="table-contain">
<div class="form-container">审批意见</div> <div class="form-container">审批意见</div>
...@@ -159,7 +163,7 @@ export default { ...@@ -159,7 +163,7 @@ export default {
data() { data() {
return { return {
form: {}, form: {},
typeCode: uploadCode.customer, typeCode: uploadCode.customer,
dialogFormVisible: false, dialogFormVisible: false,
title: '城市代理商审批进度查询', title: '城市代理商审批进度查询',
addBtnStart: false, addBtnStart: false,
...@@ -334,7 +338,9 @@ export default { ...@@ -334,7 +338,9 @@ export default {
}) })
}, },
getList() { getList() {
this.btnloading = true
getCustomer({ objectID: this.id }).then((resp) => { getCustomer({ objectID: this.id }).then((resp) => {
this.btnloading = false
this.formData = resp.results[0] this.formData = resp.results[0]
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
......
...@@ -61,48 +61,49 @@ ...@@ -61,48 +61,49 @@
<div class="basic-info"> <div class="basic-info">
<ele-form-section v-model="formData" <ele-form-section v-model="formData"
:rules="rules" :rules="rules"
v-loading="btnloading"
:sections="sections"> :sections="sections">
<template v-slot:ExtLeader_SDK="{ formData }"> <template v-slot:ExtLeader_SDK="{ formData }">
<el-input v-model="formData.ExtLeader_SDK" <el-input v-model="formData.ExtLeader_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtLeaderPhone_SDK="{ formData }"> <template v-slot:ExtLeaderPhone_SDK="{ formData }">
<el-input v-model="formData.ExtLeaderPhone_SDK" <el-input v-model="formData.ExtLeaderPhone_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtLeaderEmail_SDK="{ formData }"> <template v-slot:ExtLeaderEmail_SDK="{ formData }">
<el-input v-model="formData.ExtLeaderEmail_SDK" <el-input v-model="formData.ExtLeaderEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtUnis_SDK="{ formData }"> <template v-slot:ExtUnis_SDK="{ formData }">
<el-input v-model="formData.ExtUnis_SDK" <el-input v-model="formData.ExtUnis_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtUnisPhone_SDK="{ formData }"> <template v-slot:ExtUnisPhone_SDK="{ formData }">
<el-input v-model="formData.ExtUnisPhone_SDK" <el-input v-model="formData.ExtUnisPhone_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtUnisEmail_SDK="{ formData }"> <template v-slot:ExtUnisEmail_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK" <el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtBusiness_SDK="{ formData }"> <template v-slot:ExtBusiness_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK" <el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtBusinessPhone_SDK="{ formData }"> <template v-slot:ExtBusinessPhone_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK" <el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ExtBusinessEmail_SDK="{ formData }"> <template v-slot:ExtBusinessEmail_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK" <el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input> :disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template> </template>
<template v-slot:ApproveBtn="{ formData }"> <template v-slot:ApproveBtn="{ formData }">
<el-button style="margin-left: 40%;" <el-button style="margin-left: 40%;"
...@@ -171,7 +172,10 @@ ...@@ -171,7 +172,10 @@
</template> </template>
</ele-form-section> </ele-form-section>
<div class="table-contain"> <div class="table-contain">
<PersonalInFo :addBtnStart='!formData.ExtProcessNode_SDK==1' :isShowEditBtn='formData.ExtProcessNode_SDK==1' :dedeleBtnStart="!formData.ExtProcessNode_SDK==1" :type-code="typeCode"/> <PersonalInFo :addBtnStart='!formData.ExtProcessNode_SDK==1'
:isShowEditBtn='formData.ExtProcessNode_SDK==1'
:dedeleBtnStart="!formData.ExtProcessNode_SDK==1"
:type-code="typeCode" />
</div> </div>
<div class="table-contain"> <div class="table-contain">
<div class="form-container">审批意见</div> <div class="form-container">审批意见</div>
...@@ -417,7 +421,7 @@ export default { ...@@ -417,7 +421,7 @@ export default {
], ],
tableData: [], tableData: [],
tableData2: [], tableData2: [],
isShowEditBtn:false, isShowEditBtn: false,
btnloading: false, btnloading: false,
aOptions: [], aOptions: [],
bOptions: [], bOptions: [],
...@@ -457,7 +461,9 @@ export default { ...@@ -457,7 +461,9 @@ export default {
methods: { methods: {
getList() { getList() {
console.log('objectId', this.id) console.log('objectId', this.id)
this.btnloading = true
getCustomer({ objectID: this.id }).then((resp) => { getCustomer({ objectID: this.id }).then((resp) => {
this.btnloading = false
this.formData = resp.results[0] this.formData = resp.results[0]
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) => {
...@@ -556,11 +562,11 @@ export default { ...@@ -556,11 +562,11 @@ export default {
this.formData.objectID = this.id this.formData.objectID = this.id
this.btnloading = true this.btnloading = true
let arr = this.$translateToC4CData(this.formData) let arr = this.$translateToC4CData(this.formData)
arr.extProductGroup_SDK=arr.extProductGroup_SDK.toString() arr.extProductGroup_SDK = arr.extProductGroup_SDK.toString()
arr.extProductGroup_KUT=arr.extProductGroup_KUT.toString() arr.extProductGroup_KUT = arr.extProductGroup_KUT.toString()
arr.extTotalAgent_SDK=arr.extTotalAgent_SDK.toString() arr.extTotalAgent_SDK = arr.extTotalAgent_SDK.toString()
arr.extTotalAgent_KUT=arr.extTotalAgent_KUT.toString() arr.extTotalAgent_KUT = arr.extTotalAgent_KUT.toString()
this.$request(customer.updataAppUrl, arr).then((resp) => { this.$request(customer.updataAppUrl, arr).then((resp) => {
this.btnloading = false this.btnloading = false
this.$message.success('提交成功!') this.$message.success('提交成功!')
......
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