架构化审批表单控制权限,添加xispeak审批节点的控制权限说明,修改反馈表单查看格式,修改树形表单实现正确的折叠效果,实现反馈表单的必填字段校验
This commit is contained in:
@@ -68,17 +68,17 @@
|
||||
<!-- <a-textarea v-model:value="formData.completionPlan" :rows="3" allow-clear />-->
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
<a-col :span="12">
|
||||
<a-col v-if="showJiJianFields" :span="12">
|
||||
<a-form-item label="检查情况(纪检)" name="checkStatus">
|
||||
<a-input v-model:value="formData.checkStatus" placeholder="填写监督检查情况,成果是否完整,符合,时间是否按时等" allow-clear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-col v-if="showJiJianFields" :span="24">
|
||||
<a-form-item label="监督意见(纪检)" name="inspectionAdvice" :labelCol="wideLabelCol" :wrapperCol="wideWrapperCol">
|
||||
<a-textarea v-model:value="formData.inspectionAdvice" placeholder="是否通过审核" :rows="3" allow-clear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-col v-if="showJiJianFields" :span="12">
|
||||
<a-form-item label="措施数量(纪检)" name="measureNum">
|
||||
<a-input-number v-model:value="formData.measureNum" placeholder="填写本条举措设计的措施数量" style="width: 100%" allow-clear />
|
||||
</a-form-item>
|
||||
@@ -112,6 +112,9 @@
|
||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||
|
||||
const emit = defineEmits(['success']);
|
||||
const props = defineProps({
|
||||
showJiJianFields: { type: Boolean, default: false },
|
||||
});
|
||||
const { createMessage } = useMessage();
|
||||
const userStore = useUserStore();
|
||||
|
||||
@@ -155,7 +158,8 @@
|
||||
});
|
||||
|
||||
const formRules = {
|
||||
implStatus: [{ required: true, message: '请输入落实情况' }],
|
||||
progress: [{ required: true, message: '请输入进展情况' }],
|
||||
completionStatus: [{ required: true, message: '请选择完成状态' }],
|
||||
};
|
||||
|
||||
function resetForm(mainId = '', bpmProcessId = '') {
|
||||
@@ -188,7 +192,6 @@
|
||||
formData[key] = record[key];
|
||||
}
|
||||
});
|
||||
uploadKey.value += 1;
|
||||
visible.value = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user