|
@@ -46,7 +46,7 @@
|
|
|
签章类型:
|
|
|
</el-col>
|
|
|
<el-col :span="18">
|
|
|
- <el-select v-model="signInfo" placeholder="请选择签章类型" @change="signInfoChang()">
|
|
|
+ <el-select v-model="signInfo" placeholder="请选择签章类型" @change="signInfoChang">
|
|
|
<el-option v-for="item in options" :key="item.dictKey" :value="item.dictKey" :label="item.dictValue"></el-option>
|
|
|
</el-select>
|
|
|
</el-col>
|
|
@@ -140,6 +140,7 @@ export default {
|
|
|
options: [],
|
|
|
roleInfo: '',
|
|
|
signInfo: '',
|
|
|
+ signInfoarr:[],
|
|
|
signType: '1', // 证书类型
|
|
|
pyzbx: 0.0,
|
|
|
pyzby: 0.0 ,
|
|
@@ -187,8 +188,11 @@ export default {
|
|
|
},
|
|
|
//签章类型改变e
|
|
|
signInfoChang(e){
|
|
|
- console.log('改变',e);
|
|
|
- console.log(this.options,'op');
|
|
|
+ this.signInfoarr= this.options.filter(item=>{
|
|
|
+ if(item.dictKey===e){
|
|
|
+ return item
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
async addRoleInfo(){
|
|
|
var isadd = true;
|
|
@@ -224,8 +228,10 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- data.sigRoleId = this.signInfo.dictKey;
|
|
|
- data.sigRoleName = this.signInfo.dictValue;
|
|
|
+ // data.sigRoleId = this.signInfo.dictKey;
|
|
|
+ // data.sigRoleName = this.signInfo.dictValue;
|
|
|
+ data.sigRoleId = this.signInfoarr[0].dictKey;
|
|
|
+ data.sigRoleName = this.signInfoarr[0].dictValue;
|
|
|
data.type=6;
|
|
|
}
|
|
|
|