|
@@ -36,7 +36,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="18">
|
|
|
<el-select v-model="roleInfo" placeholder="请选择签字岗位" filterable >
|
|
|
- <el-option v-for="item in options" :key="item.value" :value="item" :label="item.label" ></el-option>
|
|
|
+ <el-option v-for="item in options" :key="item.value" :value="item.id" :label="item.label" ></el-option>
|
|
|
</el-select>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -177,9 +177,9 @@ export default {
|
|
|
watch: {
|
|
|
'htmlData1': {
|
|
|
handler(val) {
|
|
|
- this.roleTypeChang()
|
|
|
+ console.log(val,'val');
|
|
|
setTimeout(async() => {
|
|
|
- if(val.obj){
|
|
|
+ if(val.obj){
|
|
|
let obj=val.obj
|
|
|
console.log(obj,'obj');
|
|
|
this.signType=obj.type.toString()
|
|
@@ -192,9 +192,12 @@ export default {
|
|
|
this.isDeleted=obj.isDeleted
|
|
|
if(obj.type==2){
|
|
|
this.radio=obj.parentRoleId
|
|
|
+ await this.roleTypeChang()
|
|
|
this.roleInfo=obj.sigRoleId
|
|
|
-
|
|
|
}
|
|
|
+ }else{
|
|
|
+ this.radio=''
|
|
|
+ this.roleInfo=''
|
|
|
}
|
|
|
}, 1000);
|
|
|
|