Browse Source

dd

shibei_master
13176889840 3 years ago
parent
commit
dcedaa80d4
  1. 8
      src/views/components/CTable.vue
  2. 4
      src/views/modules/communityService/measure/index.vue
  3. 9
      src/views/modules/workPc/guidance/guidanceList.vue
  4. 2
      src/views/modules/workSys/resiCate.vue

8
src/views/components/CTable.vue

@ -93,10 +93,10 @@
<el-button v-for="item in operations" <el-button v-for="item in operations"
v-show="item.isShow(scope.row)" v-show="item.isShow(scope.row)"
:key="item.lable" :key="item.lable"
:style=item.style :type="item.type"
:type=item.type :style="item.style"
:size=item.size :size="item.size"
:plain=item.plain :class="item.class"
@click.stop="handleMethod(scope.$index, scope.row,item.methodName)">{{item.lable}}</el-button> @click.stop="handleMethod(scope.$index, scope.row,item.methodName)">{{item.lable}}</el-button>
</template> </template>
</el-table-column> </el-table-column>

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

@ -163,14 +163,14 @@
:prop="item.columnName" :prop="item.columnName"
:label="item.label" :label="item.label"
:align="item.align" :align="item.align"
:width="item.width" :min-width="item.width"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ handleFilterSpan(scope.row, item) }}</span> <span>{{ handleFilterSpan(scope.row, item) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="200"> <el-table-column fixed="right" label="操作" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="filterEdit(scope.row.agencyId)"> <template v-if="filterEdit(scope.row.agencyId)">
<el-button <el-button

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

@ -136,11 +136,12 @@ export default {
operations: [ operations: [
{ {
lable: '详情', // lable: '详情', //
size: 'mini', size: 'small',
style: 'margin: 0 6px;', style: 'margin: 0 6px;',
type: 'text', type: 'text',
slot: '', slot: '',
plain: false, plain: false,
class: 'div-table-button--detail',
methodName: 'detail', // methodName: 'detail', //
isShow: (row) => { isShow: (row) => {
return true return true
@ -148,11 +149,12 @@ export default {
}, },
{ {
lable: '修改', // lable: '修改', //
size: 'mini', size: 'small',
style: 'margin: 0 6px;', style: 'margin: 0 6px;',
type: 'text', type: 'text',
slot: '', slot: '',
plain: false, plain: false,
class: 'div-table-button--edit',
methodName: 'edit', // methodName: 'edit', //
isShow: (row) => { isShow: (row) => {
// return true // return true
@ -165,11 +167,12 @@ export default {
}, },
{ {
lable: '删除', // lable: '删除', //
size: 'mini', size: 'small',
style: 'margin: 0 6px;', style: 'margin: 0 6px;',
type: 'text', type: 'text',
slot: '', slot: '',
plain: false, plain: false,
class: 'div-table-button--delete',
methodName: 'confirmDel', // methodName: 'confirmDel', //
isShow: (row) => { isShow: (row) => {
if (row.createdId === this.userId) { if (row.createdId === this.userId) {

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

@ -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 label="操作" align="center" width="120"> <el-table-column fixed="right" 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)"

Loading…
Cancel
Save