Commit daf1dbd8 by yangchen

审批弹框组件

parent 4be9c43f
import approvalUserControl from '../../control/approvalOpinionControl.vue'
export default {
execute: function (bill, param) {
/* 审批组件值发生改变时 会触发事件on-change */
let title = '审批意见'
GMS.$hideContainer.$Modal.confirm({
width: 700,
top:100,
render: (h) => {
return h(
approvalUserControl,
{
props: {
title,
},
on: {
'on-change': (val) => {
console.log('on-change',val)
}
}
}
)
},
onOk: () => {
console.log('OK')
},
onCancel: () => {
console.log('cancel')
}
});
},
approvalLogical: function (bill, param) {
},
executeApproval: function(bill, param) {
},
isApproverEqulloginer: function (bill, param) {
}
}
\ No newline at end of file
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