Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -44,8 +44,8 @@
|
|||||||
<image src="./components/img/user-icon.png" />
|
<image src="./components/img/user-icon.png" />
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="right-top">
|
<div class="right-top">
|
||||||
<h2>{{ item.nickName }}</h2>
|
<h2 v-if="item.userType === 'wxuser'">{{ item.nickName }}</h2>
|
||||||
<!-- <span>{{ $dict.getLabel('wxUserType', item.userType) }}</span> -->
|
<AiOpenData v-else type="userName" :openid="item.nickName"/>
|
||||||
</div>
|
</div>
|
||||||
<p>{{ item.commitTime }}</p>
|
<p>{{ item.commitTime }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
<div class="btn">保存</div>
|
<div class="btn">保存</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<u-picker mode="time" v-model="dateShow" :params="deteParams" start-year="2010" @confirm="dateConfirm">请选择
|
<u-picker mode="time" v-model="dateShow" :params="deteParams" start-year="1900" @confirm="dateConfirm">请选择
|
||||||
</u-picker>
|
</u-picker>
|
||||||
<u-select v-model="showSelect" :list="selectList" label-name="dictName" value-name="dictValue"
|
<u-select v-model="showSelect" :list="selectList" label-name="dictName" value-name="dictValue"
|
||||||
@confirm="confirmSelect"/>
|
@confirm="confirmSelect"/>
|
||||||
@@ -175,6 +175,7 @@ export default {
|
|||||||
this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => {
|
this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
|
uni.$emit('changeHouseInfo')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateBack({})
|
uni.navigateBack({})
|
||||||
}, 600)
|
}, 600)
|
||||||
|
|||||||
@@ -150,7 +150,6 @@ export default {
|
|||||||
params: {
|
params: {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 1000000,
|
size: 1000000,
|
||||||
areaId: this.user.areaId
|
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
@@ -299,7 +298,6 @@ export default {
|
|||||||
params: {
|
params: {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 20,
|
size: 20,
|
||||||
areaId: this.user.areaId,
|
|
||||||
name: this.name
|
name: this.name
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
@@ -168,6 +168,9 @@ export default {
|
|||||||
this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
|
this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
|
||||||
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType')
|
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType')
|
||||||
this.getBuilding()
|
this.getBuilding()
|
||||||
|
uni.$on('changeHouseInfo', res => {
|
||||||
|
this.getHouseDetail(this.houseInfo.id)
|
||||||
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getSelectList(communityId) {
|
getSelectList(communityId) {
|
||||||
|
|||||||
@@ -16,9 +16,7 @@
|
|||||||
<u-input v-model="forms.content" :placeholder="status == 2 ? '请写下你的办结意见…' : '请写下你的办理意见...'" type="textarea" auto-height height="100" maxlength="500" />
|
<u-input v-model="forms.content" :placeholder="status == 2 ? '请写下你的办结意见…' : '请写下你的办理意见...'" type="textarea" auto-height height="100" maxlength="500" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
<u-form-item>
|
<div class="limit">{{ forms.content.length }}/200</div>
|
||||||
<span class="limit">{{ forms.content.length }}/200</span>
|
|
||||||
</u-form-item>
|
|
||||||
|
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
|
|
||||||
@@ -209,10 +207,13 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.limit {
|
.limit {
|
||||||
position: fixed;
|
text-align: right !important;
|
||||||
right: 44px;
|
font-size: 16px;
|
||||||
font-size: 15px;
|
background: #FFFFFF;
|
||||||
}
|
padding-right: 44px;
|
||||||
|
height: 60px;
|
||||||
|
line-height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
@@ -23,7 +23,8 @@
|
|||||||
<span>(最多9张)</span>
|
<span>(最多9张)</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-item__right">
|
<div class="form-item__right">
|
||||||
<AiUploader :def.sync="form.files" :limit="9" action="/admin/file/add2"></AiUploader>
|
<!-- <AiUploader :def.sync="form.files" :limit="9" action="/admin/file/add2"></AiUploader> -->
|
||||||
|
<AiUploader :def.sync="form.files" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -110,7 +111,8 @@
|
|||||||
<span>(最多9张)</span>
|
<span>(最多9张)</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-item__right">
|
<div class="form-item__right">
|
||||||
<AiUploader :def.sync="form.resultFiles" :limit="9" action="/admin/file/add2"></AiUploader>
|
<!-- <AiUploader :def.sync="form.resultFiles" :limit="9" action="/admin/file/add2"></AiUploader> -->
|
||||||
|
<AiUploader :def.sync="forms.resultFiles" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -282,8 +284,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.limit {
|
.limit {
|
||||||
position: fixed;
|
text-align: right;
|
||||||
right: 44px;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,18 +26,22 @@
|
|||||||
<div v-if="form.girdMemberManageList && form.girdMemberManageList.length">
|
<div v-if="form.girdMemberManageList && form.girdMemberManageList.length">
|
||||||
<div class="info-flex" v-for="(item, index) in form.girdMemberManageList" :key="index">
|
<div class="info-flex" v-for="(item, index) in form.girdMemberManageList" :key="index">
|
||||||
<span class="label">网格长</span>
|
<span class="label">网格长</span>
|
||||||
<span class="value">{{ item.name }} {{ item.phone }}
|
<span class="value">
|
||||||
|
<AiOpenData v-if="item.name" type="userName" :openid="item.name" />
|
||||||
|
<!-- {{ item.phone }}
|
||||||
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(item.phone)" class="phone-icon"
|
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(item.phone)" class="phone-icon"
|
||||||
v-if="item.phone">
|
v-if="item.phone"> -->
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="form.girdMemberList && form.girdMemberList.length">
|
<div v-if="form.girdMemberList && form.girdMemberList.length">
|
||||||
<div class="info-flex" v-for="(item, index) in form.girdMemberList" :key="index">
|
<div class="info-flex" v-for="(item, index) in form.girdMemberList" :key="index">
|
||||||
<span class="label">网格管理员</span>
|
<span class="label">网格管理员</span>
|
||||||
<span class="value">{{ item.name }} {{ item.phone }}
|
<span class="value">
|
||||||
|
<AiOpenData v-if="item.name" type="userName" :openid="item.name" />
|
||||||
|
<!-- {{ item.phone }}
|
||||||
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(item.phone)" class="phone-icon"
|
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(item.phone)" class="phone-icon"
|
||||||
v-if="item.phone">
|
v-if="item.phone"> -->
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -133,7 +137,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.renderGridMap(arr)
|
|
||||||
|
if (!arr.filter(v => v.points).length) {
|
||||||
|
return this.$u.toast('该网格还未标会')
|
||||||
|
}
|
||||||
|
|
||||||
|
this.renderGridMap(arr.filter(v => v.points))
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$hideLoading()
|
this.$hideLoading()
|
||||||
@@ -167,7 +176,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderGridMap(paths, count = 0) {
|
renderGridMap(paths, count = 0) {
|
||||||
console.log(paths)
|
|
||||||
let {map, lib: TMap, $refs: {AiTMap: {fitBounds}}} = this
|
let {map, lib: TMap, $refs: {AiTMap: {fitBounds}}} = this
|
||||||
if (TMap) {
|
if (TMap) {
|
||||||
if(this.latLngCenter.length) {
|
if(this.latLngCenter.length) {
|
||||||
|
|||||||
@@ -16,9 +16,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="empty" v-else>
|
<div class="empty" v-else>
|
||||||
<img src="./img/empty.png" alt="">
|
<img src="./img/empty.png" alt="">
|
||||||
<p>您还未添加通讯录<br/>点击<span @click="edit('')">新增按钮</span>试试吧</p>
|
<p>您还未添加通讯录
|
||||||
|
<!-- <br/>点击<span @click="edit('')">新增按钮</span>试试吧 -->
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer-btn" @click="edit('')">新增</div>
|
<!-- <div class="footer-btn" @click="edit('')">新增</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user