Commit 8552cd79 authored by qinj's avatar qinj

控制审批流程disabled

parent dd78ceb9
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
> >
<template v-slot:ExtLockRsp_SDK="{ formData }"> <template v-slot:ExtLockRsp_SDK="{ formData }">
<!-- 插槽内容有el-form-item组件包裹 --> <!-- 插槽内容有el-form-item组件包裹 -->
<el-select v-model="formData.ExtLockRsp_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据"> <el-select v-model="formData.ExtLockRsp_SDK" :disabled="formData.ExtProcessNode_SDK==2" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option <el-option
v-for="item in province" v-for="item in province"
:key="item.AccountID" :key="item.AccountID"
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</template> </template>
<template v-slot:ExtLockCity_SDK="{ formData }"> <template v-slot:ExtLockCity_SDK="{ formData }">
<!-- 插槽内容有el-form-item组件包裹 --> <!-- 插槽内容有el-form-item组件包裹 -->
<el-select v-model="formData.ExtLockCity_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据"> <el-select v-model="formData.ExtLockCity_SDK" :disabled="formData.ExtProcessNode_SDK==2" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option <el-option
v-for="item in apptions" v-for="item in apptions"
:key="item.Code" :key="item.Code"
...@@ -30,6 +30,17 @@ ...@@ -30,6 +30,17 @@
:value="item.Code" :value="item.Code"
/> />
</el-select> </el-select>
</template>
<template v-slot:ExtChannelType_SDK="{ formData }">
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select v-model="formData.ExtChannelType_SDK" :disabled="formData.ExtProcessNode_SDK==2" style="width: 91%" filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option
v-for="item in cOptions"
:key="item.id"
:label="item.content"
:value="item.keyword"
/>
</el-select>
</template> </template>
</ele-form-section> </ele-form-section>
<div class="table-contain"> <div class="table-contain">
...@@ -246,16 +257,6 @@ export default { ...@@ -246,16 +257,6 @@ export default {
type: 'select', type: 'select',
label: '签约渠道类型', label: '签约渠道类型',
layout: 12, layout: 12,
options: async data => {
const res = await typeSearch({code:'ExtChannelType_SDK',module:'Customer',content:'CCP'})
var result = res.map(item => {
return {
text: item.content,
value: item.keyword
}
})
return result
},
}, },
ExtLockRsp_SDK: { ExtLockRsp_SDK: {
type: 'select', type: 'select',
...@@ -301,6 +302,7 @@ export default { ...@@ -301,6 +302,7 @@ export default {
TotalRecords:0, TotalRecords:0,
page:{}, page:{},
apptions:[], apptions:[],
cOptions:[],
// 同 vue-ele-form // 同 vue-ele-form
rules: { rules: {
ExtChannelType_SDK: {required: true, message: '请选择签约渠道类型'}, ExtChannelType_SDK: {required: true, message: '请选择签约渠道类型'},
...@@ -316,6 +318,7 @@ export default { ...@@ -316,6 +318,7 @@ export default {
this.id=this.$route.query.id this.id=this.$route.query.id
this.getList() this.getList()
this.getHistoryList() this.getHistoryList()
this.getChannelType()
}, },
methods: { methods: {
getList(){ getList(){
...@@ -330,6 +333,11 @@ export default { ...@@ -330,6 +333,11 @@ export default {
}) })
}) })
}, },
getChannelType(){
typeSearch({code:'ExtChannelType_SDK',module:'Customer',content:'CCP'}).then((resp)=>{
this.cOptions=resp
})
},
getHistoryList(){ getHistoryList(){
processHistory({businessObjectID:this.id}).then((resp)=>{ processHistory({businessObjectID:this.id}).then((resp)=>{
this.tableData=resp.results this.tableData=resp.results
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
> >
<template v-slot:ExtLockCity_SDK="{ formData }"> <template v-slot:ExtLockCity_SDK="{ formData }">
<!-- 插槽内容有el-form-item组件包裹 --> <!-- 插槽内容有el-form-item组件包裹 -->
<el-select v-model="formData.ExtLockCity_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据"> <el-select v-model="formData.ExtLockCity_SDK" :disabled="formData.ExtProcessNode_SDK==2" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option <el-option
v-for="item in province" v-for="item in province"
:key="item.Code" :key="item.Code"
......
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