社区管理,核酸采样
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<div class="value">
|
||||
<AiAreaPicker v-model="form.areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="form.areaName" style="color: #666" selectRoot>
|
||||
<span style="margin-left: 4px" v-if="areaName">{{ form.areaName }}</span>
|
||||
<span style="margin-left: 4px" v-if="form.areaName">{{ form.areaName }}</span>
|
||||
<span v-else class="color-999">请选择</span>
|
||||
<u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" />
|
||||
</AiAreaPicker>
|
||||
@@ -17,19 +17,19 @@
|
||||
<div class="label">
|
||||
<span class="tips">*</span>管控对象
|
||||
</div>
|
||||
<div class="value">{{form.name}}</div>
|
||||
<div class="value color-999">{{form.name}}</div>
|
||||
</div>
|
||||
<div class="item solid">
|
||||
<div class="label">
|
||||
<span class="tips">*</span>手机号
|
||||
</div>
|
||||
<div class="value">{{form.phone}}</div>
|
||||
<div class="value color-999">{{form.phone}}</div>
|
||||
</div>
|
||||
<div class="item solid">
|
||||
<div class="label">
|
||||
<span class="tips">*</span>身份证号
|
||||
</div>
|
||||
<div class="value">{{form.idNumber}}</div>
|
||||
<div class="value color-999">{{form.idNumber}}</div>
|
||||
</div>
|
||||
<div class="item solid">
|
||||
<div class="label">
|
||||
@@ -66,7 +66,7 @@
|
||||
<span class="tips">*</span>管控人
|
||||
</div>
|
||||
<div class="value">
|
||||
<u-input placeholder="请输入" input-align="right" height="32" maxlength="6" v-model="form.controllerUserName" />
|
||||
<u-input placeholder="请输入" input-align="right" height="32" maxlength="6" v-model="form.controllerUserName" :custom-style="{'font-size': '17px'}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item solid">
|
||||
@@ -74,7 +74,7 @@
|
||||
<span class="tips">*</span>联系方式
|
||||
</div>
|
||||
<div class="value">
|
||||
<u-input placeholder="请输入" type="number" input-align="right" height="32" maxlength="11" v-model="form.controllerUserPhone" />
|
||||
<u-input placeholder="请输入" type="number" input-align="right" height="32" maxlength="11" v-model="form.controllerUserPhone" :custom-style="{'font-size': '17px'}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
@@ -82,7 +82,9 @@
|
||||
<span class="tips"></span>管控内容
|
||||
</div>
|
||||
</div>
|
||||
<textarea placeholder="请输入详细描述信息" v-model="form.controllerContent"></textarea>
|
||||
<div class="item-textarea">
|
||||
<u-input v-model="form.controllerContent" type="textarea" placeholder="请输入详细描述信息" height="200" :custom-style="{'font-size': '17px'}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="info" style="padding-bottom: 24px;">
|
||||
<div class="item">
|
||||
@@ -97,7 +99,7 @@
|
||||
<div class="btn-height"></div>
|
||||
<div class="footer">
|
||||
<div class="cancel" @click="submit('2')">解除管理</div>
|
||||
<div class="confirm" @click="submit('')">保存</div>
|
||||
<div class="confirm" @click="submit(form.status)">保存</div>
|
||||
</div>
|
||||
<u-calendar v-model="showDateSelect" mode="range" min-year="2020" max-date="2050-12-31" @change="dateConfirm"></u-calendar>
|
||||
<u-select v-model="showDictSelect" :list="$dict.getDict(selectDictName)" label-name="dictName" value-name="dictValue" @confirm="dictConfirm"></u-select>
|
||||
@@ -165,7 +167,7 @@ export default {
|
||||
this.form.status = status
|
||||
this.form.id = this.id
|
||||
|
||||
this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal`, this.form).then((res) => {
|
||||
this.$http.post(`/app/appepidemicpreventioncommunitymanagement/troubleshooting`, this.form).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('提交成功')
|
||||
uni.$emit('updateDetail')
|
||||
@@ -180,6 +182,9 @@ export default {
|
||||
this.$http.post(`/app/appepidemicpreventioncommunitymanagement/queryDetailById?id=${this.id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.form = res.data
|
||||
if(this.form.homeStatus === null) {
|
||||
this.form.homeStatus = ''
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -207,6 +212,7 @@ export default {
|
||||
background-color: #F3F6F9;
|
||||
padding-top: 16px;
|
||||
.item {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
padding: 40px 0 40px 32px;
|
||||
@@ -234,16 +240,12 @@ export default {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 34px;
|
||||
color: #333;
|
||||
.color-999 {
|
||||
color: #999;
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
textarea {
|
||||
width: 100%;
|
||||
.color-999 {
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
::v-deep uni-textarea{
|
||||
.item-textarea {
|
||||
width: calc(100% - 32px);
|
||||
}
|
||||
.info {
|
||||
|
||||
Reference in New Issue
Block a user