Browse Source

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

shibei_master
dai 3 years ago
parent
commit
631e7c37be
  1. 2
      src/assets/scss/modules/visual/personCategory.scss
  2. 11
      src/views/modules/base/resi.vue
  3. 5
      src/views/modules/communityParty/elegant/index.vue
  4. 2
      src/views/modules/communityService/measure/index.vue
  5. 2
      src/views/modules/communityService/sqzzz/index.vue
  6. 4
      src/views/modules/visual/basicinfo/personCategory/index.vue
  7. 2
      src/views/modules/workPc/guidance/guidanceList.vue
  8. 2
      src/views/modules/workSys/demandCate.vue
  9. 6
      src/views/modules/workSys/resiCate.vue

2
src/assets/scss/modules/visual/personCategory.scss

@ -89,7 +89,7 @@
} }
.item_right { .item_right {
width: 160px; width: 110px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: space-between; align-items: space-between;

11
src/views/modules/base/resi.vue

@ -64,6 +64,7 @@
align="center" align="center"
:fixed="item.columnName == 'NAME' ? 'left' : false" :fixed="item.columnName == 'NAME' ? 'left' : false"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
:width="item.width || computedWidth(item.label, item.itemType)"
> >
<!-- :width="item.itemType === 'radio' ? computedWidth(item.label) : 180" --> <!-- :width="item.itemType === 'radio' ? computedWidth(item.label) : 180" -->
<template slot-scope="scope"> <template slot-scope="scope">
@ -96,7 +97,7 @@
<el-button @click="handleEdit(scope.row)" <el-button @click="handleEdit(scope.row)"
type="text" type="text"
size="small" size="small"
class="div-table-button--edit">编辑</el-button> class="div-table-button--edit">修改</el-button>
<el-popconfirm title="删除之后无法回复,确认删除?" <el-popconfirm title="删除之后无法回复,确认删除?"
@onConfirm="handleDel(scope.row)"> @onConfirm="handleDel(scope.row)">
<!-- <el-button slot="reference" <!-- <el-button slot="reference"
@ -390,8 +391,12 @@ export default {
this.tranferShow = false this.tranferShow = false
this.getTableData() this.getTableData()
}, },
computedWidth (label) { computedWidth (label, type) {
const wd = 20 * label.length
let wd = ''
if (type == 'input' || type == 'select') wd = 40 * label.length
else if(type == 'radio') wd = 20 * label.length
console.log('type-----wd', wd)
return wd > 80 ? wd : 80 return wd > 80 ? wd : 80
}, },
filterEdit (id) { filterEdit (id) {

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

@ -107,7 +107,7 @@
type="text" type="text"
size="small" size="small"
class="btn-color-edit" class="btn-color-edit"
>编辑</el-button >修改</el-button
> >
<el-popconfirm <el-popconfirm
title="删除之后无法恢复,确认删除?" title="删除之后无法恢复,确认删除?"
@ -201,7 +201,7 @@
<i class="el-icon-delete" @click="handleDelimg(item, index)"></i> <i class="el-icon-delete" @click="handleDelimg(item, index)"></i>
</div> </div>
<el-upload class="avatar-uploader" <el-upload class="avatar-uploader"
v-if="form.imageList.length < 3" v-if="form.imageList.length < 3 && !disabled"
:action="uploadUlr" :action="uploadUlr"
:data="{customerId:customerId}" :data="{customerId:customerId}"
:show-file-list="false" :show-file-list="false"
@ -219,6 +219,7 @@
<div class="resi-btns"> <div class="resi-btns">
<el-button size="small" @click="handlerCancle">取消</el-button> <el-button size="small" @click="handlerCancle">取消</el-button>
<el-button <el-button
v-if="!disabled"
type="primary" type="primary"
size="small" size="small"
:loading="btnLoading" :loading="btnLoading"

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

@ -221,7 +221,7 @@
type="text" type="text"
size="small" size="small"
class="btn-color-edit" class="btn-color-edit"
>编辑</el-button >修改</el-button
> >
<el-popconfirm <el-popconfirm
title="取消之后无法恢复,确认取消?" title="取消之后无法恢复,确认取消?"

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

@ -107,7 +107,7 @@
type="text" type="text"
size="small" size="small"
class="div-table-button--edit" class="div-table-button--edit"
>编辑</el-button >修改</el-button
> >
<el-popconfirm <el-popconfirm

4
src/views/modules/visual/basicinfo/personCategory/index.vue

@ -49,7 +49,7 @@
<div class="item_left">较上月</div> <div class="item_left">较上月</div>
<div class="item_right"> <div class="item_right">
<div class="item_right_row"> <div class="item_right_row">
<div class="item_right_title">新人员增加</div> <div class="item_right_title">增加</div>
<div> <div>
<span v-if=" item.immigration!==0">{{ "+" }}</span> <span v-if=" item.immigration!==0">{{ "+" }}</span>
<span>{{ item.immigration }}</span> <span>{{ item.immigration }}</span>
@ -58,7 +58,7 @@
</div> </div>
<div class="item_right_row row2"> <div class="item_right_row row2">
<div class="item_right_title">原人员减少</div> <div class="item_right_title">减少</div>
<div> <div>
<span v-if=" item.emigration!==0">{{ "-" }}</span> <span v-if=" item.emigration!==0">{{ "-" }}</span>
<span>{{ item.emigration }}</span> <span>{{ item.emigration }}</span>

2
src/views/modules/workPc/guidance/guidanceList.vue

@ -147,7 +147,7 @@ export default {
} }
}, },
{ {
lable: '编辑', // lable: '修改', //
size: 'mini', size: 'mini',
style: 'margin: 0 6px;', style: 'margin: 0 6px;',
type: 'text', type: 'text',

2
src/views/modules/workSys/demandCate.vue

@ -78,7 +78,7 @@
<el-button @click="handleEdit(scope.row, 'edit')" <el-button @click="handleEdit(scope.row, 'edit')"
type="text" type="text"
size="small" size="small"
class="div-table-button--edit">编辑</el-button> class="div-table-button--edit">修改</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

6
src/views/modules/workSys/resiCate.vue

@ -64,7 +64,7 @@
:prop="item.columnName" :prop="item.columnName"
:label="item.label" :label="item.label"
align="center" align="center"
width="180" min-width="180"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-image <el-image
@ -75,7 +75,7 @@
<span v-else>{{ handleFilterSpan(scope.row, item) }}</span> <span v-else>{{ handleFilterSpan(scope.row, item) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" align="center" width="120"> <el-table-column label="操作" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
@click="handleLook(scope.row)" @click="handleLook(scope.row)"
@ -89,7 +89,7 @@
type="text" type="text"
size="small" size="small"
class="div-table-button--edit" class="div-table-button--edit"
>编辑</el-button >修改</el-button
> >
</template> </template>
</el-table-column> </el-table-column>

Loading…
Cancel
Save