This commit is contained in:
liuye
2022-03-29 09:35:18 +08:00
3 changed files with 21 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
</div> </div>
<div class="search-box"> <div class="search-box">
<div class="area-select"> <div class="area-select">
<AiAreaPicker v-model="areaId" :areaId="user.areaId" :name.sync="areaName" @select="areaSelect"> <AiAreaPicker v-model="areaId" :areaId="user.areaId" :name.sync="areaName" @select="areaSelect" select-root>
<div style="display: flex;"> <div style="display: flex;">
<u-icon name="map-fill" size="18px" color="#FFF" style="width:18px;display:inline-block;margin-top: 18px"></u-icon> <u-icon name="map-fill" size="18px" color="#FFF" style="width:18px;display:inline-block;margin-top: 18px"></u-icon>
<span v-if="areaName" style="color:#FFF;fontSize: 14px;" class="areaName">{{ areaName }}</span> <span v-if="areaName" style="color:#FFF;fontSize: 14px;" class="areaName">{{ areaName }}</span>

View File

@@ -122,12 +122,16 @@
</div> </div>
</div> </div>
</div> </div>
<div style="height: 56px"></div> <div style="height: 56px"></div>
<div class="btn" @click="toResult" v-if="(checkType == 1 || checkType == 2) && tabIndex==0 "> <div class="btn" @click="toResult" v-if="checkType == 1 && tabIndex==0 && !data.visitUserName">
<span v-if="data.status==0 || data.status==1">走访核实</span> <span v-if="(data.status==0 || data.status==1)">走访核实</span>
<span v-else>处理结果</span> <!-- <span v-if="(data.status==2 || data.status==3)">处理结果</span> -->
</div>
<div class="btn" @click="toResult" v-if="checkType == 2 && tabIndex==0" !data.auditUserName>
<!-- <span v-if="(data.status==0 || data.status==1)">走访核实</span> -->
<span v-if="(data.status==2 || data.status==3)">处理结果</span>
</div> </div>
</div> </div>
@@ -153,7 +157,11 @@ export default {
this.tabIndex = o.tabIndex; this.tabIndex = o.tabIndex;
this.getDetail() this.getDetail()
this.getCheckType() this.getCheckType()
uni.$on('update',()=>{
this.getDetail()
}) })
})
}, },
methods: { methods: {
previewImage(images, img) { previewImage(images, img) {
@@ -176,7 +184,7 @@ export default {
getCheckType() { getCheckType() {
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser',null,{ this.$http.post('/app/appgirdmemberinfo/checkLogOnUser',null,{
params: { params: {
corpId: this.user.id girdId: this.user.id
} }
}).then((res) => { }).then((res) => {
if(res.code == 0) { if(res.code == 0) {

View File

@@ -57,6 +57,7 @@ export default {
}, },
methods: { methods: {
submit() { submit() {
if(!this.operation) { if(!this.operation) {
return this.$u.toast('请选择处理意见') return this.$u.toast('请选择处理意见')
} }
@@ -89,6 +90,11 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.result { .result {
padding-bottom: 112px;
::v-deep .ai-uploader .fileList .default {
width: 160px;
height: 160px;
}
.type { .type {
height: 112px; height: 112px;
line-height: 112px; line-height: 112px;