Browse Source

11

dev-烟台0301
jiangyy 3 years ago
parent
commit
f743b9b811
  1. 7
      src/assets/scss/people-info.scss
  2. 43
      src/views/modules/base/community/roomDetail.vue
  3. 41
      src/views/modules/base/community/roomForm.vue
  4. 198
      src/views/modules/base/community/roomTable.vue
  5. 252
      src/views/modules/shequ/cpts/people-more.vue
  6. 202
      src/views/modules/shequzhili/event/cpts/add.vue
  7. 111
      src/views/modules/visual/command/cpts/popup.vue
  8. 47
      src/views/modules/workSys/operAuth.vue

7
src/assets/scss/people-info.scss

@ -20,6 +20,7 @@
width: 1180px; width: 1180px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
position: relative;
} }
.title { .title {
@ -40,6 +41,12 @@
} }
} }
.div_tuomin{
position: absolute;
top:25px;
right:40px;
}
.btn-close { .btn-close {
position: absolute; position: absolute;
z-index: 2; z-index: 2;

43
src/views/modules/base/community/roomDetail.vue

@ -1,7 +1,12 @@
<template> <template>
<div> <div>
<div class="dialog-h-content scroll-h"> <div class="dialog-h-content scroll-h">
<div class="div_tuomin">
<el-button v-if="view_real_data"
size="mini"
class="diy-button--search"
@click="handleTuomin">显示脱敏信息</el-button>
</div>
<div v-if="initLoading" <div v-if="initLoading"
class="m-row"> class="m-row">
<div class="m-info"> <div class="m-info">
@ -51,11 +56,11 @@
</div> </div>
<div class="info-prop"> <div class="info-prop">
<span class="info-title-2">联系方式</span> <span class="info-title-2">联系方式</span>
<span>{{dataForm.ownerPhone?dataForm.ownerPhone:'--' }}</span> <span>{{dataForm.showOwnerPhone?dataForm.showOwnerPhone:'--' }}</span>
</div> </div>
<div class="info-prop"> <div class="info-prop">
<span class="info-title-2">房主身份证</span> <span class="info-title-2">房主身份证</span>
<span>{{dataForm.ownerIdCard?dataForm.ownerIdCard:'--' }}</span> <span>{{dataForm.showOwnerIdCard?dataForm.showOwnerIdCard:'--' }}</span>
</div> </div>
<div class="info-prop"> <div class="info-prop">
<span class="info-title-2">备注</span> <span class="info-title-2">备注</span>
@ -164,6 +169,24 @@ export default {
}, },
async handleTuomin () {
const url = "/gov/org/ichouse/detailByType";
const { data, code, msg } = await requestPost(url, {
id: this.houseId,
type: "house",
});
if (code === 0) {
this.$set(this.dataForm, 'showOwnerPhone', data.mobile)
this.$set(this.dataForm, 'showOwnerIdCard', data.idCard)
} else {
this.$message.error(msg);
}
},
async loadHouseInfo () { async loadHouseInfo () {
const url = "/gov/org/ichouse/" + this.houseId const url = "/gov/org/ichouse/" + this.houseId
@ -261,9 +284,21 @@ export default {
}, },
}, },
props: {} props: {
view_real_data: {//
type: Boolean,
default: false,
}
}
} }
</script> </script>
<style lang="scss" scoped > <style lang="scss" scoped >
@import "@/assets/scss/modules/management/detail-main.scss"; @import "@/assets/scss/modules/management/detail-main.scss";
.div_tuomin {
position: absolute;
top: 0;
right: 40px;
z-index: 1000;
}
</style> </style>

41
src/views/modules/base/community/roomForm.vue

@ -1,6 +1,12 @@
<template> <template>
<div> <div>
<div class="dialog-h-content scroll-h"> <div class="dialog-h-content scroll-h">
<div v-if="false"
class="div_tuomin">
<el-button size="mini"
class="diy-button--search"
@click="handleTuomin">显示脱敏信息</el-button>
</div>
<el-form ref="ref_form" <el-form ref="ref_form"
:inline="false" :inline="false"
:model="dataForm" :model="dataForm"
@ -39,7 +45,8 @@
v-model="dataForm.doorName"> v-model="dataForm.doorName">
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="formType != 'detail'" label="房屋编码" <el-form-item v-if="formType != 'detail'"
label="房屋编码"
prop="coding" prop="coding"
label-width="150px" label-width="150px"
style="display: block"> style="display: block">
@ -225,6 +232,7 @@ export default {
}, },
methods: { methods: {
async initForm (type, row, agencyObj) { async initForm (type, row, agencyObj) {
this.$refs.ref_form.resetFields(); this.$refs.ref_form.resetFields();
@ -255,6 +263,24 @@ export default {
}, },
async handleTuomin () {
const url = "/gov/org/ichouse/detailByType";
const { data, code, msg } = await requestPost(url, {
id: this.houseId,
type: "house",
});
if (code === 0) {
this.$set(this.dataForm, 'ownerPhone', data.mobile)
this.$set(this.dataForm, 'ownerIdCard', data.idCard)
} else {
this.$message.error(msg);
}
},
async loadHouseInfo () { async loadHouseInfo () {
const url = "/gov/org/ichouse/" + this.houseId const url = "/gov/org/ichouse/" + this.houseId
@ -450,9 +476,20 @@ export default {
}, },
}, },
props: {} props: {
view_real_data: {//
type: Boolean,
default: false,
}
}
} }
</script> </script>
<style lang="scss" scoped > <style lang="scss" scoped >
@import "@/assets/scss/modules/visual/communityManageForm.scss"; @import "@/assets/scss/modules/visual/communityManageForm.scss";
.div_tuomin {
position: absolute;
top: 0;
right: 40px;
}
</style> </style>

198
src/views/modules/base/community/roomTable.vue

