|
|
|
@ -345,9 +345,9 @@
|
|
|
|
:placeholder="$t('placeholder.name')"
|
|
|
|
:placeholder="$t('placeholder.name')"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item :label="$t('label.createat')" prop="createat">
|
|
|
|
<el-form-item :label="$t('label.createat')" prop="createdat">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="quickForm.createat"
|
|
|
|
v-model="quickForm.createdat"
|
|
|
|
type="datetime"
|
|
|
|
type="datetime"
|
|
|
|
:placeholder="$t('placeholder.createat')"
|
|
|
|
:placeholder="$t('placeholder.createat')"
|
|
|
|
value-format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
value-format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
@ -594,7 +594,7 @@ const quickForm = reactive({
|
|
|
|
colorTag: "#667eea",
|
|
|
|
colorTag: "#667eea",
|
|
|
|
description: "",
|
|
|
|
description: "",
|
|
|
|
submitter: "",
|
|
|
|
submitter: "",
|
|
|
|
createat: "",
|
|
|
|
createdat: "",
|
|
|
|
files: [],
|
|
|
|
files: [],
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// 生成当前时间(带时分秒)作为提交时间默认值
|
|
|
|
// 生成当前时间(带时分秒)作为提交时间默认值
|
|
|
|
@ -792,7 +792,7 @@ const resetQuickForm = () => {
|
|
|
|
colorTag: "#667eea",
|
|
|
|
colorTag: "#667eea",
|
|
|
|
description: "",
|
|
|
|
description: "",
|
|
|
|
submitter: "",
|
|
|
|
submitter: "",
|
|
|
|
createat: "",
|
|
|
|
createdat: "",
|
|
|
|
files: [],
|
|
|
|
files: [],
|
|
|
|
});
|
|
|
|
});
|
|
|
|
quickFormRef.value?.clearValidate();
|
|
|
|
quickFormRef.value?.clearValidate();
|
|
|
|
@ -800,7 +800,7 @@ const resetQuickForm = () => {
|
|
|
|
|
|
|
|
|
|
|
|
const openQuick = () => {
|
|
|
|
const openQuick = () => {
|
|
|
|
// 打开弹窗时自动填入当前时间作为提交时间默认值
|
|
|
|
// 打开弹窗时自动填入当前时间作为提交时间默认值
|
|
|
|
quickForm.createat = nowDatetime();
|
|
|
|
quickForm.createdat = nowDatetime();
|
|
|
|
quickVisible.value = true;
|
|
|
|
quickVisible.value = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|