网格管理新增需求
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
<img src="./components/img/right-icon.png" alt=""/>
|
<img src="./components/img/right-icon.png" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer" @click="confirm">确认添加</div>
|
<div class="footer" @click="confirm">{{fromType == 'add' ? '确认添加' : '确认修改'}}</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -75,7 +75,11 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '添加网格'
|
if(this.fromType == 'add') {
|
||||||
|
document.title = '添加网格'
|
||||||
|
}else {
|
||||||
|
document.title = '编辑网格'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['selectPrivilegedContact']),
|
...mapActions(['selectPrivilegedContact']),
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
del() {
|
del() {
|
||||||
this.$confirm(`是否删除该网格?`).then(() => {
|
this.$confirm('删除网格后,会清除网格内网格员和责任家庭信息,如有下级网格,会同步删除下级网格所有数据', `您确认要删除该网格?`).then(() => {
|
||||||
this.$http.post(`/app/appgirdinfo/delete?ids=${this.form.id}`).then((res) => {
|
this.$http.post(`/app/appgirdinfo/delete?ids=${this.form.id}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('删除成功!')
|
this.$u.toast('删除成功!')
|
||||||
|
|||||||
Reference in New Issue
Block a user