Browse Source

Merge branch 'dev-220411' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into dev-220411

shibei_master
jiangyy 3 years ago
parent
commit
9905cf2eab
  1. 6
      src/router/index.js
  2. 108
      src/views/modules/communityService/dqfwzx/cpts/edit.vue
  3. 2
      src/views/modules/communityService/dqfwzx/index.vue
  4. 5
      src/views/modules/visual/basicinfo/people.vue
  5. 31
      src/views/modules/visual/basicinfo/peopleList.vue
  6. 2
      src/views/modules/visual/measure/dialogInfo.vue
  7. 2
      src/views/modules/visual/measure/service.vue

6
src/router/index.js

@ -115,7 +115,7 @@ export const moduleShujuRoutes = {
name: "home2", name: "home2",
meta: { meta: {
title: "主页2", title: "主页2",
isTab: true, isTab: false,
}, },
}, },
{ {
@ -125,7 +125,7 @@ export const moduleShujuRoutes = {
name: "visual-basicinfo-people", name: "visual-basicinfo-people",
meta: { meta: {
title: "个人详情", title: "个人详情",
isTab: true, isTab: false,
}, },
}, },
{ {
@ -135,7 +135,7 @@ export const moduleShujuRoutes = {
name: "visual-basicinfo-people-list", name: "visual-basicinfo-people-list",
meta: { meta: {
title: "人员列表", title: "人员列表",
isTab: true, isTab: false,
}, },
}, },
], ],

108
src/views/modules/communityService/dqfwzx/cpts/edit.vue

@ -176,15 +176,40 @@
<div class="item-info"> <div class="item-info">
<el-input <el-input
class="item_width_1" class="item_width_1"
style="width: 150px"
maxlength="50" maxlength="50"
show-word-limit show-word-limit
placeholder="事项名" placeholder="事项名"
v-model="item.matterName" v-model="item.matterName"
:disabled="item.matterId != undefined" :disabled="item.matterId != undefined"
/> />
<el-upload
:disabled="item.matterId != undefined"
class="avatar-uploader"
:action="uploadUlr"
:data="{ customerId: customerId }"
:show-file-list="false"
:on-success="
(response, file, fileList) =>
handleImgSuccess(index, response, file, fileList)
"
:before-upload="beforeImgUpload"
>
<img
v-if="item.matterImg"
:src="item.matterImg"
style="width: 36px; height: 36px"
class="function-icon"
/>
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload>
<div class="hint">事项封面图片小于1M</div>
</div>
<div class="item-pic">
<el-select <el-select
style="margin-left: 10px" style="width: 150px; margin-left: 0"
v-model="item.appointmentType" v-model="item.appointmentType"
filterable filterable
placeholder="预约类型" placeholder="预约类型"
@ -200,7 +225,7 @@
</el-select> </el-select>
<el-time-select <el-time-select
style="margin-left: 10px" style="width: 120px; margin-left: 20px"
v-model="item.startTime" v-model="item.startTime"
:picker-options="{ :picker-options="{
start: '00:00', start: '00:00',
@ -213,6 +238,7 @@
</el-time-select> </el-time-select>
<span style="margin: 0 5px"></span> <span style="margin: 0 5px"></span>
<el-time-select <el-time-select
style="width: 120px"
v-model="item.endTime" v-model="item.endTime"
:picker-options="{ :picker-options="{
start: '00:00', start: '00:00',
@ -224,33 +250,8 @@
:disabled="item.matterId != undefined" :disabled="item.matterId != undefined"
> >
</el-time-select> </el-time-select>
</div>
<div class="item-pic">
<el-upload
:disabled="item.matterId != undefined"
class="avatar-uploader"
:action="uploadUlr"
:data="{ customerId: customerId }"
:show-file-list="false"
:on-success="
(response, file, fileList) =>
handleImgSuccess(index, response, file, fileList)
"
:before-upload="beforeImgUpload"
>
<img
v-if="item.matterImg"
:src="item.matterImg"
style="width: 50px; height: 50px"
class="function-icon"
/>
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
</el-upload>
<div class="hint">事项封面图片小于1M</div>
<el-button <el-button
style="margin-left: auto" style="margin-left: 20px"
size="small" size="small"
@click="handleDelStaff(index)" @click="handleDelStaff(index)"
>删除</el-button >删除</el-button
@ -637,28 +638,24 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.m-staffs { .m-staffs {
margin-left: auto; margin-left: auto;
width: 950px; width: 520px;
.item { .item {
display: flex; // display: flex;
// align-items: flex-start;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 4px dashed #f7f8f9;
.item-info { .item-info {
display: flex; display: flex;
margin: 0 20px; align-items: flex-start;
width: 65%; margin: 0 0;
justify-content: space-around; // margin-bottom: 7px;
align-items: center;
margin-bottom: 7px;
}
.item-pic {
display: flex;
width: 35%;
align-items: center;
.hint {
font-size: 14px;
color: #999999;
margin-left: 10px;
}
.avatar-uploader { .avatar-uploader {
margin: 0 0 0 20px;
::v-deep .el-upload { ::v-deep .el-upload {
cursor: pointer; cursor: pointer;
position: relative; position: relative;
@ -671,8 +668,8 @@ export default {
border-color: #409eff; border-color: #409eff;
} }
.avatar { .avatar {
width: 50px; width: 36px;
height: 50px; height: 36px;
display: block; display: block;
} }
.avatar-uploader-icon { .avatar-uploader-icon {
@ -680,12 +677,23 @@ export default {
border-radius: 6px; border-radius: 6px;
font-size: 28px; font-size: 28px;
color: #8c939d; color: #8c939d;
width: 50px; width: 36px;
height: 50px; height: 36px;
line-height: 50px; line-height: 36px;
text-align: center; text-align: center;
} }
} }
.hint {
// width: 75%;
font-size: 14px;
color: #999999;
margin-left: 0;
}
}
.item-pic {
display: flex;
align-items: center;
// justify-content: space-around;
} }
} }
} }

2
src/views/modules/communityService/dqfwzx/index.vue

@ -106,7 +106,7 @@
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
:title="formTitle" :title="formTitle"
width="1150px" width="850px"
top="5vh" top="5vh"
class="dialog-h" class="dialog-h"
@closed="handleClose" @closed="handleClose"

5
src/views/modules/visual/basicinfo/people.vue

@ -791,6 +791,11 @@ export default {
color: #fff; color: #fff;
} }
} }
::v-deep .el-breadcrumb__item:first-child {
.el-breadcrumb__inner {
color: #a0c3d9;
}
}
} }
</style> </style>

