Browse Source

dd

shibei_master
13176889840 3 years ago
parent
commit
e53f69f0c4
  1. 11
      src/views/modules/base/resi.vue
  2. 5
      src/views/modules/communityParty/elegant/index.vue
  3. 2
      src/views/modules/communityService/measure/index.vue
  4. 2
      src/views/modules/communityService/sqzzz/index.vue
  5. 2
      src/views/modules/workPc/guidance/guidanceList.vue
  6. 2
      src/views/modules/workSys/demandCate.vue
  7. 6
      src/views/modules/workSys/resiCate.vue

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save