From bb7ae31d7066a838bd177bf21c20f13ef044950b Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 27 十二月 2023 17:45:45 +0800 Subject: [PATCH] 编写后台任务模块逻辑,完成80% --- src/views/fysp/evaluation/components/precheck/CompCheckArea.vue | 64 ++++++++++++++++---------------- 1 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/views/fysp/evaluation/components/precheck/CompCheckArea.vue b/src/views/fysp/evaluation/components/precheck/CompCheckArea.vue index 171acd3..3bdeeb2 100644 --- a/src/views/fysp/evaluation/components/precheck/CompCheckArea.vue +++ b/src/views/fysp/evaluation/components/precheck/CompCheckArea.vue @@ -4,38 +4,35 @@ <div><el-text tag="b" size="large">閫夋嫨璇勪及鑼冨洿</el-text></div> <el-text size="small" type="info">鍖呮嫭鍖哄幙銆佸満鏅被鍨嬩互鍙婃湀浠�</el-text> </template> - <FYForm - ref="formRef" - :rules="evaConditionRules" - :showButtons="false" - @submit="nextStep" - > - <template #form-item="{ formObj }"> - <CompQuickSet @quick-set="setOptions"></CompQuickSet> - <!-- 鍖哄幙 --> - <FYOptionLocation - :allOption="false" - :level="3" - :initValue="false" - :checkStrictly="false" - v-model:value="formObj._locations" - ></FYOptionLocation> - <!-- 鍦烘櫙绫诲瀷 --> - <FYOptionScene - :allOption="false" - :initValue="false" - :type="2" - v-model:value="formObj._scenetype" - ></FYOptionScene> - <!-- 鏃堕棿 --> - <FYOptionTime - prop="time" - :initValue="true" - type="month" - v-model:value="formObj.time" - ></FYOptionTime> - </template> - </FYForm> + <FormCol> + <FYForm ref="formRef" :rules="evaConditionRules" :showButtons="false" @submit="nextStep"> + <template #form-item="{ formObj }"> + <CompQuickSet @quick-set="setOptions"></CompQuickSet> + <!-- 鍖哄幙 --> + <FYOptionLocation + :allOption="false" + :level="3" + :initValue="false" + :checkStrictly="false" + v-model:value="formObj._locations" + ></FYOptionLocation> + <!-- 鍦烘櫙绫诲瀷 --> + <FYOptionScene + :allOption="false" + :initValue="false" + :type="2" + v-model:value="formObj._scenetype" + ></FYOptionScene> + <!-- 鏃堕棿 --> + <FYOptionTime + prop="time" + :initValue="true" + type="month" + v-model:value="formObj.time" + ></FYOptionTime> + </template> + </FYForm> + </FormCol> <template #footer> <el-row justify="space-around"> <el-button type="primary" size="default" :loading="loading" @click="submit" @@ -83,6 +80,9 @@ }, // 璺宠浆涓嬩竴姝� nextStep() { + // todo: 妫�鏌ユ槸鍚﹀凡鏈夎瘎浼拌褰曪紝鎻愮ず鐢ㄦ埛鍙洿鎺ヨ烦杞煡鐪嬫垨缁х画涓嬩竴姝� + + this.loading = true; return new Promise((reslove, reject) => { setTimeout(() => { -- Gitblit v1.9.3