From 948bcc138c7e5da70dc7a0a8d4230b6110ca1b34 Mon Sep 17 00:00:00 2001 From: "WIN-IDGBLFHC1K6\\Administrator" <787952492@qq.com> Date: Wed, 29 Jun 2022 16:57:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=A1=B5=E9=9D=A2=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/farm/project/index.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/farm/project/index.vue b/src/views/farm/project/index.vue index c220452..97654ad 100644 --- a/src/views/farm/project/index.vue +++ b/src/views/farm/project/index.vue @@ -75,8 +75,8 @@ <el-table-column label="项目状态" align="center" prop="state" > <template slot-scope="scope"> <el-button type="success" v-if="scope.row.state == 'PLAN'">计划中</el-button> - <el-button type="success" v-if="scope.row.state == 'READY'">进行中</el-button> - <el-button type="success" v-if="scope.row.state == 'STARTED'">已完成</el-button> + <el-button type="success" v-if="scope.row.state == 'STARTING'">进行中</el-button> + <el-button type="success" v-if="scope.row.state == 'FINISH'">已完成</el-button> </template> </el-table-column> <el-table-column label="项目名" align="center" prop="name" /> @@ -172,6 +172,14 @@ <el-form-item label="优先级" prop="weight"> <el-input v-model="form.weight" placeholder="请输入数字(1第一优先,99最后优先)" /> </el-form-item> + <el-form-item label="唯一占用:" prop="state"> + <el-radio-group v-model="form.state"> + <el-radio :label="0">计划中</el-radio> + <el-radio :label="1">进行中</el-radio> + <el-radio :label="2">已完成</el-radio> + </el-radio-group> + </el-form-item> + </el-form> <div slot="footer" class="dialog-footer"> <el-button type="primary" @click="submitForm">确 定</el-button>