dayjs().format("YYYY-MM-DD HH:mm:ss");
const MAX_FILE_SIZE = 50 * 1024 * 1024;
// 粘贴到富文本的图片大小上限(base64 内联存储,避免 HTML 过大)
const MAX_PASTE_IMAGE_SIZE = 5 * 1024 * 1024;
@@ -747,16 +787,20 @@ const resetQuickForm = () => {
title: "",
serviceType: "",
priority: "中",
+ feedbackchannel: "",
department: "",
colorTag: "#667eea",
description: "",
submitter: "",
+ createat: "",
files: [],
});
quickFormRef.value?.clearValidate();
};
const openQuick = () => {
+ // 打开弹窗时自动填入当前时间作为提交时间默认值
+ quickForm.createat = nowDatetime();
quickVisible.value = true;
};
@@ -849,6 +893,21 @@ onBeforeUnmount(() => {
.title-row .el-input {
flex: 1;
}
+// 优先级 + 反馈渠道同一行展示
+.inline-row {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 0 24px;
+ width: 100%;
+}
+.inline-row .inline-item {
+ margin-bottom: 0 !important;
+}
+.inline-row .inline-item :deep(.el-form-item__content) {
+ display: flex;
+ align-items: center;
+}
.color-tag-picker {
position: relative;
flex-shrink: 0;