Browse Source

微调

shibei_master
zxc 3 years ago
parent
commit
9e019f8a61
  1. 16
      src/views/modules/shequzhili/csgltc/csgl.vue
  2. 16
      src/views/modules/shequzhili/ggfwtc/ggfw.vue

16
src/views/modules/shequzhili/csgltc/csgl.vue

@ -132,12 +132,24 @@
class="div-table-button--detail"
size="small"
@click="handleDetail(scope.row)">查看</el-button>
<el-button type="text"
<el-button v-if="scope.row.agencyId === agencyId && (scope.row.longitude === '' || scope.row.longitude === null || scope.row.latitude === '' || scope.row.latitude === null) && scope.row.sourceType === 'import'"
type="text"
class="div-table-button--edit"
size="small"
@click="handleEdit(scope.row)">待完善</el-button>
<el-button v-else-if="scope.row.agencyId === agencyId && (scope.row.longitude !== '' && scope.row.longitude !== null && scope.row.latitude !== '' && scope.row.latitude !== null) && scope.row.sourceType === 'import'"
type="text"
class="div-table-button--edit"
size="small"
@click="handleEdit(scope.row)">修改</el-button>
<el-button v-else-if="scope.row.agencyId === agencyId && scope.row.sourceType === 'add'"
type="text"
class="div-table-button--edit"
size="small"
@click="handleEdit(scope.row)">修改</el-button>
<el-button type="text"
<el-button v-if="scope.row.agencyId === agencyId"
type="text"
class="div-table-button--delete"
size="small"
@click="handleDelete(scope.row)">删除</el-button>

16
src/views/modules/shequzhili/ggfwtc/ggfw.vue

@ -128,11 +128,23 @@
class="div-table-button--detail"
size="small"
@click="handleDetail(scope.row)">查看</el-button>
<el-button type="text"
<el-button v-if="scope.row.agencyId === agencyId && (scope.row.longitude === '' || scope.row.longitude === null || scope.row.latitude === '' || scope.row.latitude === null) && scope.row.sourceType === 'import'"
type="text"
class="div-table-button--edit"
size="small"
@click="handleEdit(scope.row)">待完善</el-button>
<el-button v-else-if="scope.row.agencyId === agencyId && scope.row.longitude !== '' && scope.row.longitude !== null && scope.row.latitude !== '' && scope.row.latitude !== null && scope.row.sourceType === 'import'"
type="text"
class="div-table-button--edit"
size="small"
@click="handleEdit(scope.row)">修改</el-button>
<el-button type="text"
<el-button v-else-if="scope.row.agencyId === agencyId && scope.row.sourceType === 'add'"
type="text"
class="div-table-button--edit"
size="small"
@click="handleEdit(scope.row)">修改</el-button>
<el-button v-if="scope.row.agencyId === agencyId"
type="text"
class="div-table-button--delete"
size="small"
@click="handleDelete(scope.row)">删除</el-button>

Loading…
Cancel
Save