Browse Source

去除批量框

V1.0
tianq 3 years ago
parent
commit
1ded39fced
  1. 2
      src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/addForm.vue
  2. 45
      src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/index.vue
  3. 2
      src/views/modules/shequzhili/tuceng/anquan/shebei/index.vue
  4. 2
      src/views/modules/shequzhili/tuceng/anquan/yinhuan/index.vue
  5. 2
      src/views/modules/shequzhili/tuceng/gonggongfuwu/index.vue
  6. 2
      src/views/modules/shequzhili/tuceng/yingji/changsuo/index.vue
  7. 2
      src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue

2
src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/addForm.vue

@ -106,7 +106,7 @@
<el-form-item label="负责人" prop="personInCharge">{{ formData.personInCharge }}</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="联系电话" prop="mobile">{{ formData.areaCovered }}</el-form-item>
<el-form-item label="联系电话" prop="mobile">{{ formData.mobile }}</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item label="场所地址" prop="address" style="display: block">{{ formData.address }}</el-form-item>

45
src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/index.vue

@ -1,6 +1,6 @@
<template>
<div class="g-main">
<div >
<div>
<div class="m-search">
<el-form :inline="true" :model="formData" ref="ref_searchform" :label-width="'100px'">
<div>
@ -23,7 +23,8 @@
</el-select>
</el-form-item>
<el-form-item label="场所规模" prop="scaleTotal">
<el-input v-model="formData.scaleTotal" class="u-item-width-normal" size="small" clearable placeholder="请输入"></el-input>
<el-input-number v-model="formData.scaleTotal" class="u-item-width-normal" size="small" clearable placeholder="请输入">
</el-input-number>
</el-form-item>
<el-form-item label="所属组织" prop="gridId">
<el-select class="u-item-width-normal" v-model="formData.gridId" placeholder="全部" size="small" clearable>
@ -74,8 +75,9 @@
<el-button @click="handleExport" class="diy-button--white" size="small">导出</el-button>
</div>
<el-table :data="tableData" border class="m-table-item" style="width: 100%" @selection-change="handleSelectionChange" :height="maxTableHeight">
<el-table-column label="" fixed="left" type="selection" align="center" width="50" />
<!-- <el-table-column label="" fixed="left" type="selection" align="center" width="50" /> -->
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" />
<el-table-column prop="gridName" align="center" label="所属组织" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="placeOrgName" align="center" label="场所名称" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="address" label="场所地址" min-width="140" align="center" :show-overflow-tooltip="true" />
<el-table-column prop="placeTypeName" label="场所类型" align="center" :show-overflow-tooltip="true"></el-table-column>
@ -95,9 +97,25 @@
<template slot-scope="scope">
<el-button @click="handleAdd(scope.row, 'view')" type="text" size="small">查看</el-button>
<el-button v-if="scope.row.latitude&&agencyId==scope.row.agencyId" style="margin-right: 10px" @click="handleAdd(scope.row, 'edit')" size="small" type="text">编辑</el-button>
<el-button v-if="!scope.row.latitude&&agencyId==scope.row.agencyId" style="margin-right: 10px" @click="handleAdd(scope.row, 'edit')" size="small" type="text">待完善</el-button>
<el-button @click="handleDel(scope.row)" v-if="agencyId==scope.row.agencyId" type="text" size="small" class="">删除</el-button>
<el-button
v-if="scope.row.latitude && agencyId == scope.row.agencyId"
style="margin-right: 10px"
@click="handleAdd(scope.row, 'edit')"
size="small"
type="text"
>
编辑
</el-button>
<el-button
v-if="!scope.row.latitude && agencyId == scope.row.agencyId"
style="margin-right: 10px"
@click="handleAdd(scope.row, 'edit')"
size="small"
type="text"
>
待完善
</el-button>
<el-button @click="handleDel(scope.row)" v-if="agencyId == scope.row.agencyId" type="text" size="small" class="">删除</el-button>
</template>
</el-table-column>
</el-table>
@ -115,9 +133,10 @@
</div>
</div>
</div>
<div >
<div>
<addForm
v-if="dialogVisible" :dialogVisible="dialogVisible"
v-if="dialogVisible"
:dialogVisible="dialogVisible"
:pageType="pageType"
:disabled="disabled"
:detailId="detailId"
@ -139,7 +158,8 @@ import axios from 'axios';
export default {
data() {
return {dialogVisible: false,
return {
dialogVisible: false,
disabled: false,
user: '',
agencyId: '',
@ -262,10 +282,8 @@ export default {
});
},
handleAdd(row, type) {
if (row.enterpriseId) {
this.detailId = row.enterpriseId;
}
this.pageType = type;
if (type == 'view') {
@ -273,9 +291,10 @@ export default {
} else {
this.disabled = false;
}
this.dialogVisible=true;
this.dialogVisible = true;
},
handleClose() {this.dialogVisible = false;
handleClose() {
this.dialogVisible = false;
this.pageType = 'list';
this.detailId = '';
this.getTableData();

2
src/views/modules/shequzhili/tuceng/anquan/shebei/index.vue

@ -54,7 +54,7 @@
<el-button @click="handleExport" class="diy-button--white" size="small">导出</el-button>
</div>
<el-table :data="tableData" border class="m-table-item" style="width: 100%" @selection-change="handleSelectionChange" :height="maxTableHeight">
<el-table-column label="" fixed="left" type="selection" align="center" width="50" />
<!-- <el-table-column label="" fixed="left" type="selection" align="center" width="50" /> -->
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" />
<el-table-column prop="equipmentName" align="center" label="设备名称" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="equipmentCategoryCode" align="center" width="80" label="设备类型"></el-table-column>

2
src/views/modules/shequzhili/tuceng/anquan/yinhuan/index.vue

@ -67,7 +67,7 @@
<el-button @click="handleExport" class="diy-button--white" size="small">导出</el-button>
</div>
<el-table :data="tableData" border class="m-table-item" style="width: 100%" @selection-change="handleSelectionChange" :height="maxTableHeight">
<el-table-column label="" fixed="left" type="selection" align="center" width="50" />
<!-- <el-table-column label="" fixed="left" type="selection" align="center" width="50" /> -->
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" />
<el-table-column prop="gridName" align="center" label="所属组织" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="location" align="center" width="80" label="隐患位置"></el-table-column>

2
src/views/modules/shequzhili/tuceng/gonggongfuwu/index.vue

@ -51,7 +51,7 @@
<el-button @click="handleExport" class="diy-button--white" size="small">导出</el-button>
</div>
<el-table :data="tableData" border class="m-table-item" style="width: 100%" @selection-change="handleSelectionChange" :height="maxTableHeight">
<el-table-column label="" fixed="left" type="selection" align="center" width="50" />
<!-- <el-table-column label="" fixed="left" type="selection" align="center" width="50" /> -->
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" />
<!-- <el-table-column label="序号" prop="agencyId" fixed="left" align="center" width="50" /> -->
<el-table-column prop="equipmentName" align="center" label="设备名称" :show-overflow-tooltip="true"></el-table-column>

2
src/views/modules/shequzhili/tuceng/yingji/changsuo/index.vue

@ -51,7 +51,7 @@
<el-button @click="handleExport" class="diy-button--white" size="small">导出</el-button>
</div>
<el-table :data="tableData" border class="m-table-item" style="width: 100%" @selection-change="handleSelectionChange" :height="maxTableHeight">
<el-table-column label="" fixed="left" type="selection" align="center" width="50" />
<!-- <el-table-column label="" fixed="left" type="selection" align="center" width="50" /> -->
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" />
<el-table-column prop="name" align="center" label="场所名称" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="categoryName" align="center" width="80" label="场所类型"></el-table-column>

2
src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue

@ -60,7 +60,7 @@
<el-button @click="handleExport" class="diy-button--white" size="small">导出</el-button>
</div>
<el-table :data="tableData" border class="m-table-item" style="width: 100%" @selection-change="handleSelectionChange" :height="maxTableHeight">
<el-table-column label="" fixed="left" type="selection" align="center" width="50" />
<!-- <el-table-column label="" fixed="left" type="selection" align="center" width="50" /> -->
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" />
<el-table-column prop="equipmentName" align="center" label="设备名称" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="equipmentNum" align="center" label="设备编号" :show-overflow-tooltip="true"></el-table-column>

Loading…
Cancel
Save