Browse Source

Merge branch 'dev-bug-temp2' into dev-little-temp

dev-little-temp
dai 3 years ago
parent
commit
e1669c8591
  1. 6
      package.json
  2. BIN
      src/assets/img/shuju/grid/IS_KC.png
  3. BIN
      src/assets/img/shuju/grid/sr_gc.png
  4. 2
      src/assets/scss/modules/management/detail-main.scss
  5. 6
      src/router/index.js
  6. 9
      src/views/modules/base/community/buildDetail.vue
  7. 9
      src/views/modules/base/community/buildTable.vue
  8. 9
      src/views/modules/base/community/communityDetail.vue
  9. 12
      src/views/modules/base/community/communityTable.vue
  10. 8
      src/views/modules/base/community/roomDetail.vue
  11. 6
      src/views/modules/base/community/roomTable.vue
  12. 8
      src/views/modules/base/epidemic/natFocus/nfVisiteList.vue
  13. 8
      src/views/modules/base/huji/chusheng/cpts/detail.vue
  14. 7
      src/views/modules/base/huji/chusheng/index.vue
  15. 8
      src/views/modules/base/huji/immigration/detail.vue
  16. 3
      src/views/modules/base/huji/immigration/index.vue
  17. 3105
      src/views/modules/base/organization/organization.vue
  18. 9
      src/views/modules/communityParty/elegant/detail.vue
  19. 3
      src/views/modules/communityParty/elegant/index.vue
  20. 8
      src/views/modules/communityParty/heart/heartDetail.vue
  21. 3
      src/views/modules/communityParty/heart/heartList.vue
  22. 167
      src/views/modules/communityParty/members/detailForm.vue
  23. 3
      src/views/modules/communityParty/members/index.vue
  24. 3
      src/views/modules/communityParty/orgActivity/activivityList/activivityList.vue
  25. 10
      src/views/modules/communityParty/orgActivity/activivityList/detailActivity.vue
  26. 2
      src/views/modules/communityParty/regionalParty/activitys.vue
  27. 6
      src/views/modules/communityParty/regionalParty/activitysDetail.vue
  28. 83
      src/views/modules/communityParty/stas/index.vue
  29. 14
      src/views/modules/communityService/fuwujilu/detailForm.vue
  30. 3
      src/views/modules/communityService/fuwujilu/fuwuList.vue
  31. 6
      src/views/modules/communityService/fuwuxiangmu/cpts/detail.vue
  32. 3
      src/views/modules/communityService/fuwuxiangmu/index.vue
  33. 31
      src/views/modules/communityService/fuwuzuzhi/cpts/detail.vue
  34. 3
      src/views/modules/communityService/fuwuzuzhi/index.vue
  35. 9
      src/views/modules/communityService/measure/detail.vue
  36. 5
      src/views/modules/communityService/measure/index.vue
  37. 2
      src/views/modules/communityService/ninePlaces/inspect/inspect.vue
  38. 100
      src/views/modules/communityService/ninePlaces/inspect/inspectDetail.vue
  39. 2
      src/views/modules/communityService/ninePlaces/places/places.vue
  40. 16
      src/views/modules/communityService/ninePlaces/places/placesDetail.vue
  41. 4
      src/views/modules/communityService/ninePlaces/team/team.vue
  42. 15
      src/views/modules/communityService/ninePlaces/team/teamDetail.vue
  43. 2
      src/views/modules/communityService/worklog/workLog.vue
  44. 6
      src/views/modules/communityService/worklog/workLogDetail.vue
  45. 77
      src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue
  46. 17
      src/views/modules/plugins/rent/rentcontractinfo-look-or-check.vue
  47. 3
      src/views/modules/plugins/rent/upload-image.vue
  48. 4
      src/views/modules/shequzhili/csgltc/csglDetail.vue
  49. 6
      src/views/modules/shequzhili/ggfwtc/ggfwDetail.vue
  50. 24
      src/views/modules/sys/icvaccineprarmeter-add-or-update.vue
  51. 22
      src/views/modules/visual/command/cpts/map.vue
  52. 4
      src/views/modules/visual/command/index.vue
  53. 2
      src/views/modules/visual/cpts/map/index.vue

6
package.json

