Browse Source

修改权限from表单

dev
long 2 years ago
parent
commit
e047da18c5
  1. 4
      src/views/activiti/ModelList.vue
  2. 2
      src/views/activiti/form/ProcessPermissionAuthorizationForm.vue
  3. 12
      src/views/activiti/form/ProcessUdgetPlanForm.vue

4
src/views/activiti/ModelList.vue

@ -163,7 +163,7 @@
dataIndex: 'name',
scopedSlots: { customRender: 'logContent' },
},
{
/* {
title: '模型key', width:150,
dataIndex: 'key',
align:"center",
@ -173,7 +173,7 @@
dataIndex: 'revision',
align:"center",
scopedSlots: { customRender: 'revision' },
},
},*/
{
title: '备注描述', width:150,
dataIndex: 'metaInfo',

2
src/views/activiti/form/ProcessPermissionAuthorizationForm.vue

@ -30,7 +30,7 @@
</a-col>
<a-col :span="12">
<a-form-item label="授权人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['authorizationPerson']" disabled/>
<j-select-user-by-dep v-decorator="['authorizationPerson']"/>
</a-form-item>
</a-col>
<a-col :span="12">

12
src/views/activiti/form/ProcessUdgetPlanForm.vue

@ -56,7 +56,12 @@
:show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%"/>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="序号" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input-number v-decorator="['sort',validatorRules.sort]" placeholder="请输入序号"
style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="文件" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true"></j-upload>
@ -532,7 +537,8 @@
// 'blur'
materialType: { rules: [{ required: true, message: '请选择物资类型!' }] },
needTime: { rules: [{ required: true, message: '请选择需求时间!' }] },
processPlan: { rules: [{ required: true, message: '请选择流程计划!' }] }
processPlan: { rules: [{ required: true, message: '请选择流程计划!' }] },
sort: { rules: [{ required: true, message: '请输入序号!' }] }
},
isBu: undefined,
planType: ''
@ -1230,7 +1236,7 @@
}
console.log(this.data, '数据回显')
let fieldval = pick(this.data, 'id', 'company', 'createTime', 'departId', 'createBy', 'materialType', 'processPlan', 'needTime', 'orderNumber', 'fileId', 'opinion')
let fieldval = pick(this.data, 'id','planType', 'company', 'createTime', 'departId', 'createBy', 'materialType', 'processPlan', 'needTime','sort', 'orderNumber', 'fileId', 'opinion')
this.$nextTick(() => {
this.form.setFieldsValue(fieldval)
})

Loading…
Cancel
Save