31
src/views/modules/visual/basicinfo/peopleList.vue

@ -68,16 +68,15 @@
</div> </div>
</div> </div>
<div class="pagination">
</div> <el-pagination background
<div class="pagination"> layout="prev, pager, next, total"
<el-pagination background :current-page="pageNo"
layout="prev, pager, next, total" :page-size="pageSize"
:current-page="pageNo" :total="total"
:page-size="pageSize" @current-change="pageCurrentChangeHandle">
:total="total" </el-pagination>
@current-change="pageCurrentChangeHandle"> </div>
</el-pagination>
</div> </div>
</div> </div>
@ -112,7 +111,7 @@ export default {
headerList: [], headerList: [],
tableData: [], tableData: [],
searchName: '', searchName: '',
pageSize: 7, pageSize: 10,
pageNo: 1, pageNo: 1,
total: 0, total: 0,
orgLevel: 'search', orgLevel: 'search',
@ -236,8 +235,13 @@ export default {
height: 780px; height: 780px;
margin: 20px auto; margin: 20px auto;
} }
.warning-table {
height: 640px;
}
.pagination { .pagination {
padding-right: 0;
margin-top: 0; margin-top: 0;
text-align: right;
} }
.g-bread { .g-bread {
padding: 10px 20px; padding: 10px 20px;
@ -247,5 +251,10 @@ export default {
color: #fff; color: #fff;
} }
} }
::v-deep .el-breadcrumb__item:first-child {
.el-breadcrumb__inner {
color: #a0c3d9;
}
}
} }
</style> </style>

2
src/views/modules/visual/measure/dialogInfo.vue

@ -92,7 +92,7 @@
</div> </div>
</div> </div>
<div style="padding: 30px 0"> <div style="padding: 30px 0; display: flex; justify-content: center;">
<analyse <analyse
v-if="!loading" v-if="!loading"
:single-list="demandList" :single-list="demandList"

2
src/views/modules/visual/measure/service.vue

@ -255,7 +255,7 @@ export default {
if (item.legendCode == 'unfinished') { if (item.legendCode == 'unfinished') {
desc += `<div><span>尚有 ${item.serviceDemandTotal} 个需求未完成</span></div>` desc += `<div><span>尚有 ${item.serviceDemandTotal} 个需求未完成</span></div>`
}else { }else {
desc += `<div><span>共有 ${item.totalService} ${unit} ${item.legendName} 完成需求 ${item.serviceDemandTotal} 个</span></div>` desc += `<div><span>共有 ${item.totalService} ${unit} ${item.legendName} 完成 ${item.serviceDemandTotal}需求</span></div>`
} }
}) })

Loading…
Cancel
Save