rH+)BZ_}np8`oz+Wr5Ynq-r-cMUQX8OZSr8j&*E}d
z?r86(nSt)$iXMsT$NuxZl@nPW6b!E5&1x
zS4syWE+4GY_X!I@ctq4(=n5@yCM~ShreH8$6_1uFsTj5s_YZHdc6(Ro0%4YVP1@@=
zA53>0+WRP5Io|xZWWO{&Y|^F?4$)h4xFw{l>|?pkkte8ZH9brd%uUD-~OvfZ0^?
zCN%O?Q%ixbR;Eh?o|xArIO_DIl;^))ce?lfV5l)%w|b`IDR5OXH@RRxX+xJ^oCr4I
z=o)SEv2?V`D}X0UtGI(5=Mr?dO&e~9T|Bp5-@5+Q2~G_6b&^)~=K*F@DvO71?E(Av
zO?SG%Y^u7P|7R@C4M=*D;-5fo?n@{pQE3gb4
z=?jY8(-Bn>TwHy-wsxm!#Jtr=*5f(~q*rXop6sh?@VSw!8hx<#8*%lruUq$2afrTW
z|Djui28@kut)SpRB3(DNlVa%QZBufIqe>nw?N2>pt2&Lj^n<>_x!mOW>G`yfT;r+A
z8|FLr2k^)4K8qu58|W-g!Q}e4d`ny4zBC&CH8QkP_i6j|+`&H6>m8lvZ3|ACF2-)n
z96t*#NJxutPjhF@{_z(3tgGuD%s$R59Q4vVW6hSfy_BDOQDU<-`TSt9-@{-({A<_x
zIv=khD`&fuk`m2%o6=}bL?ch`9)mXx^=Zid@@Mb}%JnIW8@m|y2BB9d4%lKYP
zzC&n3(D59@r2745U2>AqyDvN&uCIzKu~<*BxbL^t<8
literal 0
HcmV?d00001
diff --git a/src/views/main-navbar.vue b/src/views/main-navbar.vue
index bce1e51ab..0e9bdce5e 100644
--- a/src/views/main-navbar.vue
+++ b/src/views/main-navbar.vue
@@ -8,10 +8,10 @@
diff --git a/src/views/main-shuju/main-navbar.vue b/src/views/main-shuju/main-navbar.vue
index 4891afad9..181e7d51a 100644
--- a/src/views/main-shuju/main-navbar.vue
+++ b/src/views/main-shuju/main-navbar.vue
@@ -10,7 +10,7 @@
userType === 'work' ? customerName : $t('brand.lg')
}}
{{
- $t('brand.mini')
+ customerName.slice(0, 2)
}}
@@ -94,11 +94,7 @@
-
-
+
{{ $store.state.user.realName }}
From 783b6bc00b6340c362df3f1453cfa61cd3668462 Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Mon, 22 Nov 2021 16:31:00 +0800
Subject: [PATCH 4/6] =?UTF-8?q?=E4=B9=9D=E5=B0=8F=E5=9C=BA=E6=89=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/base/community/buildTable.vue | 2 +-
.../modules/base/community/communityTable.vue | 2 +-
.../modules/base/community/roomTable.vue | 2 +-
.../communityParty/regionalParty/units.vue | 10 +-
.../regionalParty/unitsForm.vue | 8 +-
.../ninePlaces/places/places.vue | 334 +++--------
.../ninePlaces/places/placesForm.vue | 394 ++++---------
.../communityService/ninePlaces/team/team.vue | 390 +++---------
.../ninePlaces/team/teamForm.vue | 440 ++++++++++++++
.../ninePlaces/team/unitsForm.vue | 553 ------------------
10 files changed, 735 insertions(+), 1400 deletions(-)
create mode 100644 src/views/modules/communityService/ninePlaces/team/teamForm.vue
delete mode 100644 src/views/modules/communityService/ninePlaces/team/unitsForm.vue
diff --git a/src/views/modules/base/community/buildTable.vue b/src/views/modules/base/community/buildTable.vue
index afe06e31e..18c4a1574 100644
--- a/src/views/modules/base/community/buildTable.vue
+++ b/src/views/modules/base/community/buildTable.vue
@@ -118,7 +118,7 @@
diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue
index 8c6f09364..4fc23e5ed 100644
--- a/src/views/modules/base/community/communityTable.vue
+++ b/src/views/modules/base/community/communityTable.vue
@@ -119,7 +119,7 @@
diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue
index 7fb5197fb..8a065fb7e 100644
--- a/src/views/modules/base/community/roomTable.vue
+++ b/src/views/modules/base/community/roomTable.vue
@@ -129,7 +129,7 @@
diff --git a/src/views/modules/communityParty/regionalParty/units.vue b/src/views/modules/communityParty/regionalParty/units.vue
index b8849d202..792c22440 100644
--- a/src/views/modules/communityParty/regionalParty/units.vue
+++ b/src/views/modules/communityParty/regionalParty/units.vue
@@ -151,7 +151,7 @@
label="分类"
width="180">
- {
+ item.serviceMatterShow = ''
+ if (item.serviceMatterList.length > 0) {
+ item.serviceMatterShow = item.serviceMatterList.jone('')
+
+ }
+
+ });
} else {
this.$message.error(msg)
}
diff --git a/src/views/modules/communityParty/regionalParty/unitsForm.vue b/src/views/modules/communityParty/regionalParty/unitsForm.vue
index 383174ba6..0f9371a13 100644
--- a/src/views/modules/communityParty/regionalParty/unitsForm.vue
+++ b/src/views/modules/communityParty/regionalParty/unitsForm.vue
@@ -54,12 +54,12 @@
+ v-model="formData.serviceMatterList">
{{item.label}}
@@ -197,7 +197,7 @@ export default {
formData: {
gridId: '',
unitName: '',
- serviceMatter: [],
+ serviceMatterList: [],
type: '',
contact: '',
contactMobile: '',
@@ -429,7 +429,7 @@ export default {
this.formData = {
gridId: '',
unitName: '',
- serviceMatter: [],
+ serviceMatterList: [],
type: '',
contact: '',
contactMobile: '',
diff --git a/src/views/modules/communityService/ninePlaces/places/places.vue b/src/views/modules/communityService/ninePlaces/places/places.vue
index 8db72b0e2..0d0dd69fc 100644
--- a/src/views/modules/communityService/ninePlaces/places/places.vue
+++ b/src/views/modules/communityService/ninePlaces/places/places.vue
@@ -6,7 +6,30 @@
ref="ref_searchform"
:label-width="'100px'">
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
- 新增
-
- 导入
-
- 导出
-
-
-
-
+
新增
-
+ label="场所名称"
+ min-width="280">
-
+ label="场所地址"
+ min-width="280">
-
+ label="场所类型"
+ min-width="180">
-
+ label="规模"
+ min-width="180">
-
+ label="负责人"
+ min-width="100">
-
-
-
-
-
-
-
+ min-width="110">
+
- 查看
@@ -266,25 +214,20 @@ export default {
scaleList: [],//规模list
placeTypeList: [],//场所类型list
- unitId: '',
formData: {
- gridId: '',
- unitName: '',
- serviceMatter: '',
- type: '',
- contact: '',
- contactMobile: ''
+ placeOrgName: '',//场所名称
+ mobile: '',//联系电话
+ scale: '',//场所规模【 0:10人以下 1:10-20人 2:21-40人 3:41-100人 4:100人以上】
+ gridId: '',//场所区域【网格Id】
+ ninePlacsVal: '',//场所类型【九小场所Value值】
+ isPage: true,//是否分页(是:true 否:false) 有这个参数是给新增巡查记录时用的,默认是
},
tableData: [],
//form相关
formShow: false,
- formTitle: '新增单位',
-
- files: "",
- fileName: "",
- uploadUlr: window.SITE_CONFIG['apiURL'] + '/gov/org/neighborhood/import'
+ formTitle: '新增场所',
}
},
@@ -295,11 +238,11 @@ export default {
},
async mounted () {
- //获取服务事项
- await this.loadService()
+ //获取规格
+ await this.loadScale()
- //获取分类
- await this.loadType()
+ //获取场所类型
+ await this.loadPlaceType()
const { user } = this.$store.state
this.agencyId = user.agencyId
@@ -332,13 +275,12 @@ export default {
},
- //获取服务事项下拉框
- async loadService () {
- // const url = "/heart/icresidemanddict/subcodelist"
- const url = "http://yapi.elinkservice.cn/mock/245/heart/icresidemanddict/subcodelist"
+ //获取场所类型
+ async loadScale () {
+ const url = "/sys/dict/data/dictlist"
let params = {
- parentCategoryCode: '1010'
+ dictType: 'scale'
}
const { data, code, msg } = await requestPost(url, params)
@@ -351,12 +293,12 @@ export default {
}
},
- //获取分类
- async loadType () {
+ //获取场所类型
+ async loadPlaceType () {
const url = "/sys/dict/data/dictlist"
let params = {
- dictType: 'party_unit_type'
+ dictType: 'nine_small_places'
}
const { data, code, msg } = await requestPost(url, params)
@@ -373,12 +315,11 @@ export default {
async loadTable () {
this.tableLoading = true
- // const url = "/heart/icpartyunit/list"
- const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyunit/list"
+ // const url = "/gov/org/placeorg/getlist"
+ const url = "http://yapi.elinkservice.cn/mock/245/gov/org/placeorg/getlist"
let params = {
pageSize: this.pageSize,
pageNo: this.pageNo,
- agencyId: this.agencyId,
...this.formData
}
@@ -420,7 +361,7 @@ export default {
this.formTitle = '修改'
this.formShow = true
this.$nextTick(() => {
- this.$refs.ref_form.initForm('edit', row.id)
+ this.$refs.ref_form.initForm('edit', row.placeOrgId)
})
},
@@ -441,7 +382,7 @@ export default {
type: "warning"
})
.then(() => {
- this.deleteUnit(row)
+ this.deletePlace(row)
})
.catch(err => {
if (err == "cancel") {
@@ -451,12 +392,12 @@ export default {
});
},
- async deleteUnit (row) {
- // const url = "/heart/icpartyunit/delete"
- const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyunit/delete"
+ async deletePlace (row) {
+ // const url = "/gov/org/placeorg/del"
+ const url = "http://yapi.elinkservice.cn/mock/245/gov/org/placeorg/del"
let params = {
- id: row.id
+ placeOrgId: row.placeOrgId
}
const { data, code, msg } = await requestPost(url, params)
@@ -476,118 +417,15 @@ export default {
//重置搜索条件
resetSearch () {
this.formData = {
- gridId: '',
- unitName: '',
- serviceMatter: '',
- type: '',
- contact: '',
- contactMobile: ''
- }
- },
-
- //导出表格
- async handleExport () {
- let title = '联建单位列表'
-
-
- const url = "/partyunit/export"
- let params = {
- ownerName: this.ownerName,
- ownerPhone: this.ownerPhone,
- level: this.agencyObj.level,
- id: this.agencyObj.id
+ placeOrgName: '',//场所名称
+ mobile: '',//联系电话
+ scale: '',//场所规模【 0:10人以下 1:10-20人 2:21-40人 3:41-100人 4:100人以上】
+ gridId: '',//场所区域【网格Id】
+ ninePlacsVal: '',//场所类型【九小场所Value值】
+ isPage: true,//是否分页(是:true 否:false) 有这个参数是给新增巡查记录时用的,默认是
}
-
- app.ajax.exportFilePost(
- url,
- params,
- (data, rspMsg) => {
-
- this.download(data, title + '.xls')
- },
- (rspMsg, data) => {
- this.$message.error(rspMsg);
- }
- );
-
- },
-
- // 下载文件
- download (data, fileName) {
- if (!data) {
- return
- }
-
- var csvData = new Blob([data])
-
- if (window.navigator && window.navigator.msSaveOrOpenBlob) {
- window.navigator.msSaveOrOpenBlob(csvData, fileName);
- }
- // for Non-IE (chrome, firefox etc.)
- else {
- var a = document.createElement('a');
- document.body.appendChild(a);
- a.style = 'display: none';
- var url = window.URL.createObjectURL(csvData);
- a.href = url;
- a.download = fileName;
- a.click();
- a.remove();
- window.URL.revokeObjectURL(url);
- }
-
},
- // 上传文件之前的钩子
- beforeUpload (file) {
- this.files = file;
-
- const isText = file.type === 'application/vnd.ms-excel'
- const isTextComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
-
- if (!isText && !isTextComputer) {
- this.$message.error('请选择正确格式的文件')
- return false
- } else {
- this.fileName = file.name;
- return true
- }
-
- },
- // 上传文件个数超过定义的数量
- handleExceed (files, fileList) {
- this.$message.warning(`当前限制选择 1 个文件,请删除后继续上传`)
- },
-
- async uploadFile () {
- this.loading = true
-
- if (this.fileName == "") {
- this.$message.warning('请选择要上传的文件!')
- return false
- }
-
- //清空上传列表
- this.$refs['upload'].clearFiles()
-
- var url = '/partyunit/import'
- let fileFormData = new FormData();
- fileFormData.append('file', this.files);//filename是键,file是值,就是要传的文件,test.zip是要传的文件名
-
- const { data, code, msg } = await requestPost(url, fileFormData)
- if (code === 0) {
- this.$message({
- type: "success",
- message: "导入成功"
- });
-
- this.loadTable()
- } else {
- this.$message.error(msg)
- }
-
-
- },
handleSizeChange (val) {
this.pageSize = val
diff --git a/src/views/modules/communityService/ninePlaces/places/placesForm.vue b/src/views/modules/communityService/ninePlaces/places/placesForm.vue
index 383174ba6..8b3fbe1c1 100644
--- a/src/views/modules/communityService/ninePlaces/places/placesForm.vue
+++ b/src/views/modules/communityService/ninePlaces/places/placesForm.vue
@@ -9,7 +9,23 @@
:disabled="formType === 'detail'"
class="form">
-
+
+
+
+
+
+
+
+
@@ -25,27 +41,35 @@
-
-
+ prop="placeOrgName">
+
+
-
+ prop="address">
+
+
+
+
+
+
-
@@ -53,107 +77,24 @@
-
-
- {{item.label}}
-
-
-
-
-
-
+ prop="personInCharge">
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 经度
-
-
- 纬度
-
-
-
-
-
-
-
-
-
+ prop="mobile">
+
@@ -176,14 +117,6 @@ import { mapGetters } from 'vuex'
import { Loading } from 'element-ui' // 引入Loading服务
import { requestPost } from '@/js/dai/request'
-
-
-var map
-var search
-var markers
-var infoWindowList
-var geocoder // 新建一个正逆地址解析类
-
let loading // 加载动画
export default {
data () {
@@ -192,41 +125,33 @@ export default {
btnDisable: false,
- unitId: '',
- keyWords: '',
+ placeOrgId: '',
formData: {
gridId: '',
- unitName: '',
- serviceMatter: [],
- type: '',
- contact: '',
- contactMobile: '',
- memberCount: 0,
- remark: '', //备注【最大500字】
- address: '', //详细地址
- longitude: 36.0722275, //经度
- latitude: 120.38945519 //纬度
+ ninePlacsVal: '',
+ placeOrgName: '',
+ address: '',
+ scale: '',
+ personInCharge: '',
+ mobile: ''
},
}
},
components: {},
mounted () {
- this.initMap()
+
},
methods: {
- async initForm (type, unitId) {
+ async initForm (type, placeOrgId) {
this.$refs.ref_form.resetFields();
- // debugger
- // map.setCenter(new TMap.LatLng(agencyObj.latitude, agencyObj.longitude))
-
this.formType = type
- if (unitId) {
- this.unitId = unitId
- this.formData.id = unitId
+ if (placeOrgId) {
+ this.placeOrgId = placeOrgId
+ this.formData.placeOrgId = placeOrgId
await this.loadFormData()
}
@@ -234,10 +159,10 @@ export default {
//加载组织
async loadFormData () {
- // const url = '/heart/icpartyunit/detail'
- const url = 'http://yapi.elinkservice.cn/mock/245/heart/icpartyunit/detail'
+ // const url = '/gov/org/placeorg/detail'
+ const url = 'http://yapi.elinkservice.cn/mock/245/gov/org/placeorg/detail'
let params = {
- id: this.unitId
+ placeOrgId: this.placeOrgId
}
const { data, code, msg } = await requestPost(url, params)
@@ -263,16 +188,16 @@ export default {
app.util.validateRule(messageObj)
this.btnDisable = false
} else {
- this.addUnit()
+ this.addPlace()
}
})
},
- async addUnit () {
+ async addPlace () {
// const regPhone = /^1(3|4|5|6|7|8|9)\d{9}$/; //手机号码
- // if (regPhone.test(this.formData.contactMobile) === false) {
+ // if (regPhone.test(this.formData.mobile) === false) {
// this.btnDisable = false
// this.$message({
// type: 'warning',
@@ -281,18 +206,23 @@ export default {
// return false;
// }
- // let url = '/heart/icpartyunit/save'
- let url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyunit/save"
- // if (this.formType === 'edit') {
- // this.formData.id = this.unitId
- // }
+ let url = ''
+
+ if (this.formType === 'edit') {
+ // url = '/gov/org/placeorg/edit'
+ url = 'http://yapi.elinkservice.cn/mock/245/gov/org/placeorg/edit'
+
+ } else {
+ // url = "/gov/org/placeorg/add"
+ url = "http://yapi.elinkservice.cn/mock/245/gov/org/placeorg/add"
+ }
const { data, code, msg } = await requestPost(url, this.formData)
if (code === 0) {
this.$message({
type: 'success',
- message: '新增联建单位成功'
+ message: '操作成功'
})
this.resetData()
this.$emit('dialogOk')
@@ -311,133 +241,16 @@ export default {
},
- // 地图初始化函数,本例取名为init,开发者可根据实际情况定义
- initMap () {
- // 定义地图中心点坐标
- var center = new window.TMap.LatLng(36.0722275, 120.38945519)
- // 定义map变量,调用 TMap.Map() 构造函数创建地图
- map = new window.TMap.Map(document.getElementById('app'), {
- center: center, // 设置地图中心点坐标
- zoom: 17.2, // 设置地图缩放级别
- pitch: 43.5, // 设置俯仰角
- rotation: 45 // 设置地图旋转角度
- })
-
- search = new window.TMap.service.Search({ pageSize: 10 })
- // 新建一个地点搜索类
- markers = new TMap.MultiMarker({
- map: map,
- geometries: []
- })
- infoWindowList = Array(10)
-
- geocoder = new TMap.service.Geocoder(); // 新建一个正逆地址解析类
-
- // 监听地图平移结束
- map.on('panend', () => {
- this.handleMoveCenter()
- })
- this.handleMoveCenter()
- this.convert()
- },
-
- setMarker (lat, lng) {
- markers.setGeometries([])
- markers.add([
- {
- id: '4',
- styleId: 'marker',
- position: new TMap.LatLng(lat, lng),
- properties: {
- title: 'marker4'
- }
- }
- ])
- },
-
- handleSearchMap () {
- infoWindowList.forEach((infoWindow) => {
- infoWindow.close()
- })
- infoWindowList.length = 0
- markers.setGeometries([])
- // 在地图显示范围内以给定的关键字搜索地点
- search
- .searchRectangle({
- keyword: this.keyWords,
- bounds: map.getBounds()
- })
- .then((result) => {
- let { data } = result
- if (Array.isArray(data) && data.length > 0) {
- const {
- location: { lat, lng }
- } = data[0]
-
-
- map.setCenter(new TMap.LatLng(lat, lng))
- this.setMarker(lat, lng)
- this.formData.latitude = lat
- this.formData.longitude = lng
- this.convert()
- } else {
- this.$message.error('未检索到相关位置坐标')
- }
- })
- },
-
- handleMoveCenter () {
- //修改地图中心点
- const center = map.getCenter()
- const lat = center.getLat()
- const lng = center.getLng()
- this.formData.latitude = lat
- this.formData.longitude = lng
- this.setMarker(lat, lng)
- this.convert(lat, lng)
- },
-
- convert (lat, lng) {
- markers.setGeometries([]);
- // var input = document.getElementById('location').value.split(',');
- let location
- if (lat && lng) {
- location = new TMap.LatLng(lat, lng);
- } else {
- location = new TMap.LatLng(this.formData.latitude, this.formData.longitude);
- }
-
- // map.setCenter(location);
- markers.updateGeometries([
- {
- id: 'main', // 点标注数据数组
- position: location,
- },
- ]);
- geocoder
- .getAddress({ location: location }) // 将给定的坐标位置转换为地址
- .then((result) => {
- this.formData.address = result.result.address
- // 显示搜索到的地址
- });
- },
-
-
resetData () {
- this.unitId = ''
- this.keyWords = ''
+ this.placeOrgId = ''
this.formData = {
gridId: '',
- unitName: '',
- serviceMatter: [],
- type: '',
- contact: '',
- contactMobile: '',
- memberCount: 0,
- remark: '', //备注【最大500字】
- address: '', //详细地址
- longitude: '', //经度
- latitude: '' //纬度
+ ninePlacsVal: '',
+ placeOrgName: '',
+ address: '',
+ scale: '',
+ personInCharge: '',
+ mobile: ''
}
},
// 开启加载动画
@@ -462,27 +275,24 @@ export default {
gridId: [
{ required: true, message: '所属网格不能为空', trigger: 'blur' }
],
- unitName: [
- { required: true, message: '单位名称不能为空', trigger: 'blur' },
+ ninePlacsVal: [
+ { required: true, message: '场所类型不能为空', trigger: 'blur' },
],
- type: [
- { required: true, message: '分类不能为空', trigger: 'blur' }
+ placeOrgName: [
+ { required: true, message: '场所名称不能为空', trigger: 'blur' }
],
- contact: [
- { required: true, message: '联系人不能为空', trigger: 'blur' }
- ],
- contactMobile: [
- { required: true, message: '联系电话不能为空', trigger: 'blur' }
+ address: [
+ { required: true, message: '场所地址不能为空', trigger: 'blur' }
],
- memberCount: [
- { required: true, message: '在职党员数不能为空', trigger: 'blur' }
+ scale: [
+ { required: true, message: '场所规模不能为空', trigger: 'blur' }
],
- address: [
- { required: true, message: '详细地址不能为空', trigger: 'blur' }
+ personInCharge: [
+ { required: true, message: '负责人不能为空', trigger: 'blur' }
],
- longitude: [
- { required: true, message: '坐标不能为空', trigger: 'blur' }
+ mobile: [
+ { required: true, message: '联系电话不能为空', trigger: 'blur' }
]
}
},
@@ -494,11 +304,11 @@ export default {
type: Array,
default: []
},
- typeList: {
+ scaleList: {
type: Array,
default: []
},
- serviceList: {
+ placeTypeList: {
type: Array,
default: []
},
diff --git a/src/views/modules/communityService/ninePlaces/team/team.vue b/src/views/modules/communityService/ninePlaces/team/team.vue
index b8849d202..615cd8e02 100644
--- a/src/views/modules/communityService/ninePlaces/team/team.vue
+++ b/src/views/modules/communityService/ninePlaces/team/team.vue
@@ -6,37 +6,37 @@
ref="ref_searchform"
:label-width="'100px'">
-
-
-
-
-
+
+
+
+
-
-
+
+ placeholder="请输入电话">
-
+
+
+
-
@@ -44,42 +44,20 @@
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
- 新增
-
- 导入
-
- 导出
-
-
-
-
+
新增
-
-
-
-
-
+ label="分队名称"
+ min-width="180">
-
+ label="负责人"
+ min-width="180">
-
+ label="联系电话"
+ min-width="110">
-
+ label="负责区域"
+ min-width="280">
-
+ label="负责场所类型"
+ min-width="180">
-
+ label="监察计划"
+ min-width="180">
-
+ label="创建时间"
+ min-width="120">
+
@@ -232,12 +175,11 @@
width="850px"
top="5vh"
@closed="diaClose">
-
+
@@ -245,7 +187,7 @@
+
+
+
diff --git a/src/views/modules/communityService/ninePlaces/team/unitsForm.vue b/src/views/modules/communityService/ninePlaces/team/unitsForm.vue
deleted file mode 100644
index 383174ba6..000000000
--- a/src/views/modules/communityService/ninePlaces/team/unitsForm.vue
+++ /dev/null
@@ -1,553 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.label}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 经度
-
-
- 纬度
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取 消
- 确 定
-
-
-
-
-
-
-
-
From 412d8469ef653c93bd722cd9e5ead8b0f56e4d6e Mon Sep 17 00:00:00 2001
From: dai <851733175@qq.com>
Date: Mon, 22 Nov 2021 16:35:20 +0800
Subject: [PATCH 5/6] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E8=8B=A5?=
=?UTF-8?q?=E5=B9=B2=E4=BA=A7=E5=93=81=E6=8F=90=E5=87=BA=E7=9A=84=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/communityService/shzz/index.vue | 2 +-
.../warning/components/screen-table/index.vue | 366 ++++++++++--------
2 files changed, 212 insertions(+), 156 deletions(-)
diff --git a/src/views/modules/communityService/shzz/index.vue b/src/views/modules/communityService/shzz/index.vue
index f55570b05..d09d1dff7 100644
--- a/src/views/modules/communityService/shzz/index.vue
+++ b/src/views/modules/communityService/shzz/index.vue
@@ -53,7 +53,7 @@
-
+
服务时间
diff --git a/src/views/modules/visual/warning/components/screen-table/index.vue b/src/views/modules/visual/warning/components/screen-table/index.vue
index 7b6dce78c..41c80f97f 100644
--- a/src/views/modules/visual/warning/components/screen-table/index.vue
+++ b/src/views/modules/visual/warning/components/screen-table/index.vue
@@ -1,62 +1,101 @@
-
-
\ No newline at end of file
+
From 5bbd1d0247583528d505d577b7f527d0f0019653 Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Mon, 22 Nov 2021 16:47:56 +0800
Subject: [PATCH 6/6] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E5=B1=95=E7=A4=BAbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../scss/modules/visual/basicInfoMain.scss | 2 +-
.../visual/basicinfo/basicInfoCommunity.vue | 262 +-----------------
.../visual/basicinfo/basicInfoMain.vue | 2 +-
.../modules/visual/basicinfo/peopleSearch.vue | 11 +-
4 files changed, 14 insertions(+), 263 deletions(-)
diff --git a/src/assets/scss/modules/visual/basicInfoMain.scss b/src/assets/scss/modules/visual/basicInfoMain.scss
index 70c4e5d9a..88e617d66 100644
--- a/src/assets/scss/modules/visual/basicInfoMain.scss
+++ b/src/assets/scss/modules/visual/basicInfoMain.scss
@@ -37,7 +37,7 @@
width: 100%;
// padding: 10px 5px 13px;
// margin-top: 8px;
- height: calc(88vh);
+ height: calc(88vh - 5px);
color: #fff;
// background: url('../../../img/modules/visual/warning-box.png') no-repeat
// center;
diff --git a/src/views/modules/visual/basicinfo/basicInfoCommunity.vue b/src/views/modules/visual/basicinfo/basicInfoCommunity.vue
index 50f54367a..dbb0a3c43 100644
--- a/src/views/modules/visual/basicinfo/basicInfoCommunity.vue
+++ b/src/views/modules/visual/basicinfo/basicInfoCommunity.vue
@@ -95,264 +95,7 @@ export default {
selBuildingName: '',
roomLoaded: false,
- roomArray: [
- {
- houseId: "1",
- houseName: "101室",
- categoryList: [
- {
- name: '党员',
- iconUrl: require('../../../../assets/img/shuju/dangyuan.png'),
- isSpecial: '1',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "2",
- houseName: "102室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "3",
- houseName: "103室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "4",
- houseName: "104室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "5",
- houseName: "105室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "6",
- houseName: "106室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- }, {
- houseId: "1",
- houseName: "101室",
- categoryList: [
- {
- name: '党员',
- iconUrl: require('../../../../assets/img/shuju/dangyuan.png'),
- isSpecial: '1',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "2",
- houseName: "102室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "3",
- houseName: "103室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "4",
- houseName: "104室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "5",
- houseName: "105室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "6",
- houseName: "106室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- }, {
- houseId: "1",
- houseName: "101室",
- categoryList: [
- {
- name: '党员',
- iconUrl: require('../../../../assets/img/shuju/dangyuan.png'),
- isSpecial: '1',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "2",
- houseName: "102室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- },
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "3",
- houseName: "103室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "4",
- houseName: "104室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "5",
- houseName: "105室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- },
- {
- houseId: "6",
- houseName: "106室",
- categoryList: [
- {
- name: '低保',
- iconUrl: require('../../../../assets/img/modules/visual/dabing.png'),
- isSpecial: '0',
- }
- ]
- }
- ],
+ roomArray: [],
selHouseId: '',
selHouseName: '',
selHouseIndex: 0,
@@ -414,6 +157,7 @@ export default {
//点击全部成员
async handleShowAllUser (selIndex) {
// this.startLoading()
+ await this.loadUser(this.roomArray[selIndex].houseId, selIndex)
this.roomArray.forEach((element, index) => {
let obj = JSON.parse(JSON.stringify(element))
@@ -422,7 +166,7 @@ export default {
obj.showAllUser = !obj.showAllUser
this.$set(this.roomArray, selIndex, obj)
- this.loadUser(element.houseId, selIndex)
+
} else {
obj.showAllUser = false
this.$set(this.roomArray, index, obj)
diff --git a/src/views/modules/visual/basicinfo/basicInfoMain.vue b/src/views/modules/visual/basicinfo/basicInfoMain.vue
index fffed07dc..8c0f4a590 100644
--- a/src/views/modules/visual/basicinfo/basicInfoMain.vue
+++ b/src/views/modules/visual/basicinfo/basicInfoMain.vue
@@ -316,7 +316,7 @@ const vueGis = {
name: '搜索'
}
this.$nextTick(() => {
- this.$refs.ref_search.loadList();
+ this.$refs.ref_search.reset();
});
} else {
diff --git a/src/views/modules/visual/basicinfo/peopleSearch.vue b/src/views/modules/visual/basicinfo/peopleSearch.vue
index e19d780fa..7e44c6d3b 100644
--- a/src/views/modules/visual/basicinfo/peopleSearch.vue
+++ b/src/views/modules/visual/basicinfo/peopleSearch.vue
@@ -97,7 +97,10 @@ export default {
}
},
-
+ reset () {
+ this.searchName = ''
+ this.tableData = []
+ },
async loadList () {
if (this.searchName) {
const url = "/epmetuser/icresiuser/searchbyname"
@@ -130,7 +133,11 @@ export default {
this.pageNo = val
this.loadList()
},
- }
+ },
+ destroyed () {
+ console.log("我已经离开了!");
+
+ },
};