From eeef5d4039d2b3fee6854ddc2789aa23232b2cfb Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期三, 27 九月 2023 17:24:10 +0800 Subject: [PATCH] 登陆页换了背景,加了风险排名 --- src/sfc/ExceptionType.vue | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/sfc/ExceptionType.vue b/src/sfc/ExceptionType.vue index c11f5d4..bc94076 100644 --- a/src/sfc/ExceptionType.vue +++ b/src/sfc/ExceptionType.vue @@ -32,8 +32,14 @@ // this.exceptionType = response.data.data response.data.data.forEach(item => { this.exceptionType.push(item.exceptionType) + }); - console.log(this.exceptionType); + let a = ['0','1','2','3','4','5','6','7'] + a.forEach(item=>{ + if(this.exceptionType.indexOf(item) == -1){ + this.exceptionType.push(item) + } + }) }) }, handleCheckAllChange (val) { @@ -53,7 +59,7 @@ <template> <div class="excption"> - <span class="exception-text">寮傚父绫诲瀷锛�</span> + <h1 class="exception-text">寮傚父绫诲瀷锛�</h1> <el-checkbox v-model="checkAll" :indeterminate="isIndeterminate" @@ -64,6 +70,7 @@ <el-checkbox-group v-model="checkedList" @change="handleCheckedExceptionChange"> <el-checkbox :label="item" v-for="item in exceptionType" :key="item"> <template #default> + <!-- <div style="display: flex; flex-flow: row wrap;"> --> <span v-if="item == '0'">鏂數鎴栨柇缃�</span> <span v-else-if="item == '1'">鏁版嵁瓒呬綆</span> <span v-else-if="item == '2'">瓒呮爣</span> @@ -72,6 +79,7 @@ <span v-else-if="item == '5'">涓磋繎瓒呮爣寮傚父</span> <span v-else-if="item == '6'">鍗曟棩瓒呮爣娆℃暟涓寸晫寮傚父</span> <span v-else-if="item == '7'">婊戝姩骞冲潎鍊肩獊鍙�</span> + <!-- </div> --> </template> </el-checkbox> </el-checkbox-group> @@ -83,9 +91,11 @@ display: flex; } .exception-text { - font-weight: bold; + // font-weight: bold; + font-size: 14px; + color: #333333; margin-top: 5px; - margin-right: 7px; + margin-right: 7px; } .el-checkbox-group { margin-top: 5px; -- Gitblit v1.9.3