步骤条

This commit is contained in:
shijingjing
2022-04-25 09:41:48 +08:00
parent 036526071c
commit afef5f372f
2 changed files with 21 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
<template>
<div class="add">
<div class="steps">
<u-steps :list="numList" :current="0" mode="number"></u-steps>
</div>
<div class="form-group">
<div class="form-item">
<div class="form-item__wrapper">
@@ -280,6 +283,11 @@ import {mapState} from 'vuex'
export default {
data() {
return {
numList: [
{name: '基本信息'},
{name: '情况描述'},
{name: '等待审核'},
],
form: {
name: '',
objectType: '',
@@ -312,7 +320,7 @@ export default {
$areaId: '',
isEdit: false,
id: '',
girdInfo: {}
girdInfo: {},
}
},
computed: {
@@ -444,6 +452,14 @@ export default {
.add {
padding-bottom: 120px;
.steps {
height: 176px;
::v-deep .u-steps {
box-sizing: border-box;
padding-top: 40px;
}
}
.aiArea {
display: flex;
align-items: center;

View File

@@ -63,10 +63,10 @@ export default {
size: 10,
tabList: [
{
name: '监测对象',
name: '已登记监测对象',
},
{
name: '普通居民',
name: '已消除风险对象',
},
],
currentTabs: 0,
@@ -100,7 +100,8 @@ export default {
if (res.code == 0) {
if (res.data.checkType != '0') {
this.isAdmin = true
this.checkType = res.data.checkType
// this.checkType = res.data.checkType
this.checkType = 1
this.getList()
}
}