Browse Source

Merge branch 'dev-220411' into test

shibei_master
dai 3 years ago
parent
commit
1ca8bad9d6
  1. 108
      src/views/modules/communityService/dqfwzx/cpts/edit.vue
  2. 2
      src/views/modules/communityService/dqfwzx/index.vue
  3. 5
      src/views/modules/visual/basicinfo/people.vue
  4. 5
      src/views/modules/visual/basicinfo/peopleList.vue

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

@ -176,15 +176,40 @@
<div class="item-info">
<el-input
class="item_width_1"
style="width: 150px"
maxlength="50"
show-word-limit
placeholder="事项名"
v-model="item.matterName"
: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
style="margin-left: 10px"
style="width: 150px; margin-left: 0"
v-model="item.appointmentType"
filterable
placeholder="预约类型"
@ -200,7 +225,7 @@
</el-select>
<el-time-select
style="margin-left: 10px"
style="width: 120px; margin-left: 20px"
v-model="item.startTime"
:picker-options="{
start: '00:00',
@ -213,6 +238,7 @@
</el-time-select>
<span style="margin: 0 5px"></span>
<el-time-select
style="width: 120px"
v-model="item.endTime"
:picker-options="{
start: '00:00',
@ -224,33 +250,8 @@
:disabled="item.matterId != undefined"
>
</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
style="margin-left: auto"
style="margin-left: 20px"
size="small"
@click="handleDelStaff(index)"
>删除</el-button
@ -637,28 +638,24 @@ export default {
<style lang="scss" scoped>
.m-staffs {
margin-left: auto;
width: 950px;
width: 520px;
.item {
display: flex;
// display: flex;
// align-items: flex-start;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 4px dashed #f7f8f9;
.item-info {
display: flex;
margin: 0 20px;
width: 65%;
justify-content: space-around;
align-items: center;
margin-bottom: 7px;
}
.item-pic {
display: flex;
width: 35%;
align-items: center;
.hint {
font-size: 14px;
color: #999999;
margin-left: 10px;
}
align-items: flex-start;
margin: 0 0;
// margin-bottom: 7px;
.avatar-uploader {
margin: 0 0 0 20px;
::v-deep .el-upload {
cursor: pointer;
position: relative;
@ -671,8 +668,8 @@ export default {
border-color: #409eff;
}
.avatar {
width: 50px;
height: 50px;
width: 36px;
height: 36px;
display: block;
}
.avatar-uploader-icon {
@ -680,12 +677,23 @@ export default {
border-radius: 6px;
font-size: 28px;
color: #8c939d;
width: 50px;
height: 50px;
line-height: 50px;
width: 36px;
height: 36px;
line-height: 36px;
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-press-escape="false"
:title="formTitle"
width="1150px"
width="850px"
top="5vh"
class="dialog-h"
@closed="handleClose"

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

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

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

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

Loading…
Cancel
Save