@ -1,27 +1,21 @@
<template> <template>
<div> <div>
<div class="div_btn"> <div class="div_btn">
<el-button <el-button v-if="agencyObj.level === 'building' || source !== 'search'"
v-if="agencyObj.level === 'building' || source !== 'search'"
v-show="btnAuths.ic_house_add" v-show="btnAuths.ic_house_add"
style="float: left" style="float: left"
class="diy-button--add" class="diy-button--add"
size="small" size="small"
@click="handleAdd" @click="handleAdd">新增房屋</el-button>
>新增房屋</el-button <div class="btn_upload"
> v-if="showImportBtn">
<div class="btn_upload" v-if="showImportBtn"> <el-button :headers="$getElUploadHeaders()"
<el-button
:headers="$getElUploadHeaders()"
v-if="btnAuths.ic_house_import" v-if="btnAuths.ic_house_import"
style="float: left" style="float: left"
class="diy-button--export" class="diy-button--export"
size="small" size="small"
@click="handleExportModule" @click="handleExportModule">下载房屋模板</el-button>
>下载房屋模板</el-button <el-upload ref="upload"
>
<el-upload
ref="upload"
v-if="btnAuths.ic_house_import" v-if="btnAuths.ic_house_import"
:multiple="false" :multiple="false"
:show-file-list="false" :show-file-list="false"
@ -30,53 +24,36 @@
accept=".xls,.xlsx" accept=".xls,.xlsx"
:limit="1" :limit="1"
:on-exceed="handleExceed" :on-exceed="handleExceed"
:http-request="uploadFile" :http-request="uploadFile">
> <el-button style="margin-left: 10px"
<el-button
style="margin-left: 10px"
size="small" size="small"
class="diy-button--delete" class="diy-button--delete">导入房屋数据</el-button>
>导入房屋数据</el-button
>
</el-upload> </el-upload>
</div> </div>
<el-button <el-button style="float: left; margin-left: 10px"
style="float: left; margin-left: 10px"
v-if="btnAuths.ic_house_export" v-if="btnAuths.ic_house_export"
class="diy-button--reset" class="diy-button--reset"
size="small" size="small"
@click="handleExport" @click="handleExport">导出</el-button>
>导出</el-button <el-button style="float: left; margin-left: 10px"
>
<el-button
style="float: left; margin-left: 10px"
v-if="btnAuths.ic_house_batch_del" v-if="btnAuths.ic_house_batch_del"
class="diy-button--more" class="diy-button--more"
size="small" size="small"
@click="deleteBatch" @click="deleteBatch">批量删除</el-button>
>批量删除</el-button <el-button style="margin-left: 10px"
>
<el-button
style="margin-left: 10px"
v-if="btnAuths.ic_house_export_yhyd" v-if="btnAuths.ic_house_export_yhyd"
class="diy-button--export" class="diy-button--export"
size="small" size="small"
:disabled="yihuyidangDisabled" :disabled="yihuyidangDisabled"
@click="handleExportYihuyidang()" @click="handleExportYihuyidang()">导出一户一档</el-button>
>导出一户一档</el-button <el-button size="small"
>
<el-button
size="small"
class="diy-button--add" class="diy-button--add"
v-if="btnAuths.ic_house_smart_import && displayedBaobiaoBtn" v-if="btnAuths.ic_house_smart_import && displayedBaobiaoBtn"
@click="reportForm" @click="reportForm">智能填报</el-button>
>智能填报</el-button
>
</div> </div>
<div class="div_table_item"> <div class="div_table_item">
<el-table <el-table ref="ref_table"
ref="ref_table"
:data="tableData" :data="tableData"
:header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }"
v-loading="tableLoading" v-loading="tableLoading"
@ -85,64 +62,76 @@
:height="tableHeight" :height="tableHeight"
style="width: 100%" style="width: 100%"
@select-all="selectAll" @select-all="selectAll"
@selection-change="selectionChange" @selection-change="selectionChange">
> <el-table-column type="selection"
<el-table-column type="selection" :selectable="checkSelect" width="55"> :selectable="checkSelect"
width="55">
</el-table-column> </el-table-column>
<el-table-column <el-table-column fixed="left"
fixed="left"
width="55" width="55"
type="index" type="index"
label="序号" label="序号"
:index="indexMethod" :index="indexMethod">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="houseNameShow"
prop="houseNameShow"
label="房屋名称" label="房屋名称"
fixed="left" fixed="left"
min-width="160" min-width="160">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="neighborHoodName"
prop="neighborHoodName"
label="所属小区" label="所属小区"
min-width="150" min-width="150">
>
</el-table-column> </el-table-column>
<el-table-column prop="buildingName" label="所属楼栋" width="80"> <el-table-column prop="buildingName"
label="所属楼栋"
width="80">
</el-table-column> </el-table-column>
<el-table-column prop="unitNum" label="单元号" width="70"> <el-table-column prop="unitNum"
label="单元号"
width="70">
</el-table-column> </el-table-column>
<el-table-column prop="doorName" label="门牌号" width="70"> <el-table-column prop="doorName"
label="门牌号"
width="70">
</el-table-column> </el-table-column>
<el-table-column prop="houseType" label="类型" width="50"> <el-table-column prop="houseType"
label="类型"
width="50">
</el-table-column> </el-table-column>
<el-table-column prop="purpose" label="用途" width="50"> <el-table-column prop="purpose"
label="用途"
width="50">
</el-table-column> </el-table-column>
<el-table-column prop="rentFlag" label="房屋状态" width="80"> <el-table-column prop="rentFlag"
label="房屋状态"
width="80">
</el-table-column> </el-table-column>
<el-table-column prop="ownerName" label="房主姓名" width="90"> <el-table-column prop="ownerName"
label="房主姓名"
width="90">
</el-table-column> </el-table-column>
<el-table-column prop="ownerPhone" label="联系方式" width="110"> <el-table-column prop="ownerPhone"
label="联系方式"
width="110">
</el-table-column> </el-table-column>
<el-table-column prop="ownerIdCard" label="身份证" width="170"> <el-table-column prop="ownerIdCard"
label="身份证"
width="170">
</el-table-column> </el-table-column>
<el-table-column prop="remark" label="备注" width="170"> <el-table-column prop="remark"
label="备注"
width="170">
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="sort"
prop="sort"
sortable="custom" sortable="custom"
min-width="140" min-width="140"
label="排序" label="排序">
>
<template slot-scope="scope"> <template slot-scope="scope">
<div @click="handleEditSort(scope.row)"> <div @click="handleEditSort(scope.row)">
<span v-if="!scope.row.isChange">{{ scope.row.sort }}</span> <span v-if="!scope.row.isChange">{{ scope.row.sort }}</span>
<el-input-number <el-input-number v-else
v-else
@change="handleChangeSort(scope.row)" @change="handleChangeSort(scope.row)"
v-model="scope.row.sort" v-model="scope.row.sort"
class="item_width_4" class="item_width_4"
@ -150,96 +139,75 @@
size="small" size="small"
:min="0" :min="0"
:max="9999" :max="9999"
label="描述文字" label="描述文字"></el-input-number>
></el-input-number>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="操作"
label="操作"
fixed="right" fixed="right"
width="140" width="140"
header-align="center" header-align="center"
align="center" align="center"
class="operate" class="operate">
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button type="text"
type="text"
v-if="btnAuths.ic_house_view" v-if="btnAuths.ic_house_view"
class="div-table-button--detail" class="div-table-button--detail"
size="small" size="small"
@click="handleDetail(scope.row)" @click="handleDetail(scope.row)">查看</el-button>
>查看</el-button <el-button v-if="btnAuths.ic_house_update && scope.row.showBtn"
>
<el-button
v-if="btnAuths.ic_house_update && scope.row.showBtn"
type="text" type="text"
class="div-table-button--edit" class="div-table-button--edit"
size="small" size="small"
@click="handleEdit(scope.row)" @click="handleEdit(scope.row)">修改</el-button>
>修改</el-button
>
<el-button <el-button v-if="btnAuths.ic_house_del && scope.row.showBtn"
v-if="btnAuths.ic_house_del && scope.row.showBtn"
type="text" type="text"
class="div-table-button--delete" class="div-table-button--delete"
size="small" size="small"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)">删除</el-button>
>删除</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<el-pagination <el-pagination @size-change="handleSizeChange"
@size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
:current-page.sync="pageNo" :current-page.sync="pageNo"
:page-sizes="[20, 50, 100, 200]" :page-sizes="[20, 50, 100, 200]"
:page-size="pageSize" :page-size="pageSize"
layout="sizes, prev, pager, next, total" layout="sizes, prev, pager, next, total"
:total="total" :total="total">
>
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
<!-- 修改弹出框 --> <!-- 修改弹出框 -->
<el-dialog <el-dialog :visible.sync="formShow"
:visible.sync="formShow"
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
:title="formTitle" :title="formTitle"
width="900px" width="900px"
top="5vh" top="5vh"
class="dialog-h" class="dialog-h"
@closed="diaClose" @closed="diaClose">
> <room-form ref="ref_form"
<room-form :view_real_data="btnAuths.ic_house_view_real_data"
ref="ref_form"
@dialogCancle="addFormCancle" @dialogCancle="addFormCancle"
@dialogOk="addFormOk" @dialogOk="addFormOk"></room-form>
></room-form>
</el-dialog> </el-dialog>
<!-- 详情弹出框 --> <!-- 详情弹出框 -->
<el-dialog <el-dialog :visible.sync="detailShow"
:visible.sync="detailShow"
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
:title="formTitle" :title="'查看房屋'"
width="900px" width="900px"
top="5vh" top="5vh"
class="dialog-h" class="dialog-h"
@closed="detailFormCancle" @closed="detailFormCancle">
> <room-detail ref="ref_form_detail"
<room-detail
ref="ref_form_detail"
:view_real_data="btnAuths.ic_house_view_real_data" :view_real_data="btnAuths.ic_house_view_real_data"
@diaDetailClose="detailFormCancle" @diaDetailClose="detailFormCancle"></room-detail>
></room-detail>
</el-dialog> </el-dialog>
<baobiao ref="baobiao" /> <baobiao ref="baobiao" />

