Browse Source

修改预览表单bug

dev
long 2 years ago
parent
commit
c3c0aeedf1
  1. 7
      src/views/activiti/ProcessModelList.vue

7
src/views/activiti/ProcessModelList.vue

@ -158,7 +158,7 @@
</a-form-item>
<a-form-item :label-col="labelCol" :wrapper-col="wrapperCol" label="流程分类">
<j-dict-select-tag type="list" v-decorator="['categoryId',{initialValue:editObj.categoryId, rules: [{ required: true, message: '不能为空' }] }]" :trigger-change="true" dictCode="bpm_process_type"
placeholder="请选择流程分类" @change="elect" />
placeholder="请选择流程分类" />
</a-form-item>
<!-- <a-form-item :label-col="labelCol" :wrapper-col="wrapperCol" label="流程类目(app使用)" >
<j-tree-dict placeholder="请选择流程类目" parentCode="A01"
@ -176,7 +176,7 @@
</span>
</a-select-option>
</a-select>
<a href="javascrip:void(0)" @click="viewForm()">预览表单</a>
<a @click="viewForm()">预览表单</a>
</a-form-item>
<!-- <a-form-item :label-col="labelCol" :wrapper-col="wrapperCol" label="关联打印报表" >
@ -681,7 +681,8 @@
})
},
viewForm(routeName) {
if (!routeName) routeName = this.editObj.routeName
console.log(this.model,"89897897974987498")
if (!routeName) routeName = this.model.routeName
if (!routeName) {
this.$message.warning(
'请先选择表单!'

Loading…
Cancel
Save