@ -16,9 +16,9 @@
"et:list": "gulp themes"
},
"dependencies": {
"@antv/l7": "^2.9.14",
"@antv/l7-draw": "^3.0.5",
"@antv/l7-maps": "^2.9.14",
"@antv/l7": "2.9.14",
"@antv/l7-draw": "3.0.5",
"@antv/l7-maps": "2.9.14",
"@riophae/vue-treeselect": "^0.4.0",
"@tinymce/tinymce-vue": "^3.2.8",
"async-validator": "^4.2.5",

BIN
src/assets/img/shuju/grid/IS_KC.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
src/assets/img/shuju/grid/sr_gc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

2
src/assets/scss/modules/management/detail-main.scss

@ -17,7 +17,7 @@
}
.div-btn{
margin-top:50px;
margin-top:30px;
// margin-bottom:20px;
display: flex;
justify-content: center;

6
src/router/index.js

@ -121,20 +121,20 @@ function cookApiDataItem(item) {
function n2one(v) {
let ret = [];
for (let i = 0; i < v.length; i++) {
console.log("xxxxx", v[i]);
// console.log("xxxxx", v[i]);
ret.push(v[i]);
if (Array.isArray(v[i].children) && v[i].children.length > 0) {
ret.push(...n2one(v[i].children));
}
}
console.log("aaaa", ret);
// console.log("aaaa", ret);
return ret;
}
let allChildrenUrl = n2one(item.children)
.filter((i) => i.url != "" && i.showFlag == 1)
.map((i) => i.url);
console.log("))))))))))))", allChildrenUrl);
// console.log("))))))))))))", allChildrenUrl);
if (item.children.length > 0) {
if (item.url == "" || !allChildrenUrl.find((i) => i.url == item.url)) {

9
src/views/modules/base/community/buildDetail.vue

@ -68,7 +68,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -120,6 +124,11 @@ export default {
},
methods: {
handleCancle () {
this.diaDestroy()
this.$emit('diaDetailClose')
},
diaDestroy () {
if (map) {
map.destroy()

9
src/views/modules/base/community/buildTable.vue

@ -14,7 +14,8 @@
size="small"
@click="handleExportModule('building')">下载楼栋模板</el-button>
<el-upload :headers="$getElUploadHeaders()" style=""
<el-upload :headers="$getElUploadHeaders()"
style=""
ref="upload_building"
:multiple='false'
:show-file-list='false'
@ -31,7 +32,8 @@
size="small"
@click="handleExportModule('room')">下载房屋模板</el-button>
<el-upload :headers="$getElUploadHeaders()" style=""
<el-upload :headers="$getElUploadHeaders()"
style=""
ref="upload_room"
:multiple='false'
:show-file-list='false'
@ -206,7 +208,8 @@
width="900px"
class="dialog-h"
@closed="detailFormCancle">
<build-detail ref="ref_form_detail"></build-detail>
<build-detail ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></build-detail>
</el-dialog>
<baobiao ref="baobiao" />

9
src/views/modules/base/community/communityDetail.vue

@ -61,7 +61,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -106,6 +110,11 @@ export default {
},
methods: {
handleCancle () {
this.diaDestroy()
this.$emit('diaDetailClose')
},
diaDestroy () {
if (map) {
map.destroy()

12
src/views/modules/base/community/communityTable.vue

@ -26,7 +26,8 @@
size="small"
@click="handleExportModule('community')">下载小区模板</el-button>
<el-upload :headers="$getElUploadHeaders()" ref="upload_community"
<el-upload :headers="$getElUploadHeaders()"
ref="upload_community"
style=""
:multiple='false'
:show-file-list='false'
@ -44,7 +45,8 @@
size="small"
@click="handleExportModule('building')">下载楼栋模板</el-button>
<el-upload :headers="$getElUploadHeaders()" style=""
<el-upload :headers="$getElUploadHeaders()"
style=""
ref="upload_building"
:multiple='false'
:show-file-list='false'
@ -61,7 +63,8 @@
size="small"
@click="handleExportModule('room')">下载房屋模板</el-button>
<el-upload :headers="$getElUploadHeaders()" style=""
<el-upload :headers="$getElUploadHeaders()"
style=""
ref="upload_room"
:multiple='false'
:show-file-list='false'
@ -193,7 +196,8 @@
top="5vh"
class="dialog-h"
@closed="detailFormCancle">
<community-detail ref="ref_form_detail"></community-detail>
<community-detail ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></community-detail>
</el-dialog>
<!-- 修改弹出框 -->

8
src/views/modules/base/community/roomDetail.vue

@ -66,7 +66,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -117,7 +121,11 @@ export default {
},
methods: {
handleCancle () {
// this.diaDestroy()
this.$emit('diaDetailClose')
},
diaDestroy () {
if (map) {
map.destroy()

6
src/views/modules/base/community/roomTable.vue

@ -8,7 +8,8 @@
@click="handleAdd">新增房屋</el-button>
<div class="btn_upload"
v-if="showImportBtn">
<el-button :headers="$getElUploadHeaders()" style="float: left"
<el-button :headers="$getElUploadHeaders()"
style="float: left"
class="diy-button--export"
size="small"
@click="handleExportModule">下载房屋模板</el-button>
@ -196,7 +197,8 @@
top="5vh"
class="dialog-h"
@closed="detailFormCancle">
<room-detail ref="ref_form_detail"></room-detail>
<room-detail ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></room-detail>
</el-dialog>
<baobiao ref="baobiao" />

8
src/views/modules/base/epidemic/natFocus/nfVisiteList.vue

@ -131,7 +131,7 @@ export default {
formData: {
visitTime: '',//访
content: '',//
realIdCard: '',
idCard: '',
name: '',
mobile: '',
origin: ''
@ -150,7 +150,7 @@ export default {
async initTable (row, origin) {
this.formData.realIdCard = row.realIdCard
this.formData.idCard = row.realIdCard
this.formData.name = row.name
this.formData.mobile = row.mobile
this.formData.origin = origin
@ -167,7 +167,7 @@ export default {
// const url = 'http://yapi.elinkservice.cn/mock/245/epmetuser/followup/page'
let params = {
name: this.formData.name,
idCard: this.formData.realIdCard,
idCard: this.formData.idCard,
pageNo: this.pageNo,
pageSize: this.pageSize,
origin: this.formData.origin
@ -225,7 +225,7 @@ export default {
const url = "/epmetuser/followup/export"
let params = {
idCard: this.formData.realIdCard,
idCard: this.formData.idCard,
name: this.formData.name,
origin: this.formData.origin
}

8
src/views/modules/base/huji/chusheng/cpts/detail.vue

@ -71,7 +71,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -132,7 +136,11 @@ export default {
methods: {
handleCancle () {
this.$emit('diaDetailClose')
},
async initForm (row) {
await this.getInfo(row.id);

7
src/views/modules/base/huji/chusheng/index.vue

@ -168,7 +168,8 @@
class="diy-button--export"
size="small"
@click="handleExportModule('room')">下载模板</el-button>
<el-upload :headers="$getElUploadHeaders()" v-if="false"
<el-upload :headers="$getElUploadHeaders()"
v-if="false"
ref="upload"
class="upload-btn"
action="uploadUlr"
@ -350,7 +351,9 @@
top="5vh"
class="dialog-h"
@closed="detailFormCancle">
<detail-form ref="ref_form_detail"></detail-form>
<detail-form ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></detail-form>
</el-dialog>
</div>
</template>

8
src/views/modules/base/huji/immigration/detail.vue

@ -71,7 +71,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -99,7 +103,11 @@ export default {
},
methods: {
handleCancle () {
this.$emit('diaDetailClose')
},
async initForm (id) {
await this.getDatail(id)

3
src/views/modules/base/huji/immigration/index.vue

@ -357,7 +357,8 @@
class="dialog-h"
@closed="detailFormCancle">
<detail-form v-if="detailShow"
ref="ref_form_detail"></detail-form>
ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></detail-form>
</el-dialog>
</div>
</template>

3105
src/views/modules/base/organization/organization.vue

File diff suppressed because it is too large

9
src/views/modules/communityParty/elegant/detail.vue

@ -43,7 +43,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -73,6 +77,11 @@ export default {
},
methods: {
handleCancle () {
this.$emit('diaDetailClose')
},
async initForm (row) {

3
src/views/modules/communityParty/elegant/index.vue

@ -290,7 +290,8 @@
top="5vh"
class="dialog-h"
@closed="detailFormCancle">
<detail-form ref="ref_form_detail"></detail-form>
<detail-form ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></detail-form>
</el-dialog>
</div>

8
src/views/modules/communityParty/heart/heartDetail.vue

@ -171,7 +171,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -435,8 +439,8 @@ export default {
handleCancle () {
this.resetData()
this.$emit('dialogCancle')
this.$emit('diaDetailClose')
},

3
src/views/modules/communityParty/heart/heartList.vue

@ -243,7 +243,8 @@
top="5vh"
class="dialog-h"
@closed="detailFormCancle">
<heart-detail ref="ref_form_detail"></heart-detail>
<heart-detail ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></heart-detail>
</el-dialog>
<!-- 活动取消原因 -->

167
src/views/modules/communityParty/members/detailForm.vue

@ -1,109 +1,116 @@
<template>
<div class="dialog-h-content scroll-h pd0">
<div class="div-tip">本模块主要为添加非本社区居住党员本社区居住党员建议到居民信息页面添加</div>
<div v-if="initLoading"
class="m-row">
<div class="m-row-2">
<div class="info-prop">
<span class="info-title-2">所属党组织</span>
<span>{{ info.orgName }}</span>
<div>
<div class="dialog-h-content scroll-h pd0">
<div class="div-tip">本模块主要为添加非本社区居住党员本社区居住党员建议到居民信息页面添加</div>
<div v-if="initLoading"
class="m-row">
<div class="m-row-2">
<div class="info-prop">
<span class="info-title-2">所属党组织</span>
<span>{{ info.orgName }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">党员中心户</span>
<span>{{ info.isDyzxh==='1'?'是':'否' }}</span>
</div>
</div>
<div class="info-prop">
<span class="info-title-2">党员中心户</span>
<span>{{ info.isDyzxh==='1'?'是':'否' }}</span>
</div>
</div>
<div class="m-row-2">
<div class="m-row-2">
<div class="info-prop">
<span class="info-title-2">姓名</span>
<span>{{ info.name}}</span>
</div>
<div class="info-prop">
<span class="info-title-2">姓名</span>
<span>{{ info.name}}</span>
</div>
<div class="info-prop">
<span class="info-title-2">免学习</span>
<span>{{info.isMxx==='1'?'是':'否'}}</span>
<div class="info-prop">
<span class="info-title-2">免学习</span>
<span>{{info.isMxx==='1'?'是':'否'}}</span>
</div>
</div>
</div>
<div class="m-row-2">
<div class="m-row-2">
<div class="info-prop">
<span class="info-title-2">手机号</span>
<span>{{ info.mobile?info.mobile:'--'}}</span>
</div>
<div class="info-prop">
<span class="info-title-2">职务</span>
<span>{{info.partyZwShow?info.partyZwShow:'--' }}</span>
<div class="info-prop">
<span class="info-title-2">手机号</span>
<span>{{ info.mobile?info.mobile:'--'}}</span>
</div>
<div class="info-prop">
<span class="info-title-2">职务</span>
<span>{{info.partyZwShow?info.partyZwShow:'--' }}</span>
</div>
</div>
</div>
<div class="m-row-2">
<div class="m-row-2">
<div class="info-prop">
<span class="info-title-2">身份证</span>
<span>{{ info.idCard?info.idCard:'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">文化程度</span>
<span>{{ info.cultureName?info.cultureName:'--' }}</span>
<div class="info-prop">
<span class="info-title-2">身份证</span>
<span>{{ info.idCard?info.idCard:'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">文化程度</span>
<span>{{ info.cultureName?info.cultureName:'--' }}</span>
</div>
</div>
</div>
<div class="m-row-2">
<div class="m-row-2">
<div class="info-prop">
<span class="info-title-2">地址</span>
<span>{{ info.address?info.address:'--' }}</span>
<div class="info-prop">
<span class="info-title-2">地址</span>
<span>{{ info.address?info.address:'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">入党时间</span>
<span>{{ info.rdsj?info.rdsj:'--' }}</span>
</div>
</div>
<div class="info-prop">
<span class="info-title-2">入党时间</span>
<span>{{ info.rdsj?info.rdsj:'--' }}</span>
</div>
</div>
<div class="m-row-2">
<div class="m-row-2">
<div class="info-prop">
<span class="info-title-2">流动党员</span>
<span>{{ info.isLd==='1'?'是':'否'}}</span>
</div>
<div class="info-prop">
<span class="info-title-2">流动党员号</span>
<span>{{ info.ldzh?info.ldzh:'--' }}</span>
<div class="info-prop">
<span class="info-title-2">流动党员</span>
<span>{{ info.isLd==='1'?'是':'否'}}</span>
</div>
<div class="info-prop">
<span class="info-title-2">流动党员号</span>
<span>{{ info.ldzh?info.ldzh:'--' }}</span>
</div>
</div>
</div>
<div class="m-row-2">
<div class="m-row-2">
<div class="info-prop">
<span class="info-title-2">备注</span>
<span>{{ info.remark? info.remark:'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">备注</span>
<span>{{ info.remark? info.remark:'--' }}</span>
</div>
</div>
</div>
<div class="pdl40">
<el-tabs v-model="activesName">
<el-tab-pane label="量化积分"
name="first">
<pointsDetail :partyId="partymenberid" />
</el-tab-pane>
<el-tab-pane label="缴费记录"
name="second">
<record :partyId="partymenberid"
:disabled="disabled" />
</el-tab-pane>
</el-tabs>
<div class="pdl40">
<el-tabs v-model="activesName">
<el-tab-pane label="量化积分"
name="first">
<pointsDetail :partyId="partymenberid" />
</el-tab-pane>
<el-tab-pane label="缴费记录"
name="second">
<record :partyId="partymenberid"
:disabled="disabled" />
</el-tab-pane>
</el-tabs>
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -187,7 +194,11 @@ export default {
// this.$refs['ruleForm'].resetFields()
},
methods: {
handleCancle () {
this.$emit('diaDetailClose')
},
async saveRecord (form) {
const params = {
...form,

3
src/views/modules/communityParty/members/index.vue

@ -335,7 +335,8 @@
<detail-form v-if="detailShow"
:info="detailInfo"
:partyList="optionsG"
:disabled="disabled" />
:disabled="disabled"
@diaDetailClose="handlerCancle" />
</el-dialog>
</div>

3
src/views/modules/communityParty/orgActivity/activivityList/activivityList.vue

@ -265,7 +265,8 @@
@closed="detailShow = false">
<detail-activity ref="ref_add_form"
:formType="formType"
:icPartyActId="icPartyActId"></detail-activity>
:icPartyActId="icPartyActId"
@diaDetailClose="detailShow = false"></detail-activity>
</el-dialog>
<el-dialog v-if="showSchedule"
:visible.sync="showSchedule"

10
src/views/modules/communityParty/orgActivity/activivityList/detailActivity.vue

@ -50,7 +50,7 @@
</div>
<div class="info-prop">
<span class="info-title-3">附件</span>
<file-list v-if="formData.attachmentList.length>0"
<file-list v-if="formData.attachmentList&&formData.attachmentList.length>0"
:fileList="formData.attachmentList"></file-list>
<span v-else>--</span>
@ -60,7 +60,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -275,8 +279,8 @@ export default {
},
handleCancle () {
this.resetData()
this.$emit('handleClose')
this.$emit('diaDetailClose')
},

2
src/views/modules/communityParty/regionalParty/activitys.vue

@ -245,7 +245,7 @@
<activitys-detail ref="ref_detail"
:serviceList="serviceList"
:gridList="gridList"
@diaClose="diaClose"></activitys-detail>
@diaDetailClose="detailClosed"></activitys-detail>
</el-dialog>
</div>

6
src/views/modules/communityParty/regionalParty/activitysDetail.vue

@ -58,11 +58,11 @@
</div>
<!-- <div class="div-btn">
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div> -->
</div>
</div>
</template>
@ -94,7 +94,7 @@ export default {
handleCancle () {
this.diaDestroy()
this.$emit('diaClose')
this.$emit('diaDetailClose')
},

83
src/views/modules/communityParty/stas/index.vue

@ -4,23 +4,24 @@
<el-form :inline="true"
:model="form"
ref="ref_searchform"
:label-width="'100px'">
:label-width="'110px'">
<div>
<el-form-item prop="mySelectOrg" label-width="130px" label="参加活动党组织">
<el-cascader
class="list_item_width_1"
v-model="joinOrgIds"
size="small"
:options="orgList"
placeholder="请选择党组织"
:props="{
<el-form-item prop="mySelectOrg"
label-width="130px"
label="参加活动党组织">
<el-cascader class="list_item_width_1"
v-model="joinOrgIds"
size="small"
:options="orgList"
placeholder="请选择党组织"
:props="{
checkStrictly: true,
label: 'partyOrgName',
value: 'id',
children: 'children'
}"
@change="handleChangeOrg"
clearable/>
@change="handleChangeOrg"
clearable />
</el-form-item>
<el-form-item label="活动开始时间"
prop="serviceTimeArea">
@ -47,10 +48,10 @@
</div>
<div class="div_table">
<div class="div_btn">
<el-button style="margin-left:10px"
class="diy-button--reset"
size="small"
@click="handleExport">导出</el-button>
<el-button style="margin-left:10px"
class="diy-button--reset"
size="small"
@click="handleExport">导出</el-button>
</div>
<el-table class="table"
:data="tableData"
@ -74,43 +75,37 @@
<el-table-column prop="dydhNum"
header-align="center"
align="center"
label="支部党员大会(次)"
>
label="支部党员大会(次)">
</el-table-column>
<el-table-column prop="wyhNum"
header-align="center"
align="center"
label="支部委员会(次)"
show-overflow-tooltip
>
show-overflow-tooltip>
</el-table-column>
<el-table-column prop="dxzhNum"
header-align="center"
show-overflow-tooltip
align="center"
label="党小组会(次)"
>
label="党小组会(次)">
</el-table-column>
<el-table-column prop="dkNum"
header-align="center"
align="center"
show-overflow-tooltip
label="党课(次)"
>
label="党课(次)">
</el-table-column>
<el-table-column prop="ztdrNum"
header-align="center"
align="center"
show-overflow-tooltip
label="主题党日(次)"
>
label="主题党日(次)">
</el-table-column>
<el-table-column prop="wmfwNum"
header-align="center"
align="center"
show-overflow-tooltip
label="为民服务活动(次)"
>
label="为民服务活动(次)">
</el-table-column>
</el-table>
</div>
@ -168,25 +163,25 @@ export default {
this.form.joinOrgId = ''
}
},
getOrgList() {
getOrgList () {
return this.$http
.get('/resi/partymember/icPartyOrg/getSearchTreelist', {
params: { agencyId: localStorage.getItem('agencyId') }
})
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}else {
this.orgList = this.deepArrTOnull(res.data)
}
}).catch(() => {return this.$message.error("网络错误");})
.get('/resi/partymember/icPartyOrg/getSearchTreelist', {
params: { agencyId: localStorage.getItem('agencyId') }
})
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
} else {
this.orgList = this.deepArrTOnull(res.data)
}
}).catch(() => { return this.$message.error("网络错误"); })
},
deepArrTOnull(arr) {
deepArrTOnull (arr) {
let a = []
a = arr.map(item => {
return {
...item,
children: (item.children.length > 0 && this.deepArrTOnull(item.children) )|| null
children: (item.children.length > 0 && this.deepArrTOnull(item.children)) || null
}
})
return a
@ -196,17 +191,17 @@ export default {
if (Array.isArray(this.serviceTimeArea) && this.serviceTimeArea.length > 0) {
this.form.startTime = this.serviceTimeArea[0];
this.form.endTime = this.serviceTimeArea[1];
}else {
} else {
this.form.startTime = '';
this.form.endTime = '';
}
if (this.form.joinOrgId === '' || this.form.joinOrgId === null || this.form.joinOrgId === undefined){
if (this.form.joinOrgId === '' || this.form.joinOrgId === null || this.form.joinOrgId === undefined) {
let a = this.orgList[0]
this.form.joinOrgId = a.id;
this.joinOrgIds = this.form.joinOrgId
}else {
if (Array.isArray(this.joinOrgIds)){
} else {
if (Array.isArray(this.joinOrgIds)) {
this.form.joinOrgId = this.joinOrgIds[this.joinOrgIds.length - 1];
}
}

14
src/views/modules/communityService/fuwujilu/detailForm.vue

@ -100,15 +100,11 @@
</div>
<!-- <div class="div_btn">
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
<el-button size="small"
v-if="formType != 'detail'"
type="primary"
:disabled="btnDisable"
@click="handleComfirm"> </el-button>
</div> -->
@click="handleCancle"> </el-button>
</div>
<el-dialog v-if="showPersonList"
:visible.sync="showPersonList"
@ -318,7 +314,7 @@ export default {
handleCancle () {
this.resetData()
this.$emit('handleClose')
this.$emit('diaDetailClose')
},

3
src/views/modules/communityService/fuwujilu/fuwuList.vue

@ -278,7 +278,8 @@
:serviceRecordId="serviceRecordId"
:serviceOrgName="serviceOrgName"
:satisfyArray="satisfyArray"
:statusArray="statusArray">
:statusArray="statusArray"
@diaDetailClose="diaDetailClose">
</detail-form>
</el-dialog>
<el-dialog v-if="showPersonList"

6
src/views/modules/communityService/fuwuxiangmu/cpts/detail.vue

@ -42,7 +42,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -145,7 +149,7 @@ export default {
handleCancle () {
this.$emit("close");
this.$emit("diaDetailClose");
},
},
};

3
src/views/modules/communityService/fuwuxiangmu/index.vue

@ -187,7 +187,8 @@
class="dialog-h"
@closed="handleClose">
<detail-form ref="ref_form_detail"
:formId="formId"></detail-form>
:formId="formId"
@diaDetailClose="handleClose"></detail-form>
</el-dialog>
</div>
</template>

31
src/views/modules/communityService/fuwuzuzhi/cpts/detail.vue

@ -53,17 +53,11 @@
</div>
<!-- <div class="div_btn resi-btns">
<el-button size="small" @click="handleCancle"> </el-button>
<el-button
v-if="formType != 'watch'"
type="primary"
size="small"
:disabled="btnDisable"
@click="handleComfirm"
> </el-button
>
</div> -->
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -112,6 +106,17 @@ export default {
},
methods: {
handleCancle () {
this.diaDestroy()
this.$emit('diaDetailClose')
},
diaDestroy () {
if (map) {
map.destroy()
}
},
async initForm () {
this.startLoading()
@ -258,9 +263,7 @@ export default {
},
handleCancle () {
this.$emit("close");
},
//
startLoading () {
loading = Loading.service({

3
src/views/modules/communityService/fuwuzuzhi/index.vue

@ -193,7 +193,8 @@
class="dialog-h"
@closed="diaDetailClose">
<detail-form ref="ref_detail"
:formId="formId"></detail-form>
:formId="formId"
@diaDetailClose="diaDetailClose"></detail-form>
</el-dialog>
</div>
</template>

9
src/views/modules/communityService/measure/detail.vue

@ -86,7 +86,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -123,6 +127,11 @@ export default {
},
methods: {
handleCancle () {
this.$emit('diaDetailClose')
},
initForm (row) {
this.dataForm = JSON.parse(JSON.stringify(row))
console.log(' this.dataForm', this.dataForm)

5
src/views/modules/communityService/measure/index.vue

@ -507,7 +507,8 @@
class="dialog-h"
:close-on-click-modal="false"
:before-close="detailFormCancle">
<detail ref="ref_form_detail"></detail>
<detail ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></detail>
</el-dialog>
</div>
</template>
@ -959,7 +960,7 @@ export default {
},
async handleLook (row, type) {
this.detailShow = true
console.log('row',row)
console.log('row', row)
this.$nextTick(() => {
this.$refs.ref_form_detail.initForm(row)
})

2
src/views/modules/communityService/ninePlaces/inspect/inspect.vue

@ -253,7 +253,7 @@
:gridList="gridList"
:resultList="resultList"
:placeTypeList="placeTypeList"
@dialogCancle="addFormCancle"></inspect-detail>
@diaDetailClose="diaDetailClose"></inspect-detail>
</el-dialog>
<!-- 复查记录弹出框 -->

100
src/views/modules/communityService/ninePlaces/inspect/inspectDetail.vue

@ -1,61 +1,59 @@
<template>
<div>
<div class="dialog-h-content scroll-h">
<div v-if="initLoading"
class="m-row">
<div class="m-info">
<div class="info-prop">
<span class="info-title-4">场所区域</span>
<span>{{ formData.gridName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">场所类型</span>
<span>{{ formData.placeOrgName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">场所名称</span>
<span>{{ formData.ninePlaceName||'--'}}</span>
</div>
<div class="info-prop">
<span class="info-title-4">分队名称</span>
<span>{{ formData.placePatrolTeamName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">检查人员</span>
<span>{{ formData.inspectorsNames||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">首次巡查时间</span>
<span>{{ formData.firstTime||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">隐患明细</span>
<span>{{ formData.detailed||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">首次检查结论</span>
<span>{{ formData.firstResult==='0'?'合格':'不合格' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">拟复查时间</span>
<span>{{ formData.reviewTime||'--' }}</span>
</div>
<div class="dialog-h-content scroll-h">
<div v-if="initLoading"
class="m-row">
<div class="m-info">
<div class="info-prop">
<span class="info-title-4">场所区域</span>
<span>{{ formData.gridName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">场所类型</span>
<span>{{ formData.placeOrgName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">场所名称</span>
<span>{{ formData.ninePlaceName||'--'}}</span>
</div>
<div class="info-prop">
<span class="info-title-4">分队名称</span>
<span>{{ formData.placePatrolTeamName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">检查人员</span>
<span>{{ formData.inspectorsNames||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">首次巡查时间</span>
<span>{{ formData.firstTime||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">隐患明细</span>
<span>{{ formData.detailed||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">首次检查结论</span>
<span>{{ formData.firstResult==='0'?'合格':'不合格' }}</span>
</div>
<div class="info-prop">
<span class="info-title-4">拟复查时间</span>
<span>{{ formData.reviewTime||'--' }}</span>
</div>
</div>
</div>
<!-- <div class="div_btn">
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
<el-button size="small"
v-if="formType != 'detail'"
type="primary"
:disabled="btnDisable"
@click="handleComfirm"> </el-button>
</div> -->
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -138,7 +136,7 @@ export default {
handleCancle () {
this.resetData()
this.$emit('dialogCancle')
this.$emit('diaDetailClose')
},

2
src/views/modules/communityService/ninePlaces/places/places.vue

@ -208,7 +208,7 @@
:agencyId="agencyId"
:scaleList="scaleList"
:placeTypeList="placeTypeList"
@dialogCancle="addFormCancle"></places-detail>
@diaDetailClose="diaDetailClose"></places-detail>
</el-dialog>
</div>

16
src/views/modules/communityService/ninePlaces/places/placesDetail.vue

@ -40,15 +40,11 @@
</div>
</div>
<!-- <div class="div_btn">
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
<el-button size="small"
v-if="formType != 'detail'"
type="primary"
:disabled="btnDisable"
@click="handleComfirm"> </el-button>
</div> -->
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -142,8 +138,8 @@ export default {
handleCancle () {
this.resetData()
this.$emit('dialogCancle')
this.$emit('diaDetailClose')
},

4
src/views/modules/communityService/ninePlaces/team/team.vue

@ -196,7 +196,7 @@
<team-detail ref="ref_detail"
:gridList="gridList"
:placeTypeList="placeTypeList"
@dialogCancle="addFormCancle"></team-detail>
@diaDetailClose="diaDetailClose"></team-detail>
</el-dialog>
</div>
@ -344,7 +344,7 @@ export default {
// this.formTitle = ''
this.detailShow = true
this.$nextTick(() => {
this.$refs.ref_detail.initForm( row.teamId, this.agencyId)
this.$refs.ref_detail.initForm(row.teamId, this.agencyId)
})
},

15
src/views/modules/communityService/ninePlaces/team/teamDetail.vue

@ -51,15 +51,11 @@
</div>
</div>
<!-- <div class="div_btn">
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
<el-button size="small"
v-if="formType != 'detail'"
type="primary"
:disabled="btnDisable"
@click="handleComfirm"> </el-button>
</div> -->
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -256,8 +252,7 @@ export default {
handleCancle () {
this.resetData()
this.$emit('dialogCancle')
this.$emit('diaDetailClose')
},

2
src/views/modules/communityService/worklog/workLog.vue

@ -258,7 +258,7 @@
class="dialog-h"
@closed="diaClose">
<work-log-detail ref="ref_detail"
@diaClose="diaClose"></work-log-detail>
@diaDetailClose="diaClose"></work-log-detail>
</el-dialog>
</div>

6
src/views/modules/communityService/worklog/workLogDetail.vue

@ -50,7 +50,11 @@
</div>
</div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div>
</template>
@ -74,7 +78,7 @@ export default {
methods: {
handleCancle () {
this.$emit('diaClose')
this.$emit('diaDetailClose')
},

77
src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue

@ -286,11 +286,36 @@
</el-form-item>
<br/>
<el-form-item label="合同附件" prop="fileList" label-width="140px">
<el-form-item label="合同照片" prop="fileList" label-width="140px">
<template>
<upload-image :defaultFileList="dataForm.fileList" :limit="6" @change="onChangeFileList"></upload-image>
</template>
</el-form-item>
<el-form-item label="合同附件" label-width="140px">
<template>
<el-upload
class="upload-demo"
multiple
:action="uploadUrl"
:data="{ customerId: customerId }"
:limit="limit"
:headers="$getElUploadHeaders()"
:on-success="(res, file) => handleFlieSuccess(res, file)"
:on-error="(res, file) => handleFlieError(res, file)"
:on-remove="(res) => handleFlieRemove(res)"
:on-exceed="(res) => handleFlieExceed(res)"
:before-upload="(file) => beforeFlieUpload(file)"
:on-preview="handlePreview"
:file-list="dataForm.docList">
<el-button size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip">只能上传合同文件</div>
</el-upload>
</template>
</el-form-item>
</el-form>
<template slot="footer">
<div class="resi-btns">
@ -355,7 +380,8 @@ export default {
idCardImgList: [],
unit: ''
}],
fileList: []
fileList: [],
docList: []
},
zzmmOptions: [
{ name: '党员', value: '党员' },
@ -391,7 +417,10 @@ export default {
buildingOptions: [],
unitOptions: [],
houseOptions: [],
agencyOptions: []
agencyOptions: [],
uploadUrl: `${window.SITE_CONFIG['apiURL']}/oss/file/uploadqrcodeV2`,
customerId: localStorage.getItem("customerId"),
limit: 3
}
},
computed: {
@ -537,6 +566,7 @@ export default {
unit: ''
}],
fileList: [],
docList: [],
agencyImgList: []
}
},
@ -866,6 +896,43 @@ export default {
this.editModeGetList()
}).catch(() => {})
},
handleFlieSuccess(res, file) {
if (res.code === 0 && res.msg === "success") {
let ob = {
fileType: '0',
fileUrl: file.response.data.url,
name: file.response.data.fileName
}
this.dataForm.docList.push(ob)
} else {
this.$message.error(res.msg)
}
},
handleFlieError(res, file) {
console.log(res)
},
handleFlieRemove(res) {
// console.log(JSON.stringify(res))
const delFile = res.fileUrl
this.dataForm.docList.forEach((item, key) => {
if (delFile == item.fileUrl) {
this.dataForm.docList.splice(key, 1)
}
})
},
handleFlieExceed(res) {
this.$message({
type: "warning",
message: `文件数量最多不超过${this.limit}`,
})
},
beforeFlieUpload(file) {
console.log(file)
},
handlePreview(file) {
window.open(file.fileUrl)
// console.log(JSON.stringify(file));
},
//
dataFormSubmitHandle: debounce(function () {
this.$refs['dataForm'].validate((valid) => {
@ -932,7 +999,9 @@ export default {
}
</style>
<style lang="scss" scoped>
::v-deep .el-upload-list__item.is-success.focusing .el-icon-close-tip {
display: none !important;
}
.div_btn {
display: flex;
justify-content: flex-end;

17
src/views/modules/plugins/rent/rentcontractinfo-look-or-check.vue

@ -117,13 +117,17 @@
</el-form-item>
<br/>
<el-form-item label="合同附件" prop="fileList">
<el-form-item label="合同照片" prop="fileList">
<template>
<label v-for="(item,index) in dataForm.fileList" :key="index">
<img :src="item.fileUrl" @click="imgShow(item.fileUrl)" width="100" height="100" />
</label>
</template>
</el-form-item>
<el-form-item label="合同附件">
<label v-for="(item,index) in dataForm.docList" :key="index" @click="downFile(item.fileUrl)" class="file-l">{{ item.name }}</label>
</el-form-item>
<el-form-item label="审核原因" prop="reason" v-if="dataForm.flag === '1' && dataForm.state === '2'">
<el-input v-model="dataForm.reason" placeholder="审核原因" disabled></el-input>
</el-form-item>
@ -184,7 +188,8 @@ export default {
lesseeHouseAddress: '',
signDate: '',
startDate: '',
endDate: ''
endDate: '',
docList: [],
},
dataListLoading: false,
dialogVisible: false,
@ -346,6 +351,9 @@ export default {
})
}).catch(() => {})
},
downFile(fileUrl) {
window.open(fileUrl)
},
//
dataFormSubmitHandle: debounce(function () {
this.$refs['dataForm'].validate((valid) => {
@ -376,6 +384,11 @@ export default {
margin-top: 20px;
text-align: center;
}
.file-l{
margin-right: 10px;
color: #3ebef7;
cursor: pointer;
}
</style>
<style lang="scss">
.rent {

3
src/views/modules/plugins/rent/upload-image.vue

@ -9,7 +9,8 @@
:on-error="(res, file) => handleImgError(res, file)"
:on-remove="(res) => handleImgRemove(res)"
:on-exceed="(res) => handleImgExceed(res)"
:before-upload="(file) => beforeImgUpload(file)">
:before-upload="(file) => beforeImgUpload(file)"
accept="image/jpg,image/jpeg,image/png">
<i slot="default" class="el-icon-plus"></i>
<div slot="file" slot-scope="{file}">
<img class="el-upload-list__item-thumbnail" :src="file.url" alt="">

4
src/views/modules/shequzhili/csgltc/csglDetail.vue

@ -48,11 +48,11 @@
</div>
</div>
<!-- <div class="div-btn">
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div> -->
</div>
</div>
</div>

6
src/views/modules/shequzhili/ggfwtc/ggfwDetail.vue

@ -51,11 +51,11 @@
</div>
</div>
<!-- <div class="div_btn">
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
@click="handleCancle"> </el-button>
</div> -->
</div>
</div>
</template>

24
src/views/modules/sys/icvaccineprarmeter-add-or-update.vue

@ -220,7 +220,8 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item v-if="dataForm.isVaccination === '0'" label="原因" label-width="150px">
<el-form-item label="原因" label-width="150px">
<!--<el-form-item v-if="dataForm.isVaccination === '0'" label="原因" label-width="150px">-->
<el-select class="item_width_2"
v-model.trim="dataForm.reason"
placeholder="请选择"
@ -337,6 +338,14 @@
return !this.dataForm.unitId
},
dataRule () {
var checkPhone = (rule, value, callback) => {
let moblie = /^1(3|4|5|6|7|8|9)\d{9}$/; let tel = /^(0[0-9]{2,3}\-)([2-9][0-9]{4,7})+(\-[0-9]{1,4})?$/
if (!moblie.test(this.dataForm.mobile) && !tel.test(this.dataForm.mobile)) {
return callback(new Error('请输入正确的手机号或座机号!'))
} else {
callback()
}
}
return {
customerId: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
@ -384,7 +393,8 @@
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
mobile: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
{ required: true, message: this.$t('validate.required'), trigger: 'blur' },
{ validator: checkPhone, trigger: 'blur' }
],
idCard: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
@ -728,16 +738,6 @@
setTimeout(() => {
this.btnDisable = false;
}, 10000);
//
const regPhone = /^1(3|4|5|6|7|8|9)\d{9}$/;
if (regPhone.test(this.dataForm.mobile) === false) {
this.btnDisable = false
this.$message({
type: 'warning',
message: '请输入正确的手机号码'
})
return false;
}
if(this.dataForm.isVaccination === '1'){
if(this.dataForm.firstVacTime === ''){
this.$message({

22
src/views/modules/visual/command/cpts/map.vue

@ -444,8 +444,8 @@ export default {
.size(12)
.style({
offsets: [0, 8], // [, ]
// rotation: 60,
layerType: "fillImage",
rotation: 0,
// layerType: "fillImage",
});
scene.addLayer(posLayer);
@ -516,6 +516,7 @@ export default {
iniMapDot(scene) {
const { darkStyle, lightStyle, dotIcoList, dotData } = this;
console.log("--------------------------图标", dotIcoList);
Object.keys(dotIcoList).forEach((k) => {
scene.addImage(k, dotIcoList[k]);
});
@ -531,18 +532,20 @@ export default {
strokeOpacity: 0.1,
stroke: "#000",
});
scene.addLayer(dotBgLayer);
dotLayer = new PointLayer({
zIndex: 21,
zIndex: 20,
})
.source(dotData)
.shape("categoryKey", (k) => k)
.size(10)
.style({
offsets: [0, 0],
rotation: 0,
layerType: "fillImage",
});
})
.size(10);
scene.addLayer(dotBgLayer);
scene.addLayer(dotLayer);
dotBgLayer.on("click", (e) => {
@ -567,15 +570,16 @@ export default {
});
dotLayer2 = new PointLayer({
zIndex: 31,
zIndex: 30,
})
.source(dotData)
.shape("categoryKey", (k) => k + "2")
.size(30)
.style({
offsets: [0, 0],
rotation: 0,
layerType: "fillImage",
});
})
.size(30);
scene.addLayer(dotLayer2);
dotLayer2.on("click", (e) => {

4
src/views/modules/visual/command/index.vue

@ -334,7 +334,7 @@ export default {
yjdw: require("@/assets/img/shuju/command/ico/yjdw.png"),
sr_gy: require("@/assets/img/shuju/command/ico/sr_gy.png"),
sr_gc: require("@/assets/img/shuju/command/ico/sr_gc.png"),
sr_gc: require("@/assets/img/shuju/grid/sr_gc.png"),
whdw: require("@/assets/img/shuju/command/ico/whdw.png"),
sr_ggld: require("@/assets/img/shuju/command/ico/sr_ggld.png"),
lwh: require("@/assets/img/shuju/command/ico/lwh.png"),
@ -424,7 +424,7 @@ export default {
IS_DB: require("@/assets/img/shuju/command/ico3/IS_DB.png"),
IS_MB: require("@/assets/img/shuju/command/ico3/IS_MB.png"),
anzhibangjiao: require("@/assets/img/shuju/command/ico3/anzhibangjiao.png"),
IS_KC: require("@/assets/img/shuju/command/ico3/IS_KC.png"),
IS_KC: require("@/assets/img/shuju/grid/IS_KC.png"),
IS_XFRY: require("@/assets/img/shuju/command/ico3/IS_XFRY.png"),
IS_SD: require("@/assets/img/shuju/command/ico3/IS_SD.png"),
IS_SN: require("@/assets/img/shuju/command/ico3/IS_SN.png"),

2
src/views/modules/visual/cpts/map/index.vue

@ -408,7 +408,7 @@ export default {
.style({
offsets: [0, 8], // [, ]
// rotation: 60,
layerType: "fillImage",
// layerType: "fillImage",
});
scene.addLayer(posLayer);

Loading…
Cancel
Save