!112 refactor(bg): 年份字段从字典组件替换为年份选择器
* refactor(bg): 年份字段从字典组件替换为年份选择器 * feat(bpm): 待办/已办/待阅/已阅弹窗标题改为业务标题 * feat(bpmform): 反馈新增时计划完成目标/日期必填可编辑,编辑时禁用并提示 * style(bpmform): 统一表单标签宽度和对齐,清理调试代码 * feat(bg): 再次发起督办弹窗标题显示中文数字督办次数 * style(bpmform): 新增反馈按钮添加悬浮提示"可以多次新增反馈"
This commit is contained in:
@@ -29,12 +29,12 @@
|
||||
</div>
|
||||
<a-row class="base-info-row" :gutter="[12, 4]">
|
||||
<a-col :xs="24" :md="12">
|
||||
<a-form-item label="事项名称" name="title" :labelCol="compactLabelCol" :wrapperCol="compactWrapperCol">
|
||||
<a-form-item label="事项名称" name="title">
|
||||
<a-input v-model:value="mainForm.title" :disabled="mainDisabled" allow-clear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xs="24" :md="12">
|
||||
<a-form-item label="会议决议" name="content" :labelCol="compactLabelCol" :wrapperCol="compactWrapperCol">
|
||||
<a-form-item label="会议决议" name="content">
|
||||
<a-textarea v-model:value="mainForm.content" :auto-size="{ minRows: 1, maxRows: 7 }" :disabled="mainDisabled" allow-clear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -42,11 +42,13 @@
|
||||
<a-divider />
|
||||
<a-col :span="12">
|
||||
<a-form-item label="年份" name="year">
|
||||
<j-dict-select-tag
|
||||
<a-date-picker
|
||||
v-model:value="mainForm.year"
|
||||
picker="year"
|
||||
value-format="YYYY"
|
||||
:disabled="mainDisabled"
|
||||
dictCode="super_year"
|
||||
placeholder="请选择年份"
|
||||
style="width: 100%"
|
||||
allow-clear
|
||||
/>
|
||||
</a-form-item>
|
||||
@@ -170,10 +172,12 @@
|
||||
<div class="feedback-header section-toolbar">
|
||||
<div class="section-title">办理情况</div>
|
||||
<a-space class="section-actions">
|
||||
<a-button v-if="showAddFeedback" class="section-action-button feedback-add-button" type="primary" @click="openFeedbackModal">
|
||||
<Icon icon="ant-design:plus-outlined" />
|
||||
新增反馈
|
||||
</a-button>
|
||||
<a-tooltip v-if="showAddFeedback" title="可以多次新增反馈">
|
||||
<a-button class="section-action-button feedback-add-button" type="primary" @click="openFeedbackModal">
|
||||
<Icon icon="ant-design:plus-outlined" />
|
||||
新增反馈
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
<a-button
|
||||
class="section-action-button"
|
||||
:type="showFeedbackDetail ? 'default' : 'link'"
|
||||
@@ -296,7 +300,7 @@
|
||||
SUOBAN_DEPT_ID,
|
||||
MEASURE_RES_LEADER_ROLE_ID,
|
||||
} from '/@/constant/supervision';
|
||||
const { isDisabledAuth, hasPermission, initBpmFormData } = usePermission();
|
||||
const { initBpmFormData } = usePermission();
|
||||
|
||||
const props = defineProps({
|
||||
formDisabled: { type: Boolean, default: false },
|
||||
@@ -306,8 +310,6 @@
|
||||
});
|
||||
|
||||
initBpmFormData(props.formData);
|
||||
console.log('@props.formData', props.formData);
|
||||
console.log('@props', props);
|
||||
|
||||
const emit = defineEmits(['ok', 'success', 'claimSuccess']);
|
||||
const { createMessage } = useMessage();
|
||||
@@ -317,9 +319,6 @@
|
||||
const wrapperCol = { xs: { span: 24 }, sm: { span: 17 } };
|
||||
const wideLabelCol = { xs: { span: 24 }, sm: { span: 3 } };
|
||||
const wideWrapperCol = { xs: { span: 24 }, sm: { span: 21 } };
|
||||
const compactLabelCol = { xs: { span: 24 }, sm: { span: 5 } };
|
||||
const compactWrapperCol = { xs: { span: 24 }, sm: { span: 19 } };
|
||||
const wideActionWrapperCol = { xs: { span: 24 }, sm: { span: 21, offset: 3 } };
|
||||
|
||||
const feedbackModalRef = ref();
|
||||
const loading = ref(false);
|
||||
|
||||
Reference in New Issue
Block a user