|
@@ -267,11 +267,11 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
const rootConfig = this.getRootConfig()
|
|
|
- console.error(rootConfig, 'rootConfig')
|
|
|
+ // console.error(rootConfig, 'rootConfig')
|
|
|
fn(rootConfig)
|
|
|
- console.warn(validNodeList, 'validNodeList')
|
|
|
- // 只允许选择审核人
|
|
|
- this.validNodeList = validNodeList.filter(v => v.type === 1)
|
|
|
+ // console.warn(validNodeList, 'validNodeList')
|
|
|
+ // 只允许选择 0:发起人,1:审核人
|
|
|
+ this.validNodeList = validNodeList.filter(v => [0, 1].includes(v.type))
|
|
|
},
|
|
|
show() {
|
|
|
if (this.disabled) return
|