252
src/views/modules/shequ/cpts/people-more.vue

@ -1,46 +1,55 @@
<template> <template>
<div class="m-pop"> <div class="m-pop">
<div class="wrap"> <div class="wrap">
<div class="btn-close" @click="handleClose"> <div class="btn-close"
@click="handleClose">
<img src="@/assets/img/shuju/people/close.png" /> <img src="@/assets/img/shuju/people/close.png" />
</div> </div>
<div class="wrap2"> <div class="wrap2">
<div class="title"> <div class="title">
<span>更多信息</span> <span>更多信息</span>
</div> </div>
<div v-if="view_real_data"
class="div_tuomin">
<el-button size="mini"
class="diy-button--search"
@click="handleTuomin">显示脱敏信息</el-button>
</div>
<div <div :key="'fieldSubList' + index"
:key="'fieldSubList' + index" v-for="(fieldSubList, index) in fieldList">
v-for="(fieldSubList, index) in fieldList"
>
<div class="list"> <div class="list">
<div class="item" v-if="index == 0"> <div class="item"
v-if="index == 0">
<span class="item-field">所属网格</span> <span class="item-field">所属网格</span>
<span>{{ gridName }}</span> <span>{{ gridName }}</span>
</div> </div>
<div class="item" v-if="index == 0"> <div class="item"
v-if="index == 0">
<span class="item-field">所属小区</span> <span class="item-field">所属小区</span>
<span>{{ xiaoquName }}</span> <span>{{ xiaoquName }}</span>
</div> </div>
<div class="item" v-if="index == 0"> <div class="item"
v-if="index == 0">
<span class="item-field">所属楼栋</span> <span class="item-field">所属楼栋</span>
<span>{{ louName }}-{{ danyuanName }}</span> <span>{{ louName }}-{{ danyuanName }}</span>
</div> </div>
<div class="item" v-if="index == 0"> <div class="item"
v-if="index == 0">
<span class="item-field">所属家庭</span> <span class="item-field">所属家庭</span>
<span>{{ homeName }}</span> <span>{{ homeName }}</span>
</div> </div>
<div class="item" :key="field.itemId" v-for="field in fieldSubList"> <div class="item"
:key="field.itemId"
v-for="field in fieldSubList">
<span class="item-field">{{ field.label }}</span> <span class="item-field">{{ field.label }}</span>
<span v-if="field.columnName==='MOBILE'||field.columnName==='ID_CARD'">{{ info[field.columnName]||'--'}}</span>
<span <span v-else-if="
v-if="
field.itemType == 'select' || field.itemType == 'select' ||
field.itemType == 'radio' || field.itemType == 'radio' ||
field.itemType == 'checkbox' || field.itemType == 'checkbox' ||
field.itemType == 'cascader' field.itemType == 'cascader'
" ">{{
>{{
info[field.columnName] == null info[field.columnName] == null
? "--" ? "--"
: getOptionLabel( : getOptionLabel(
@ -48,8 +57,7 @@
info[field.columnName], info[field.columnName],
field.itemType field.itemType
) )
}}</span }}</span>
>
<span v-else>{{ <span v-else>{{
info[field.columnName] == null ? "--" : info[field.columnName] info[field.columnName] == null ? "--" : info[field.columnName]
@ -61,63 +69,47 @@
</div> </div>
<div class="tabs"> <div class="tabs">
<div <div class="tab-btn"
class="tab-btn"
@click="subStartGroupIndex" @click="subStartGroupIndex"
v-if="groupList.length > 9" v-if="groupList.length > 9">
>
<img src="@/assets/img/shuju/people/arrow-double-left.png" /> <img src="@/assets/img/shuju/people/arrow-double-left.png" />
</div> </div>
<div <div v-show="index >= startGroupIndex && index < startGroupIndex + 9"
v-show="index >= startGroupIndex && index < startGroupIndex + 9"
class="tab" class="tab"
:class="groupIndex % groupList.length == index ? 'z-on' : ''" :class="groupIndex % groupList.length == index ? 'z-on' : ''"
:key="'tab' + index" :key="'tab' + index"
@click="groupIndex = index" @click="groupIndex = index"
v-for="(item, index) in groupList" v-for="(item, index) in groupList">
>
{{ item.label }} {{ item.label }}
</div> </div>
<div <div class="tab-btn"
class="tab-btn"
@click="addStartGroupIndex" @click="addStartGroupIndex"
v-if="groupList.length > 9" v-if="groupList.length > 9">
>
<img src="@/assets/img/shuju/people/arrow-double-right.png" /> <img src="@/assets/img/shuju/people/arrow-double-right.png" />
</div> </div>
</div> </div>
<div <div :key="'group' + index"
:key="'group' + index"
v-show="groupIndex % groupList.length == index" v-show="groupIndex % groupList.length == index"
v-for="(group, index) in groupList" v-for="(group, index) in groupList">
> <div v-if="
<div
v-if="
group.tableName == 'ic_resi_demand' && group.tableName == 'ic_resi_demand' &&
Array.isArray(allInfo.ic_resi_demand) && Array.isArray(allInfo.ic_resi_demand) &&
allInfo.ic_resi_demand.length > 0 allInfo.ic_resi_demand.length > 0
" ">
> <div class="list"
<div
class="list"
:key="'ic_resi_demand' + infoIndex" :key="'ic_resi_demand' + infoIndex"
v-for="(infoItem, infoIndex) in allInfo.ic_resi_demand" v-for="(infoItem, infoIndex) in allInfo.ic_resi_demand">
> <div class="item"
<div
class="item"
:key="field.itemId" :key="field.itemId"
v-for="field in group.itemList" v-for="field in group.itemList">
>
<span class="item-field">{{ field.label }}</span> <span class="item-field">{{ field.label }}</span>
<span <span v-if="
v-if="
field.itemType == 'select' || field.itemType == 'select' ||
field.itemType == 'radio' || field.itemType == 'radio' ||
field.itemType == 'checkbox' || field.itemType == 'checkbox' ||
field.itemType == 'cascader' field.itemType == 'cascader'
" ">{{
>{{
infoItem[field.columnName] == null infoItem[field.columnName] == null
? "--" ? "--"
: getOptionLabel( : getOptionLabel(
@ -125,8 +117,7 @@
infoItem[field.columnName], infoItem[field.columnName],
field.itemType field.itemType
) )
}}</span }}</span>
>
<span v-else>{{ <span v-else>{{
infoItem[field.columnName] == null infoItem[field.columnName] == null
@ -136,179 +127,136 @@
</div> </div>
</div> </div>
</div> </div>
<div <div v-else-if="group.tableName == 'ic_hs'"
v-else-if="group.tableName == 'ic_hs'" style="margin-top: 10px; padding: 0 20px">
style="margin-top: 10px; padding: 0 20px" <el-table class="table"
>
<el-table
class="table"
:data="natList" :data="natList"
border border
height="400" height="400"
:header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }"
style="width: 100%" style="width: 100%">
> <el-table-column label="序号"
<el-table-column
label="序号"
header-align="center" header-align="center"
align="center" align="center"
type="index" type="index"
width="50" width="50"></el-table-column>
></el-table-column>
<el-table-column <el-table-column prop="testTime"
prop="testTime"
header-align="center" header-align="center"
align="center" align="center"
label="检测时间" label="检测时间"
width="150" width="150">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="address"
prop="address"
header-align="center" header-align="center"
align="center" align="center"
label="检测机构" label="检测机构"
show-overflow-tooltip show-overflow-tooltip
min-width="180" min-width="180">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="result"
prop="result"
header-align="center" header-align="center"
align="center" align="center"
label="检测结果" label="检测结果"
width="240" width="240">
>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div <div v-else-if="group.tableName == 'ic_xc'"
v-else-if="group.tableName == 'ic_xc'" style="margin-top: 10px; padding: 0 20px">
style="margin-top: 10px; padding: 0 20px" <el-table class="table"
>
<el-table
class="table"
:data="tripList" :data="tripList"
border border
height="400" height="400"
:header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }"
style="width: 100%" style="width: 100%">
> <el-table-column label="序号"
<el-table-column
label="序号"
header-align="center" header-align="center"
align="center" align="center"
type="index" type="index"
width="50" width="50"></el-table-column>
></el-table-column>
<el-table-column <el-table-column prop="fromRegion"
prop="fromRegion"
header-align="center" header-align="center"
align="center" align="center"
label="来自地区" label="来自地区"
show-overflow-tooltip show-overflow-tooltip
min-width="100" min-width="100">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="arrivalTime"
prop="arrivalTime"
header-align="center" header-align="center"
align="center" align="center"
label="来到本地时间" label="来到本地时间"
width="140" width="140">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="leaveTime"
prop="leaveTime"
header-align="center" header-align="center"
align="center" align="center"
label="离开本地时间" label="离开本地时间"
width="140" width="140">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="noticeTime"
prop="noticeTime"
header-align="center" header-align="center"
align="center" align="center"
label="最近一次通知时间" label="最近一次通知时间"
width="140" width="140">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="remark"
prop="remark"
header-align="center" header-align="center"
align="center" align="center"
label="备注" label="备注"
show-overflow-tooltip show-overflow-tooltip
width="120" width="120">
>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div <div v-else-if="group.tableName == 'ic_ym'"
v-else-if="group.tableName == 'ic_ym'" style="margin-top: 10px; padding: 0 20px">
style="margin-top: 10px; padding: 0 20px" <el-table v-if="vaccineList"
>
<el-table
v-if="vaccineList"
class="table" class="table"
:data="vaccineList" :data="vaccineList"
border border
height="400" height="400"
:header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }"
style="width: 100%" style="width: 100%">
> <el-table-column label="序号"
<el-table-column
label="序号"
header-align="center" header-align="center"
align="center" align="center"
type="index" type="index"
width="50" width="50"></el-table-column>
></el-table-column>
<el-table-column <el-table-column prop="vaccinateTime"
prop="vaccinateTime"
header-align="center" header-align="center"
align="center" align="center"
label="接种时间" label="接种时间"
show-overflow-tooltip show-overflow-tooltip
min-width="100" min-width="100">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="address"
prop="address"
header-align="center" header-align="center"
align="center" align="center"
label="接种地点" label="接种地点">
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="manufactor"
prop="manufactor"
header-align="center" header-align="center"
align="center" align="center"
label="疫苗厂家" label="疫苗厂家">
>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div class="list" v-else> <div class="list"
<div v-else>
class="item" <div class="item"
:class="{ 'z-long': group.itemList.length == 1 }" :class="{ 'z-long': group.itemList.length == 1 }"
:key="field.itemId" :key="field.itemId"
v-for="field in group.itemList" v-for="field in group.itemList">
>
<span class="item-field">{{ field.label }}</span> <span class="item-field">{{ field.label }}</span>
<span <span v-if="
v-if="
field.itemType == 'select' || field.itemType == 'select' ||
field.itemType == 'radio' || field.itemType == 'radio' ||
field.itemType == 'checkbox' || field.itemType == 'checkbox' ||
field.itemType == 'cascader' field.itemType == 'cascader'
" ">{{
>{{
!allInfo[group.tableName] || !allInfo[group.tableName] ||
allInfo[group.tableName][0][field.columnName] == null allInfo[group.tableName][0][field.columnName] == null
? "--" ? "--"
@ -317,8 +265,7 @@
allInfo[group.tableName][0][field.columnName], allInfo[group.tableName][0][field.columnName],
field.itemType field.itemType
) )
}}</span }}</span>
>
<span v-else>{{ <span v-else>{{
!allInfo[group.tableName] || !allInfo[group.tableName] ||
@ -349,6 +296,10 @@ export default {
type: String, type: String,
default: "", default: "",
}, },
view_real_data: {//
type: Boolean,
default: false,
}
}, },
components: { components: {
@ -458,6 +409,23 @@ export default {
}, },
methods: { methods: {
async handleTuomin () {
const url = "/gov/org/ichouse/detailByType";
const { data, code, msg } = await requestPost(url, {
id: this.userId,
type: "icResiUser",
});
if (code === 0) {
this.$set(this.info, 'MOBILE', data.mobile)
this.$set(this.info, 'ID_CARD', data.idCard)
} else {
this.$message.error(msg);
}
},
addStartGroupIndex () { addStartGroupIndex () {
const { startGroupIndex, groupList } = this; const { startGroupIndex, groupList } = this;
if (startGroupIndex < groupList.length - 9) { if (startGroupIndex < groupList.length - 9) {

202
src/views/modules/shequzhili/event/cpts/add.vue

@ -2,150 +2,116 @@
<div class="g-add"> <div class="g-add">
<div class="g-add-page"> <div class="g-add-page">
<div class="g-left"> <div class="g-left">
<el-form <el-form ref="ref_form1"
ref="ref_form1"
:inline="true" :inline="true"
:model="formData" :model="formData"
:rules="dataRule" :rules="dataRule"
class="form" class="form">
> <el-form-item label="所属网格 "
<el-form-item
label="所属网格 "
prop="gridId" prop="gridId"
label-width="150px" label-width="150px"
style="display: block" style="display: block">
> <el-select v-model.trim="formData.gridId"
<el-select
v-model.trim="formData.gridId"
placeholder="请选择" placeholder="请选择"
clearable clearable
class="cell-width-1" class="cell-width-1">
> <el-option v-for="item in gridList"
<el-option
v-for="item in gridList"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value">
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="报事人"
label="报事人"
prop="name" prop="name"
label-width="150px" label-width="150px"
style="display: block" style="display: block">
> <el-input class="cell-width-1"
<el-input
class="cell-width-1"
maxlength="10" maxlength="10"
placeholder="请输入报事人姓名" placeholder="请输入报事人姓名"
v-model="formData.name" v-model="formData.name">
>
</el-input> </el-input>
<div> <div>
<el-button <el-button style="margin-top: 10px"
style="margin-top: 10px"
type="primary" type="primary"
size="mini" size="mini"
@click="handleShowPersonList" @click="handleShowPersonList">居民信息中选择</el-button>
>居民信息中选择</el-button
>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="手机号"
label="手机号"
prop="mobile" prop="mobile"
label-width="150px" label-width="150px"
style="display: block" style="display: block">
> <el-input class="cell-width-1"
<el-input
class="cell-width-1"
maxlength="30" maxlength="30"
placeholder="请输入手机号 " placeholder="请输入手机号 "
v-model="formData.mobile" v-model="formData.mobile">
>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="身份证号"
label="身份证号"
prop="idCard" prop="idCard"
label-width="150px" label-width="150px"
style="display: block" style="display: block">
> <el-input class="cell-width-1"
<el-input
class="cell-width-1"
maxlength="30" maxlength="30"
placeholder="请输入身份证号" placeholder="请输入身份证号"
v-model="formData.idCard" v-model="formData.idCard"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="反应渠道" label-width="150px" prop="sourceType"> <el-form-item label="反应渠道"
<el-select label-width="150px"
v-model="formData.sourceType" prop="sourceType">
<el-select v-model="formData.sourceType"
placeholder="请选择" placeholder="请选择"
size="small" size="small"
clearable clearable
class="cell-width-1" class="cell-width-1">
> <el-option v-for="item in qudaoArray"
<el-option
v-for="item in qudaoArray"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value">
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="发生时间"
label="发生时间"
prop="happenTime" prop="happenTime"
label-width="150px" label-width="150px"
style="display: block" style="display: block">
> <el-date-picker v-model="formData.happenTime"
<el-date-picker
v-model="formData.happenTime"
class="cell-width-1" class="cell-width-1"
type="datetime" type="datetime"
placeholder="发生时间" placeholder="发生时间"
value-format="yyyy-MM-dd hh:mm:ss" value-format="yyyy-MM-dd HH:mm:ss">
>
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="事件内容"
label="事件内容"
prop="eventContent" prop="eventContent"
label-width="150px" label-width="150px"
style="display: block" style="display: block">
> <el-input class="cell-width-2"
<el-input
class="cell-width-2"
type="textarea" type="textarea"
maxlength="500" maxlength="500"
show-word-limit show-word-limit
:rows="5" :rows="5"
placeholder="请输入事件内容,不超过500字" placeholder="请输入事件内容,不超过500字"
v-model="formData.eventContent" v-model="formData.eventContent"></el-input>
></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="g-right"> <div class="g-right">
<el-form <el-form ref="ref_form2"
ref="ref_form2"
:inline="true" :inline="true"
:model="formData" :model="formData"
:rules="dataRule" :rules="dataRule"
class="form" class="form">
> <el-form-item label="图片"
<el-form-item label="图片" label-width="150px" style="display: block"> label-width="150px"
<el-upload style="display: block">
:headers="$getElUploadHeaders()" <el-upload :headers="$getElUploadHeaders()"
:class="['avatar-uploader', { hide: hideUploadBtn }]" :class="['avatar-uploader', { hide: hideUploadBtn }]"
ref="uploadPic" ref="uploadPic"
:action="uploadUlr" :action="uploadUlr"
@ -155,49 +121,41 @@
:file-list="replayImgList" :file-list="replayImgList"
:on-change="handleEditChange" :on-change="handleEditChange"
:on-success="handleSuccess" :on-success="handleSuccess"
:limit="3" :limit="3">
>
<span class="font-14">选择图片</span> <span class="font-14">选择图片</span>
<div slot="tip" class="upload_tip"> <div slot="tip"
class="upload_tip">
最多上传3张图片图片支持jpgjpegbmpgit或png格式 最多上传3张图片图片支持jpgjpegbmpgit或png格式
</div> </div>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="地理位置"
label="地理位置"
prop="address" prop="address"
label-width="150px" label-width="150px"
style="display: block" style="display: block">
> <el-input class="cell-width-1"
<el-input class="cell-width-1" v-model="formData.address"> v-model="formData.address">
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item label="位置坐标"
label="位置坐标"
prop="longitude" prop="longitude"
label-width="150px" label-width="150px"
style="display: block" style="display: block">
>
<div style="width: 500px"> <div style="width: 500px">
<div class="div_map"> <div class="div_map">
<div id="app"></div> <div id="app"></div>
<div class="div_searchmap"> <div class="div_searchmap">
<el-input <el-input class="cell-width-map"
class="cell-width-map"
maxlength="50" maxlength="50"
size="mini" size="mini"
placeholder="请输入关键字" placeholder="请输入关键字"
v-model="keyWords" v-model="keyWords">
>
</el-input> </el-input>
<el-button <el-button style="margin-left: 10px"
style="margin-left: 10px"
type="primary" type="primary"
size="mini" size="mini"
@click="handleSearchMap" @click="handleSearchMap">查询</el-button>
>查询</el-button
>
</div> </div>
</div> </div>
@ -222,8 +180,7 @@
</div> </div>
<!-- 新增弹出框 --> <!-- 新增弹出框 -->
<el-dialog <el-dialog :visible.sync="personTableShow"
:visible.sync="personTableShow"
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
:destroy-on-close="true" :destroy-on-close="true"
@ -231,53 +188,46 @@
width="550px" width="550px"
top="5vh" top="5vh"
class="dialog-h" class="dialog-h"
@closed="diaClose" @closed="diaClose">
>
<div style="padding: 10px 30px"> <div style="padding: 10px 30px">
<el-form :inline="false" ref="ref_formSearch" :label-width="'90px'"> <el-form :inline="false"
<el-form-item label="所属网格" label-width="150px"> ref="ref_formSearch"
<el-select :label-width="'90px'">
class="cell-width-1" <el-form-item label="所属网格"
label-width="150px">
<el-select class="cell-width-1"
v-model.trim="selGridId" v-model.trim="selGridId"
placeholder="请选择" placeholder="请选择"
clearable clearable>
> <el-option v-for="item in gridList"
<el-option
v-for="item in gridList"
@click.native="handleChangeGrid" @click.native="handleChangeGrid"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value">
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="居民" label-width="150px" prop="selPersonIndex"> <el-form-item label="居民"
<el-select label-width="150px"
v-model="selPersonIndex" prop="selPersonIndex">
<el-select v-model="selPersonIndex"
class="cell-width-1" class="cell-width-1"
filterable filterable
placeholder="请选择" placeholder="请选择"
clearable clearable>
> <el-option v-for="(item, index) in demandUserList"
<el-option
v-for="(item, index) in demandUserList"
:key="item.demandUserId" :key="item.demandUserId"
:label="item.label" :label="item.label"
:value="index" :value="index">
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="div-btn"> <div class="div-btn">
<el-button <el-button style="margin-left: 20px"
style="margin-left: 20px"
type="primary" type="primary"
size="small" size="small"
@click="handleComfirmSelPerson" @click="handleComfirmSelPerson">确定</el-button>
>确定</el-button
>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>

111
src/views/modules/visual/command/cpts/popup.vue

@ -1,13 +1,14 @@
<template> <template>
<div class="m-pop" ref="pop" @mousewheel="handleWheel" v-show="!hidden"> <div class="m-pop"
ref="pop"
@mousewheel="handleWheel"
v-show="!hidden">
<div class="info"> <div class="info">
<div <div v-if="
v-if="
placeType === 'resi' || placeType === 'resi' ||
placeType === 'special_resi' || placeType === 'special_resi' ||
placeType === 'volunteer' placeType === 'volunteer'
" ">
>
<div class="info-title">居民信息</div> <div class="info-title">居民信息</div>
<div class="item"> <div class="item">
姓名 姓名
@ -52,25 +53,22 @@
<span>{{ info.resiCategoryNames || "--" }}</span> <span>{{ info.resiCategoryNames || "--" }}</span>
</div> </div>
<div @click="handleClickBtn('watch-resi')" class="more-btn">更多</div> <div @click="handleClickBtn('watch-resi')"
class="more-btn">更多</div>
<div class="operate"> <div class="operate">
<div <div @click="handleClickBtn('create-demand')"
@click="handleClickBtn('create-demand')"
v-if="info.agencyId == $store.state.user.agencyId" v-if="info.agencyId == $store.state.user.agencyId"
class="btn z-blue" class="btn z-blue">
>
发布需求 发布需求
</div> </div>
<div <div v-if="
v-if="
info.agencyId == $store.state.user.agencyId && info.agencyId == $store.state.user.agencyId &&
placeType === 'volunteer' placeType === 'volunteer'
" "
@click="handleClickBtn('create-service')" @click="handleClickBtn('create-service')"
class="btn z-yellow" class="btn z-yellow">
>
发起服务 发起服务
</div> </div>
</div> </div>
@ -112,13 +110,11 @@
</div> </div>
</div> </div>
<div <div v-if="
v-if="
placeType === 'public_service' || placeType === 'public_service' ||
placeType === 'city_management' || placeType === 'city_management' ||
placeType === 'superior_resource' placeType === 'superior_resource'
" ">
>
<div class="info-title">场所信息</div> <div class="info-title">场所信息</div>
<div class="item"> <div class="item">
场所名称 场所名称
@ -150,11 +146,9 @@
</div> </div>
</div> </div>
<div <div v-if="
v-if="
placeType === 'nucleic_point' placeType === 'nucleic_point'
" ">
>
<div class="info-title">核酸检测点信息</div> <div class="info-title">核酸检测点信息</div>
<div class="item"> <div class="item">
检测点名称 检测点名称
@ -177,11 +171,9 @@
<span>{{ info.address || "--" }}</span> <span>{{ info.address || "--" }}</span>
</div> </div>
</div> </div>
<div <div v-if="
v-if="
placeType === 'vaccine_point' placeType === 'vaccine_point'
" ">
>
<div class="info-title">疫苗接种点信息</div> <div class="info-title">疫苗接种点信息</div>
<div class="item"> <div class="item">
接种点名称 接种点名称
@ -221,35 +213,27 @@
<span>{{ info.eventContent || "--" }}</span> <span>{{ info.eventContent || "--" }}</span>
</div> </div>
<div <div v-if="info.imageList && info.imageList.length > 0"
v-if="info.imageList && info.imageList.length > 0" class="info-prop">
class="info-prop"
>
<span>图片</span> <span>图片</span>
<div class="item-pics"> <div class="item-pics">
<img <img :src="src"
:src="src"
:key="src" :key="src"
style="width: 100px; height: 100px; padding-right: 10px" style="width: 100px; height: 100px; padding-right: 10px"
v-for="src in info.imageList" v-for="src in info.imageList"
@click="watchImg(src)" @click="watchImg(src)" />
/>
</div> </div>
</div> </div>
<div <div v-if="info.voiceList && info.voiceList.length > 0"
v-if="info.voiceList && info.voiceList.length > 0" class="info-prop">
class="info-prop"
>
<span>音频</span> <span>音频</span>
<div class="item-pics"> <div class="item-pics">
<audio controls> <audio controls>
<source <source :src="item.url"
:src="item.url"
type="" type=""
:key="item.url" :key="item.url"
v-for="item in info.voiceList" v-for="item in info.voiceList" />
/>
</audio> </audio>
</div> </div>
</div> </div>
@ -270,12 +254,13 @@
手机号 手机号
<span>{{ info.mobile || "--" }}</span> <span>{{ info.mobile || "--" }}</span>
</div> </div>
<div class="item"> <!-- <div class="item">
身份证号 身份证号
<span>{{ info.idCard || "--" }}</span> <span>{{ info.idCard || "--" }}</span>
</div> </div> -->
<div @click="handleClickBtn('watch-event')" class="more-btn">更多</div> <div @click="handleClickBtn('watch-event')"
class="more-btn">更多</div>
</div> </div>
<div v-if="placeType === 'community_org'"> <div v-if="placeType === 'community_org'">
@ -313,11 +298,9 @@
<span>{{ info.organizationCreatedTime || "--" }}</span> <span>{{ info.organizationCreatedTime || "--" }}</span>
</div> </div>
<div <div v-if="info.agencyId == $store.state.user.agencyId"
v-if="info.agencyId == $store.state.user.agencyId"
@click="handleClickBtn('create-service')" @click="handleClickBtn('create-service')"
class="btn z-yellow" class="btn z-yellow">
>
发起服务 发起服务
</div> </div>
</div> </div>
@ -354,12 +337,10 @@
</div> </div>
</div> </div>
<div <div v-if="
v-if="
placeType === 'enterprise_patrol' || placeType === 'enterprise_patrol' ||
placeType === 'enterprise_patrol_unqualified' placeType === 'enterprise_patrol_unqualified'
" ">
>
<div class="info-title">企事业信息</div> <div class="info-title">企事业信息</div>
<div class="item"> <div class="item">
场所类型 场所类型
@ -390,7 +371,8 @@
<span>{{ info.mobile || "--" }}</span> <span>{{ info.mobile || "--" }}</span>
</div> </div>
<div @click="handleClickBtn('watch-xuncha')" class="more-btn">更多</div> <div @click="handleClickBtn('watch-xuncha')"
class="more-btn">更多</div>
</div> </div>
<div v-if="placeType === 'party_unit'"> <div v-if="placeType === 'party_unit'">
@ -428,11 +410,9 @@
<span>{{ info.address || "--" }}</span> <span>{{ info.address || "--" }}</span>
</div> </div>
<div <div v-if="info.agencyId == $store.state.user.agencyId"
v-if="info.agencyId == $store.state.user.agencyId"
@click="handleClickBtn('create-service')" @click="handleClickBtn('create-service')"
class="btn z-yellow" class="btn z-yellow">
>
发起服务 发起服务
</div> </div>
</div> </div>
@ -460,7 +440,8 @@
<span>{{ info.centerAddress || "--" }}</span> <span>{{ info.centerAddress || "--" }}</span>
</div> </div>
<div class="operate"> <div class="operate">
<div @click="handleClickBtn('create-service')" class="btn z-yellow"> <div @click="handleClickBtn('create-service')"
class="btn z-yellow">
发起服务 发起服务
</div> </div>
</div> </div>
@ -469,18 +450,14 @@
<div v-if="placeType === 'list'"> <div v-if="placeType === 'list'">
<div class="info-title">列表</div> <div class="info-title">列表</div>
<div class="list"> <div class="list">
<div <div class="item"
class="item"
@click="handleClickListItem(item)" @click="handleClickListItem(item)"
:key="'list' + item.id" :key="'list' + item.id"
v-for="(item, index) in list" v-for="(item, index) in list">
>
<div class="item-cnt">{{ index + 1 }}{{ item.content }}</div> <div class="item-cnt">{{ index + 1 }}{{ item.content }}</div>
<img <img src="@/assets/img/shuju/command/arrow-right-green.png"
src="@/assets/img/shuju/command/arrow-right-green.png"
alt="" alt=""
class="i-arrow" class="i-arrow" />
/>
</div> </div>
</div> </div>
</div> </div>

47
src/views/modules/workSys/operAuth.vue

@ -23,10 +23,9 @@
</el-form-item> </el-form-item>
<div>
<el-form-item label="姓名" <el-form-item label="姓名"
prop="name"> prop="operatorName">
<el-input v-model="formData.name" <el-input v-model="formData.operatorName"
size="small" size="small"
class="list_item_width_1" class="list_item_width_1"
clearable clearable
@ -36,8 +35,8 @@
</el-form-item> </el-form-item>
<el-form-item label="手机" <el-form-item label="手机"
prop="mobile"> prop="operatorMobile">
<el-input v-model="formData.mobile" <el-input v-model="formData.operatorMobile"
size="small" size="small"
class="list_item_width_1" class="list_item_width_1"
clearable clearable
@ -54,14 +53,15 @@
size="small" size="small"
class="diy-button--reset" class="diy-button--reset"
@click="resetSearch">重置</el-button> @click="resetSearch">重置</el-button>
</div>
</div> </div>
</el-form> </el-form>
</div> </div>
<div class="div_table"> <div class="div_table">
<div class="div_btn"> <div class="div_btn">
<el-button style="float:left;margin-left:10px" <el-button v-if="false"
style="float:left;margin-left:10px"
class="diy-button--reset" class="diy-button--reset"
size="small" size="small"
@click="handleExport">导出</el-button> @click="handleExport">导出</el-button>
@ -81,26 +81,26 @@
type="index" type="index"
width="50"></el-table-column> width="50"></el-table-column>
<el-table-column prop="name" <el-table-column prop="operatorName"
header-align="center" header-align="center"
align="center" align="center"
label="姓名" label="姓名"
min-width="100"> min-width="100">
</el-table-column> </el-table-column>
<el-table-column prop="mobile" <el-table-column prop="operatorMobile"
header-align="center" header-align="center"
align="center" align="center"
label="手机号" label="手机号"
min-width="110"> min-width="110">
</el-table-column> </el-table-column>
<el-table-column prop="natTime" <el-table-column prop="content"
header-align="center" header-align="center"
align="center" align="center"
label="操作事项" label="操作事项"
min-width="230"> min-width="230">
</el-table-column> </el-table-column>
<el-table-column prop="natAddress" <el-table-column prop="operateTime"
header-align="center" header-align="center"
align="center" align="center"
show-overflow-tooltip show-overflow-tooltip
@ -160,20 +160,16 @@ export default {
pageNo: 0, pageNo: 0,
tableLoading: false, tableLoading: false,
agencyId: '', agencyId: '',
timeRange: [], timeRange: [],
formData: { formData: {
category: 'data_tm',
name: '',// operatorName: '',//
mobile: '',// operatorMobile: '',//
idCard: '',//
startTime: '',//yyyy-MM-dd HH:mm startTime: '',//yyyy-MM-dd HH:mm
endTime: '',//yyyy-MM-dd HH:mm endTime: '',//yyyy-MM-dd HH:mm
}, },
tableData: [], tableData: [],
@ -206,7 +202,6 @@ export default {
methods: { methods: {
async handleSearch () { async handleSearch () {
this.isResiUser = this.formData.orgType === 'current'
await this.loadTable() await this.loadTable()
@ -219,7 +214,8 @@ export default {
async loadTable () { async loadTable () {
this.tableLoading = true this.tableLoading = true
const url = "/epmetuser/icNat/natlist"
const url = "/sys/log/operation/page"
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNat/natlist" // const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNat/natlist"
let params = { let params = {
pageSize: this.pageSize, pageSize: this.pageSize,
@ -272,10 +268,9 @@ export default {
// //
resetSearch () { resetSearch () {
this.formData = { this.formData = {
orgType: 'current',//:current all category: 'data_tm',
name: '',// operatorName: '',//
mobile: '',// operatorMobile: '',//
idCard: '',//
startTime: '',//yyyy-MM-dd HH:mm startTime: '',//yyyy-MM-dd HH:mm
endTime: '',//yyyy-MM-dd HH:mm endTime: '',//yyyy-MM-dd HH:mm
} }
@ -297,7 +292,7 @@ export default {
// //
async handleExport () { async handleExport () {
let title = '核酸检测信息' let title = '操作记录'
const url = "/epmetuser/icNat/export" const url = "/epmetuser/icNat/export"
@ -361,7 +356,7 @@ export default {
computed: { computed: {
tableHeight () { tableHeight () {
return this.$store.state.inIframe ? this.clientHeight - 420 + this.iframeHeight : this.clientHeight - 420 return this.$store.state.inIframe ? this.clientHeight - 330 + this.iframeHeight : this.clientHeight - 330
}, },

Loading…
Cancel
Save