Commit c146265d authored by qinj's avatar qinj

进度查询laoding

parent a875af9e
......@@ -54,36 +54,37 @@
<div class="basic-info">
<ele-form-section v-model="formData"
:rules="rules"
v-loading="btnloading"
:sections="sections"
ref="formData">
<template v-slot:ExtLeader_SDK="{ formData }">
<el-input v-model="formData.ExtLeader_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtLeaderPhone_SDK="{ formData }">
<el-input v-model="formData.ExtLeaderPhone_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtLeaderEmail_SDK="{ formData }">
<el-input v-model="formData.ExtLeaderEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtUnis_SDK="{ formData }">
<el-input v-model="formData.ExtUnis_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtUnisPhone_SDK="{ formData }">
<el-input v-model="formData.ExtUnisPhone_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtUnisEmail_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ApproveBtn="{ formData }">
<el-button style="margin-left: 40%;"
......@@ -94,7 +95,10 @@
</template>
</ele-form-section>
<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 class="table-contain">
<div class="form-container">审批意见</div>
......@@ -334,7 +338,9 @@ export default {
})
},
getList() {
this.btnloading = true
getCustomer({ objectID: this.id }).then((resp) => {
this.btnloading = false
this.formData = resp.results[0]
lockRsp({ extProvince_SDK: resp.results[0].ExtProvince_SDK }).then((resp) => {
this.province = resp.results
......
......@@ -61,48 +61,49 @@
<div class="basic-info">
<ele-form-section v-model="formData"
:rules="rules"
v-loading="btnloading"
:sections="sections">
<template v-slot:ExtLeader_SDK="{ formData }">
<el-input v-model="formData.ExtLeader_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtLeaderPhone_SDK="{ formData }">
<el-input v-model="formData.ExtLeaderPhone_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtLeaderEmail_SDK="{ formData }">
<el-input v-model="formData.ExtLeaderEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtUnis_SDK="{ formData }">
<el-input v-model="formData.ExtUnis_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtUnisPhone_SDK="{ formData }">
<el-input v-model="formData.ExtUnisPhone_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtUnisEmail_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtBusiness_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtBusinessPhone_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ExtBusinessEmail_SDK="{ formData }">
<el-input v-model="formData.ExtUnisEmail_SDK"
:disabled="!formData.ExtProcessNode_SDK==1"></el-input>
:disabled="formData.ExtProcessNode_SDK!=1"></el-input>
</template>
<template v-slot:ApproveBtn="{ formData }">
<el-button style="margin-left: 40%;"
......@@ -171,7 +172,10 @@
</template>
</ele-form-section>
<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 class="table-contain">
<div class="form-container">审批意见</div>
......@@ -417,7 +421,7 @@ export default {
],
tableData: [],
tableData2: [],
isShowEditBtn:false,
isShowEditBtn: false,
btnloading: false,
aOptions: [],
bOptions: [],
......@@ -457,7 +461,9 @@ export default {
methods: {
getList() {
console.log('objectId', this.id)
this.btnloading = true
getCustomer({ objectID: this.id }).then((resp) => {
this.btnloading = false
this.formData = resp.results[0]
const app = { provinceCode: resp.results[0].ExtProvince_SDK }
this.$request(Country.searchCity, app).then((resp) => {
......@@ -556,10 +562,10 @@ export default {
this.formData.objectID = this.id
this.btnloading = true
let arr = this.$translateToC4CData(this.formData)
arr.extProductGroup_SDK=arr.extProductGroup_SDK.toString()
arr.extProductGroup_KUT=arr.extProductGroup_KUT.toString()
arr.extTotalAgent_SDK=arr.extTotalAgent_SDK.toString()
arr.extTotalAgent_KUT=arr.extTotalAgent_KUT.toString()
arr.extProductGroup_SDK = arr.extProductGroup_SDK.toString()
arr.extProductGroup_KUT = arr.extProductGroup_KUT.toString()
arr.extTotalAgent_SDK = arr.extTotalAgent_SDK.toString()
arr.extTotalAgent_KUT = arr.extTotalAgent_KUT.toString()
this.$request(customer.updataAppUrl, arr).then((resp) => {
this.btnloading = false
......
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