From 023ea35893ed047887a43555509335eec7a8b161 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 09 一月 2024 17:28:49 +0800 Subject: [PATCH] 1. 编写评估任务模块中 --- src/views/fysp/evaluation/components/CompQuickSet.vue | 53 +++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 43 insertions(+), 10 deletions(-) diff --git a/src/views/fysp/evaluation/components/CompQuickSet.vue b/src/views/fysp/evaluation/components/CompQuickSet.vue index 23a99a8..2cd420b 100644 --- a/src/views/fysp/evaluation/components/CompQuickSet.vue +++ b/src/views/fysp/evaluation/components/CompQuickSet.vue @@ -1,10 +1,19 @@ <template> - <el-row> - <span>蹇嵎閫夋嫨</span> - <el-button v-for="(v, i) in quickSetting" :key="i" type="primary" @click="quickSet(v)">{{ + <el-form-item label="蹇嵎閫夋嫨"> + <el-space> + <el-button v-for="(v, i) in quickSetting" :key="i" type="primary" size="small" @click="quickSet(v)">{{ v.name }}</el-button> - </el-row> + </el-space> + </el-form-item> + <!-- <el-row class="row"> + <el-space> + <el-text>蹇嵎閫夋嫨</el-text> + <el-button v-for="(v, i) in quickSetting" :key="i" type="primary" size="small" @click="quickSet(v)">{{ + v.name + }}</el-button> + </el-space> + </el-row> --> </template> <script> export default { @@ -21,9 +30,10 @@ cCode: '3100', cName: '涓婃捣甯�', dCode: '310106', - dName: '闈欏畨鍖�' + dName: '闈欏畨鍖�', }, - scenetype: { label: '宸ュ湴', value: '1' } + scenetype: { label: '宸ュ湴', value: '1' }, + sourcetype: false, }, { name: '寰愭眹椁愰ギ', @@ -35,7 +45,8 @@ dCode: '310104', dName: '寰愭眹鍖�' }, - scenetype: { label: '椁愰ギ', value: '5' } + scenetype: { label: '椁愰ギ', value: '5' }, + sourcetype: false, }, { name: '閲戝北宸ュ湴', @@ -47,7 +58,8 @@ dCode: '310116', dName: '閲戝北鍖�' }, - scenetype: { label: '宸ュ湴', value: '1' } + scenetype: { label: '宸ュ湴', value: '1' }, + sourcetype: false, }, { name: '閲戝北鐮佸ご', @@ -59,7 +71,8 @@ dCode: '310116', dName: '閲戝北鍖�' }, - scenetype: { label: '鐮佸ご', value: '2' } + scenetype: { label: '鐮佸ご', value: '2' }, + sourcetype: false, }, { name: '閲戝北鎼呮媽绔�', @@ -71,7 +84,21 @@ dCode: '310116', dName: '閲戝北鍖�' }, - scenetype: { label: '鎼呮媽绔�', value: '3' } + scenetype: { label: '鎼呮媽绔�', value: '3' }, + sourcetype: false, + }, + { + name: '寰愭眹姹戒慨', + locations: { + pCode: '31', + pName: '涓婃捣甯�', + cCode: '3100', + cName: '涓婃捣甯�', + dCode: '310104', + dName: '寰愭眹鍖�' + }, + scenetype: { label: '姹戒慨', value: '7' }, + sourcetype: true, } ] } @@ -92,3 +119,9 @@ } } </script> +<style scoped> +.row { + padding: 8px 0px; + /* background-color: antiquewhite; */ +} +</style> -- Gitblit v1.9.3