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. 3103
      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" "et:list": "gulp themes"
}, },
"dependencies": { "dependencies": {
"@antv/l7": "^2.9.14", "@antv/l7": "2.9.14",
"@antv/l7-draw": "^3.0.5", "@antv/l7-draw": "3.0.5",
"@antv/l7-maps": "^2.9.14", "@antv/l7-maps": "2.9.14",
"@riophae/vue-treeselect": "^0.4.0", "@riophae/vue-treeselect": "^0.4.0",
"@tinymce/tinymce-vue": "^3.2.8", "@tinymce/tinymce-vue": "^3.2.8",
"async-validator": "^4.2.5", "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{ .div-btn{
margin-top:50px; margin-top:30px;
// margin-bottom:20px; // margin-bottom:20px;
display: flex; display: flex;
justify-content: center; justify-content: center;

6
src/router/index.js

@ -121,20 +121,20 @@ function cookApiDataItem(item) {
function n2one(v) { function n2one(v) {
let ret = []; let ret = [];
for (let i = 0; i < v.length; i++) { for (let i = 0; i < v.length; i++) {
console.log("xxxxx", v[i]); // console.log("xxxxx", v[i]);
ret.push(v[i]); ret.push(v[i]);
if (Array.isArray(v[i].children) && v[i].children.length > 0) { if (Array.isArray(v[i].children) && v[i].children.length > 0) {
ret.push(...n2one(v[i].children)); ret.push(...n2one(v[i].children));
} }
} }
console.log("aaaa", ret); // console.log("aaaa", ret);
return ret; return ret;
} }
let allChildrenUrl = n2one(item.children) let allChildrenUrl = n2one(item.children)
.filter((i) => i.url != "" && i.showFlag == 1) .filter((i) => i.url != "" && i.showFlag == 1)
.map((i) => i.url); .map((i) => i.url);
console.log("))))))))))))", allChildrenUrl); // console.log("))))))))))))", allChildrenUrl);
if (item.children.length > 0) { if (item.children.length > 0) {
if (item.url == "" || !allChildrenUrl.find((i) => i.url == item.url)) { 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> </div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div> </div>
</template> </template>
@ -120,6 +124,11 @@ export default {
}, },
methods: { methods: {
handleCancle () {
this.diaDestroy()
this.$emit('diaDetailClose')
},
diaDestroy () { diaDestroy () {
if (map) { if (map) {
map.destroy() map.destroy()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -50,7 +50,7 @@
</div> </div>
<div class="info-prop"> <div class="info-prop">
<span class="info-title-3">附件</span> <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> :fileList="formData.attachmentList"></file-list>
<span v-else>--</span> <span v-else>--</span>
@ -60,7 +60,11 @@
</div> </div>
</div> </div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div> </div>
</template> </template>
@ -275,8 +279,8 @@ export default {
}, },
handleCancle () { 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" <activitys-detail ref="ref_detail"
:serviceList="serviceList" :serviceList="serviceList"
:gridList="gridList" :gridList="gridList"
@diaClose="diaClose"></activitys-detail> @diaDetailClose="detailClosed"></activitys-detail>
</el-dialog> </el-dialog>
</div> </div>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,61 +1,59 @@
<template> <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>
</div> </div>
<!-- <div class="div_btn"> <div class="div-btn">
<el-button size="small" <el-button size="small"
@click="handleCancle"> </el-button> @click="handleCancle"> </el-button>
<el-button size="small"
v-if="formType != 'detail'" </div>
type="primary"
:disabled="btnDisable"
@click="handleComfirm"> </el-button>
</div> -->
</div> </div>
</template> </template>
@ -138,7 +136,7 @@ export default {
handleCancle () { handleCancle () {
this.resetData() this.resetData()
this.$emit('dialogCancle') this.$emit('diaDetailClose')
}, },

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

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

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

@ -40,15 +40,11 @@
</div> </div>
</div> </div>
<!-- <div class="div_btn"> <div class="div-btn">
<el-button size="small" <el-button size="small"
@click="handleCancle"> </el-button> @click="handleCancle"> </el-button>
<el-button size="small"
v-if="formType != 'detail'" </div>
type="primary"
:disabled="btnDisable"
@click="handleComfirm"> </el-button>
</div> -->
</div> </div>
</template> </template>
@ -142,8 +138,8 @@ export default {
handleCancle () { 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" <team-detail ref="ref_detail"
:gridList="gridList" :gridList="gridList"
:placeTypeList="placeTypeList" :placeTypeList="placeTypeList"
@dialogCancle="addFormCancle"></team-detail> @diaDetailClose="diaDetailClose"></team-detail>
</el-dialog> </el-dialog>
</div> </div>
@ -344,7 +344,7 @@ export default {
// this.formTitle = '' // this.formTitle = ''
this.detailShow = true this.detailShow = true
this.$nextTick(() => { 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> </div>
<!-- <div class="div_btn"> <div class="div-btn">
<el-button size="small" <el-button size="small"
@click="handleCancle"> </el-button> @click="handleCancle"> </el-button>
<el-button size="small"
v-if="formType != 'detail'" </div>
type="primary"
:disabled="btnDisable"
@click="handleComfirm"> </el-button>
</div> -->
</div> </div>
</template> </template>
@ -256,8 +252,7 @@ export default {
handleCancle () { handleCancle () {
this.resetData() this.$emit('diaDetailClose')
this.$emit('dialogCancle')
}, },

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

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

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

@ -50,7 +50,11 @@
</div> </div>
</div> </div>
<div class="div-btn">
<el-button size="small"
@click="handleCancle"> </el-button>
</div>
</div> </div>
</template> </template>
@ -74,7 +78,7 @@ export default {
methods: { methods: {
handleCancle () { 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> </el-form-item>
<br/> <br/>
<el-form-item label="合同附件" prop="fileList" label-width="140px"> <el-form-item label="合同照片" prop="fileList" label-width="140px">
<template> <template>
<upload-image :defaultFileList="dataForm.fileList" :limit="6" @change="onChangeFileList"></upload-image> <upload-image :defaultFileList="dataForm.fileList" :limit="6" @change="onChangeFileList"></upload-image>
</template> </template>
</el-form-item> </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> </el-form>
<template slot="footer"> <template slot="footer">
<div class="resi-btns"> <div class="resi-btns">
@ -355,7 +380,8 @@ export default {
idCardImgList: [], idCardImgList: [],
unit: '' unit: ''
}], }],
fileList: [] fileList: [],
docList: []
}, },
zzmmOptions: [ zzmmOptions: [
{ name: '党员', value: '党员' }, { name: '党员', value: '党员' },
@ -391,7 +417,10 @@ export default {
buildingOptions: [], buildingOptions: [],
unitOptions: [], unitOptions: [],
houseOptions: [], houseOptions: [],
agencyOptions: [] agencyOptions: [],
uploadUrl: `${window.SITE_CONFIG['apiURL']}/oss/file/uploadqrcodeV2`,
customerId: localStorage.getItem("customerId"),
limit: 3
} }
}, },
computed: { computed: {
@ -537,6 +566,7 @@ export default {
unit: '' unit: ''
}], }],
fileList: [], fileList: [],
docList: [],
agencyImgList: [] agencyImgList: []
} }
}, },
@ -866,6 +896,43 @@ export default {
this.editModeGetList() this.editModeGetList()
}).catch(() => {}) }).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 () { dataFormSubmitHandle: debounce(function () {
this.$refs['dataForm'].validate((valid) => { this.$refs['dataForm'].validate((valid) => {
@ -932,7 +999,9 @@ export default {
} }
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-upload-list__item.is-success.focusing .el-icon-close-tip {
display: none !important;
}
.div_btn { .div_btn {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;

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

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

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

@ -9,7 +9,8 @@
:on-error="(res, file) => handleImgError(res, file)" :on-error="(res, file) => handleImgError(res, file)"
:on-remove="(res) => handleImgRemove(res)" :on-remove="(res) => handleImgRemove(res)"
:on-exceed="(res) => handleImgExceed(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> <i slot="default" class="el-icon-plus"></i>
<div slot="file" slot-scope="{file}"> <div slot="file" slot-scope="{file}">
<img class="el-upload-list__item-thumbnail" :src="file.url" alt=""> <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> </div>
<!-- <div class="div-btn"> <div class="div-btn">
<el-button size="small" <el-button size="small"
@click="handleCancle"> </el-button> @click="handleCancle"> </el-button>
</div> --> </div>
</div> </div>
</div> </div>

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

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

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

@ -220,7 +220,8 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </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" <el-select class="item_width_2"
v-model.trim="dataForm.reason" v-model.trim="dataForm.reason"
placeholder="请选择" placeholder="请选择"
@ -337,6 +338,14 @@
return !this.dataForm.unitId return !this.dataForm.unitId
}, },
dataRule () { 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 { return {
customerId: [ customerId: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: true, message: this.$t('validate.required'), trigger: 'blur' }
@ -384,7 +393,8 @@
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: true, message: this.$t('validate.required'), trigger: 'blur' }
], ],
mobile: [ mobile: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: true, message: this.$t('validate.required'), trigger: 'blur' },
{ validator: checkPhone, trigger: 'blur' }
], ],
idCard: [ idCard: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: true, message: this.$t('validate.required'), trigger: 'blur' }
@ -728,16 +738,6 @@
setTimeout(() => { setTimeout(() => {
this.btnDisable = false; this.btnDisable = false;
}, 10000); }, 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.isVaccination === '1'){
if(this.dataForm.firstVacTime === ''){ if(this.dataForm.firstVacTime === ''){
this.$message({ this.$message({

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

@ -444,8 +444,8 @@ export default {
.size(12) .size(12)
.style({ .style({
offsets: [0, 8], // [, ] offsets: [0, 8], // [, ]
// rotation: 60, rotation: 0,
layerType: "fillImage", // layerType: "fillImage",
}); });
scene.addLayer(posLayer); scene.addLayer(posLayer);
@ -516,6 +516,7 @@ export default {
iniMapDot(scene) { iniMapDot(scene) {
const { darkStyle, lightStyle, dotIcoList, dotData } = this; const { darkStyle, lightStyle, dotIcoList, dotData } = this;
console.log("--------------------------图标", dotIcoList);
Object.keys(dotIcoList).forEach((k) => { Object.keys(dotIcoList).forEach((k) => {
scene.addImage(k, dotIcoList[k]); scene.addImage(k, dotIcoList[k]);
}); });
@ -531,18 +532,20 @@ export default {
strokeOpacity: 0.1, strokeOpacity: 0.1,
stroke: "#000", stroke: "#000",
}); });
scene.addLayer(dotBgLayer);
dotLayer = new PointLayer({ dotLayer = new PointLayer({
zIndex: 21, zIndex: 20,
}) })
.source(dotData) .source(dotData)
.shape("categoryKey", (k) => k) .shape("categoryKey", (k) => k)
.size(10)
.style({ .style({
offsets: [0, 0], offsets: [0, 0],
rotation: 0,
layerType: "fillImage", layerType: "fillImage",
}); })
.size(10);
scene.addLayer(dotBgLayer);
scene.addLayer(dotLayer); scene.addLayer(dotLayer);
dotBgLayer.on("click", (e) => { dotBgLayer.on("click", (e) => {
@ -567,15 +570,16 @@ export default {
}); });
dotLayer2 = new PointLayer({ dotLayer2 = new PointLayer({
zIndex: 31, zIndex: 30,
}) })
.source(dotData) .source(dotData)
.shape("categoryKey", (k) => k + "2") .shape("categoryKey", (k) => k + "2")
.size(30)
.style({ .style({
offsets: [0, 0], offsets: [0, 0],
rotation: 0,
layerType: "fillImage", layerType: "fillImage",
}); })
.size(30);
scene.addLayer(dotLayer2); scene.addLayer(dotLayer2);
dotLayer2.on("click", (e) => { 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"), yjdw: require("@/assets/img/shuju/command/ico/yjdw.png"),
sr_gy: require("@/assets/img/shuju/command/ico/sr_gy.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"), whdw: require("@/assets/img/shuju/command/ico/whdw.png"),
sr_ggld: require("@/assets/img/shuju/command/ico/sr_ggld.png"), sr_ggld: require("@/assets/img/shuju/command/ico/sr_ggld.png"),
lwh: require("@/assets/img/shuju/command/ico/lwh.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_DB: require("@/assets/img/shuju/command/ico3/IS_DB.png"),
IS_MB: require("@/assets/img/shuju/command/ico3/IS_MB.png"), IS_MB: require("@/assets/img/shuju/command/ico3/IS_MB.png"),
anzhibangjiao: require("@/assets/img/shuju/command/ico3/anzhibangjiao.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_XFRY: require("@/assets/img/shuju/command/ico3/IS_XFRY.png"),
IS_SD: require("@/assets/img/shuju/command/ico3/IS_SD.png"), IS_SD: require("@/assets/img/shuju/command/ico3/IS_SD.png"),
IS_SN: require("@/assets/img/shuju/command/ico3/IS_SN.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({ .style({
offsets: [0, 8], // [, ] offsets: [0, 8], // [, ]
// rotation: 60, // rotation: 60,
layerType: "fillImage", // layerType: "fillImage",
}); });
scene.addLayer(posLayer); scene.addLayer(posLayer);

Loading…
Cancel
Save