Browse Source

Merge branches 'feature/dev_party_mange' and 'feature/dev_party_mange' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into feature/dev_party_mange

shibei_master
13176889840 3 years ago
parent
commit
cccad37f8a
  1. 575
      src/views/modules/partymember/icpartyorg-add-or-update.vue
  2. 154
      src/views/modules/partymember/icpartyorgtree.vue

575
src/views/modules/partymember/icpartyorg-add-or-update.vue

@ -1,87 +1,91 @@
<template>
<el-dialog :visible.sync="visible" :title="!dataForm.id ? '新增党组织' : '更新党组织'" :close-on-click-modal="false"
:close-on-press-escape="false">
<el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmitHandle()"
<el-form class="form"
:model="dataForm"
:rules="dataRule"
ref="dataForm"
@keyup.enter.native="dataFormSubmitHandle()"
:label-width="$i18n.locale === 'en-US' ? '120px' : '100px'">
<!-- <el-form-item label="上级组织" prop="orgPid">-->
<!-- <el-input v-model="dataForm.orgPid" placeholder="上级组织"></el-input>-->
<!-- </el-form-item>-->
<el-form-item prop="orgPidName"
label="上级组织"
class="dept-list">
<el-popover v-model="orgListVisible"
ref="orgListPopover"
placement="bottom-start"
trigger="click">
<el-tree :data="orgList"
:props="{ label: 'partyOrgName', children: 'children' }"
node-key="id"
ref="deptListTree"
:highlight-current="true"
:expand-on-click-node="false"
accordion
@current-change="orgListTreeCurrentChangeHandle">
</el-tree>
</el-popover>
<el-input v-model="dataForm.orgPidName"
v-popover:orgListPopover
:readonly="true"
placeholder="上级分类">
<i v-if="dataForm.orgPid !== '0'"
slot="suffix"
@click.stop="orgListTreeSetDefaultHandle()"
class="el-icon-circle-close el-input__icon">
</i>
</el-input>
</el-form-item>
<!-- <el-form-item label="组织类型" prop="partyOrgType">-->
<!-- <el-input v-model="dataForm.partyOrgType" placeholder="党组织类型"></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="组织类型" prop="partyOrgType">
<el-select v-model="dataForm.partyOrgType" @change="changePartyOrgType" clearable placeholder="组织类型">
<el-option v-for="item in partyOrgTypeList" :key="item.value" :label="item.name" :value="item.value">
<el-form-item prop="partyOrgType" label="组织类型">
<el-select v-model="dataForm.partyOrgType" @change="changePartyOrgType" clearable placeholder="请选择组织类型">
<el-option
v-for="item in partyOrgTypeList"
:key="item.value"
:label="item.name"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="组织名称" prop="partyOrgName">
<el-input v-model="dataForm.partyOrgName" placeholder="组织名称"></el-input>
<el-form-item prop="partyOrgName" label="组织名称">
<el-input v-model="dataForm.partyOrgName" placeholder="请输入组织名称" style="width:300px"></el-input>
</el-form-item>
<el-form-item label="组织编码" prop="partyOrgCode">
<el-input v-model="dataForm.partyOrgCode" placeholder="组织编码"></el-input>
<el-input v-model="dataForm.partyOrgCode" placeholder="组织编码" style="width:300px"></el-input>
</el-form-item>
<el-form-item v-if="dataForm.partyOrgType != '5'" prop="maSelectAgency" label="行政组织">
<el-cascader
style="width:300px"
v-model="dataForm.maSelectAgency"
:options="agencyOrgList"
placeholder="请选择行政组织"
:props="{ checkStrictly: true, label: 'name', value: 'id', children: 'children' }"
@change="handleChangeAgency"
clearable />
</el-form-item>
<!-- <el-form-item label="行政组织" prop="agencyId">-->
<!-- <el-input v-model="dataForm.agencyId" placeholder="行政组织"></el-input>-->
<!-- </el-form-item>-->
<el-form-item prop="agencyName"
label="行政组织"
v-if="dataForm.partyOrgType != '5'"
class="dept-list">
<el-popover v-model="agencyListVisible"
ref="agencyOrgListPopover"
placement="bottom-start"
trigger="click">
<el-tree :data="agencyOrgList"
:props="{ label: 'name', children: 'children' }"
node-key="id"
ref="agencyListTree"
:highlight-current="true"
:expand-on-click-node="false"
accordion
@current-change="agencyListTreeCurrentChangeHandle">
</el-tree>
</el-popover>
<el-input v-model="dataForm.agencyName"
v-popover:agencyOrgListPopover
:readonly="true"
placeholder="行政组织">
<!-- <i v-if="dataForm.orgPid !== '0'"-->
<!-- slot="suffix"-->
<!-- class="el-icon-circle-close el-input__icon">-->
<!-- </i>-->
</el-input>
<el-form-item prop="mySelectOrg" label="上级组织">
<el-cascader
style="width:300px"
v-model="dataForm.mySelectOrg"
:options="orgList"
placeholder="请选择上级组织"
:props="{ checkStrictly: true, label: 'partyOrgName', value: 'id', children: 'children' }"
@change="handleChangeOrg"
clearable />
</el-form-item>
<el-form-item label="党组织介绍" prop="introduction">
<el-input v-model="dataForm.introduction" type="textarea" maxlength="500" placeholder="党组织介绍"></el-input>
<el-input style="width:300px" v-model="dataForm.introduction" type="textarea" maxlength="500" placeholder="党组织介绍"></el-input>
</el-form-item>
<el-form-item label="位置坐标"
prop="longitude"
style="display: block">
<div class="item_width_1">
<div class="div_map">
<div id="app">
</div>
<div style="display: none" id="mapSeach_id" class="div_searchmap">
<el-input class="item_width_4"
maxlength="50"
size="mini"
placeholder="请输入关键字"
v-model="keyWords">
</el-input>
<el-button style="margin-left: 10px"
type="primary"
size="mini"
@click="handleSearchMap">查询</el-button>
</div>
</div>
<div id="lon_lat_id" style="margin-top: 10px; display: none">
<span>经度</span>
<el-input class="item_width_3"
maxlength="50"
placeholder="请输入经度"
:readonly="true"
v-model="dataForm.longitude">
</el-input>
<span style="margin-left: 20px">纬度</span>
<el-input class="item_width_3"
maxlength="50"
placeholder="请输入纬度"
:readonly="true"
v-model="dataForm.latitude">
</el-input>
</div>
</div>
</el-form-item>
</el-form>
<template slot="footer">
@ -92,35 +96,44 @@
</template>
<script>
var map
var search
var markers
var infoWindowList
var geocoder //
import debounce from 'lodash/debounce'
export default {
data() {
return {
visible: false,
keyWords: '',
dataForm: {
id: '',
partyOrgType: '', // 0,1,2,3,4,5
partyOrgName: '', //
partyOrgCode: '', //
mySelectOrg:'', //
orgPid: '', // ID,0
orgPids: '', // ID,0
maSelectAgency: '', //
agencyId: '', // id
agencyPids:'', // ids()
longitude: 36.0722275, //
latitude: 120.38945519, //
address: '',
introduction: '', //
customerId: '',
staffId:'',
orgPid: '',
orgPids: '',
orgPidName: '',
agencyId: '',
agencyName:'',
agencyPids: '',
partyOrgType: '',
partyOrgName: '',
partyOrgCode: '',
longitude: '1',
latitude: '1',
address: '',
introduction: '',
delFlag: '',
revision: '',
createdBy: '',
createdTime: '',
updatedBy: '',
updatedTime: ''
updatedTime: '',
},
orgListVisible: false,
agencyListVisible:false,
@ -130,98 +143,36 @@
agencyOrgList:[]
}
},
computed: {
dataRule() {
return {
customerId: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
orgPid: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
orgPids: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
agencyId: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
agencyPids: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
partyOrgType: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
partyOrgName: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
longitude: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
latitude: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
address: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
delFlag: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
revision: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
createdBy: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
createdTime: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
updatedBy: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
updatedTime: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
orgPidName: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
agencyName: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
]
}
}
mounted () {
setTimeout(() => {
this.initMap()
}, 500);
},
methods: {
changePartyOrgType(value){
if(value != '5'){
this.dataForm.agencyId = ''
this.dataForm.agencyName = ''
}
this.$http.get('/gov/org/customeragency/getOrgTreeByUserAndType',
{params:
{agencyId: this.agencyId,
orgType:value}
}).then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
this.agencyOrgList = res.data
}).catch(() => {
init() {
this.visible = true
this.agencyId = localStorage.getItem('agencyId')
this.dataForm.customerId = localStorage.getItem('customerId')
this.dataForm.staffId = localStorage.getItem('staffId')
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
//
this.setPartyOrgType()
this.getOrgList().then(() => {
if (this.dataForm.id) {
this.getInfo()
} else {
this.dataForm.mySelectOrg = this.dataForm.orgPids.split(',')
this.orgListTreeSetDefaultHandle()
}
})
})
},
//
setPartyOrgType() {
/**
* 社区级community
街道级:street,
区县级: district,
市级: city
省级:province
*
*/
// community:street,: district,: city :province
// 0,1,2,3,4,5
this.level = localStorage.getItem('level')
/**
* 党组织类型 0省委,1市委,2区委,3党工委,4党委,5支部
*/
if (this.level == 'province') {
this.partyOrgTypeList = [
{value: '0', name: '省委'},
@ -259,6 +210,20 @@
]
}
},
//
changePartyOrgType(value){
if(value != '5'){ //
this.dataForm.agencyId = ''
this.dataForm.agencyPids = ''
this.dataForm.maSelectAgency = ''
}
this.$http.get('/gov/org/customeragency/getOrgTreeByUserAndType', {params: {agencyId: this.agencyId, orgType:value}}).then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
this.agencyOrgList = res.data
}).catch(() => {})
},
//
getOrgList() {
return this.$http.get('/resi/partymember/icPartyOrg/getTreelist', {params: {agencyId: this.agencyId}}).then(({data: res}) => {
@ -269,43 +234,32 @@
}).catch(() => {
})
},
// ,
orgListTreeSetDefaultHandle() {
this.dataForm.orgPid = '0'
this.dataForm.orgPidName = '一级组织'
},
// ,
orgListTreeCurrentChangeHandle(data) {
this.dataForm.orgPid = data.id
this.dataForm.orgPidName = data.partyOrgName
this.dataForm.orgPids = data.orgPids+data.id+","
//idid
this.dataForm.agencyId = data.agencyId
this.orgListVisible = false
},
// ,
agencyListTreeCurrentChangeHandle(data) {
this.dataForm.agencyId = data.id
this.dataForm.agencyName = data.name
this.agencyListVisible = false
//
handleChangeOrg(e) {
if (this.dataForm.mySelectOrg.length > 0 && this.dataForm.mySelectOrg) {
this.dataForm.orgPid = this.dataForm.mySelectOrg[this.dataForm.mySelectOrg.length - 1]
this.dataForm.orgPids = ''
this.dataForm.mySelectOrg.forEach(element => {
this.dataForm.orgPids = this.dataForm.orgPids ? this.dataForm.orgPids + ',' + element : element
});
} else {
this.dataForm.orgPid = ''
this.dataForm.orgPids = ''
}
},
init() {
this.visible = true
this.agencyId = localStorage.getItem('agencyId')
this.dataForm.customerId = localStorage.getItem('customerId')
this.dataForm.staffId = localStorage.getItem('staffId')
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
//
this.setPartyOrgType()
this.getOrgList().then(() => {
if (this.dataForm.id) {
this.getInfo()
} else {
this.orgListTreeSetDefaultHandle()
}
})
})
//
handleChangeAgency(e){
console.log(this.dataForm.maSelectAgency)
if (this.dataForm.maSelectAgency.length > 0 && this.dataForm.maSelectAgency) {
this.dataForm.agencyId = this.dataForm.maSelectAgency[this.dataForm.maSelectAgency.length - 1]
this.dataForm.agencyPids = ''
this.dataForm.maSelectAgency.forEach(element => {
this.dataForm.agencyPids = this.dataForm.agencyPids ? this.dataForm.agencyPids + ',' + element : element
});
} else {
this.dataForm.agencyId = ''
this.dataForm.agencyPids = ''
}
},
//
getInfo() {
@ -317,6 +271,13 @@
...this.dataForm,
...res.data
}
//
this.dataForm.mySelectOrg = this.dataForm.orgPids.split(',')
console.log(this.dataForm.orgPids.split(','))
//
this.dataForm.maSelectAgency = this.dataForm.agencyPids.split(',')
console.log(this.dataForm.agencyPids.split(','))
}).catch(() => {
})
@ -336,6 +297,116 @@
}).catch(() => {
})
},
// ,
orgListTreeSetDefaultHandle() {
this.dataForm.orgPid = '0'
this.dataForm.orgPidName = '一级组织'
},
// init
initMap () {
if (document.getElementById('app')) {
document.getElementById('mapSeach_id').style.display = "block"
document.getElementById('lon_lat_id').style.display = "block"
}
//
var center = new window.TMap.LatLng(36.0722275, 120.38945519)
// map TMap.Map()
map = new window.TMap.Map(document.getElementById('app'), {
center: center, //
zoom: 17.2, //
pitch: 43.5, //
rotation: 45 //
})
search = new window.TMap.service.Search({ pageSize: 10 })
//
markers = new TMap.MultiMarker({
map: map,
geometries: []
})
infoWindowList = Array(10)
geocoder = new TMap.service.Geocoder(); //
//
map.on('panend', () => {
this.handleMoveCenter()
})
this.handleMoveCenter()
this.convert()
},
setMarker (lat, lng) {
markers.setGeometries([])
markers.add([
{
id: '4',
styleId: 'marker',
position: new TMap.LatLng(lat, lng),
properties: {
title: 'marker4'
}
}
])
},
handleSearchMap () {
infoWindowList.forEach((infoWindow) => {
infoWindow.close()
})
infoWindowList.length = 0
markers.setGeometries([])
//
search.searchRectangle({ keyword: this.keyWords, bounds: map.getBounds()}).then((result) => {
let { data } = result
if (Array.isArray(data) && data.length > 0) {
const {
location: { lat, lng }
} = data[0]
map.setCenter(new TMap.LatLng(lat, lng))
this.setMarker(lat, lng)
this.dataForm.latitude = lat
this.dataForm.longitude = lng
this.convert()
} else {
this.$message.error('未检索到相关位置坐标')
}
})
},
handleMoveCenter () {
//
const center = map.getCenter()
const lat = center.getLat()
const lng = center.getLng()
this.dataForm.latitude = lat
this.dataForm.longitude = lng
this.setMarker(lat, lng)
this.convert(lat, lng)
},
convert (lat, lng) {
markers.setGeometries([]);
// var input = document.getElementById('location').value.split(',');
let location
if (lat && lng) {
location = new TMap.LatLng(lat, lng);
} else {
location = new TMap.LatLng(this.dataForm.latitude, this.dataForm.longitude);
}
// map.setCenter(location);
markers.updateGeometries([
{
id: 'main', //
position: location,
},
]);
//
geocoder.getAddress({ location: location }).then((result) => {
this.dataForm.address = result.result.address
//
});
},
//
dataFormSubmitHandle: debounce(function () {
this.$refs['dataForm'].validate((valid) => {
@ -359,52 +430,66 @@
})
})
}, 1000, {'leading': true, 'trailing': false})
}
}
</script>
<style lang="scss">
.mod-sys__dept {
.dept-list {
.el-input__inner,
.el-input__suffix {
cursor: pointer;
},
computed: {
dataRule() {
return {
mySelectOrg: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
partyOrgType: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
longitude: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
latitude: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
],
maSelectAgency: [
{required: true, message: this.$t('validate.required'), trigger: 'blur'}
]
}
}
}
}
</script>
.el-popover {
height: 320px;
overflow-y: scroll;
}
.el-dialog__footer {
margin-top: 100px;
}
<style lang="scss" scoped >
@import "@/assets/scss/modules/visual/communityManageForm.scss";
</style>
<style lang="scss" scoped>
.item_width_1 {
width: 560px;
.avatar-uploader .el-upload {
border: 1px dashed #d9d9d9;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
}
/deep/.tox .tox-dialog {
z-index: 20000;
}
}
.avatar-uploader .el-upload:hover {
border-color: #409eff;
}
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 178px;
height: 178px;
line-height: 178px;
text-align: center;
}
.div_map {
position: relative;
}
.div_searchmap {
z-index: 5000;
position: absolute;
top: 5px;
left: 5px;
}
.avatar {
width: 178px;
height: 178px;
display: block;
}
.tinymce_view {
height: 400px;
overflow: auto;
}
.text_p {
margin: 0;
padding: 0 10px;
border: 1px solid #d9d9d9;
border-radius: 5px;
> p {
margin: 0;
}
}
</style>

154
src/views/modules/partymember/icpartyorgtree.vue

@ -1,72 +1,65 @@
<template>
<div class="resi-container">
<el-card class="resi-card-table">
<el-card class="resi-card-table">
<div class="resi-row-btn">
<el-button class="diy-button--add"
size="small"
@click="addOrUpdateHandle()">新增</el-button>
size="small"
@click="addOrUpdateHandle()">新增</el-button>
</div>
<el-table :data="tableData"
v-loading="tableLoading"
border
style="width: 100%"
class="resi-table">
<table-tree-column prop="partyOrgName" label="党组织名称" header-align="center"></table-tree-column>
<el-table-column label="操作"
align="center"
width="300">
<template slot-scope="scope">
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)"
@click="handleLook(scope.row)"
type="text"
size="small"
class="div-table-button--detail">{{'查看党员'}}</el-button>
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)"
@click="handleAdd('2', 'add', scope.row)"
type="text"
size="small"
class="div-table-button--add">新增下级</el-button>
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)"
@click="addOrUpdateHandle(scope.row.id)"
type="text"
size="small"
class="div-table-button--edit">修改</el-button>
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)"
@click="handleEdit(scope.row, 'edit')"
type="text"
size="small"
class="div-table-button--edit">删除</el-button>
</template>
</el-table-column>
<!-- 列表表格 -->
<el-table
class="table"
v-loading="tableLoading"
:data="tableData"
:default-expand-all="true"
row-key="id"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
:header-cell-style="{background:'#2195FE',color:'#FFFFFF'}">
<el-table-column prop="partyOrgName" label="党组织名称"></el-table-column>
<el-table-column label="操作" align="center" width="300">
<template slot-scope="scope">
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)"
@click="handleLook(scope.row)"
type="text"
size="small"
class="div-table-button--detail">{{'查看党员'}}</el-button>
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)"
@click="addOrUpdateHandle('', scope.row.orgPids)"
type="text"
size="small"
class="div-table-button--add">新增下级</el-button>
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)"
@click="addOrUpdateHandle(scope.row.id)"
type="text"
size="small"
class="div-table-button--edit">修改</el-button>
<el-button v-if="scope.row.agencyId == agencyId || scope.row.agencyPids.includes(agencyId)"
@click="deleteAgency(scope.row.id)"
type="text"
size="small"
class="div-table-button--edit">删除</el-button>
</template>
</el-table-column>
</el-table>
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update>
</el-card>
</div>
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getTableData"></add-or-update>
</el-card>
</template>
<script>
import mixinViewModule from '@/mixins/view-module'
import AddOrUpdate from './icpartyorg-add-or-update'
import TableTreeColumn from '@/components/table-tree-column'
export default {
mixins: [mixinViewModule],
data () {
return {
mixinViewModuleOptions: {
getDataListURL: '/resi/partymember/icPartyOrg/getTreelist',
getDataListIsPage: true,
deleteURL: '/resi/partymember/icPartyOrg',
deleteIsBatch: true
},
dataForm: {
id: '',
customerId: ''
customerId: '',
orgPids: ''
},
tableLoading: false,
tableData: [],
agencyId: ''
agencyId: '',
addOrUpdateVisible: false
}
},
components: {
@ -80,30 +73,57 @@
// this.pageLoading = true
},
methods:{
//
async getTableData () {
this.tableLoading = true
let params = {
customerId: localStorage.getItem('customerId')
}
await this.$http.get('/resi/partymember/icPartyOrg/getTreelist', {params: this.dataForm}).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
} else {
this.tableData = res.data
}
}).catch(() => {})
this.tableLoading = false
},
// /
addOrUpdateHandle (id) {
addOrUpdateHandle (id, orgPids) {
this.addOrUpdateVisible = true
this.$nextTick(() => {
this.$refs.addOrUpdate.dataForm.id = id
//
this.$refs.addOrUpdate.dataForm.orgPids = orgPids //
this.$refs.addOrUpdate.init()
})
},
async getTableData () {
this.tableLoading = true
let params = {
customerId: localStorage.getItem('customerId')
}
await this.$http
.get('/resi/partymember/icPartyOrg/getTreelist', {params: this.dataForm})
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
} else {
this.tableData = res.data
}
})
.catch(() => {})
this.tableLoading = false
//
deleteAgency (id) {
this.$confirm(this.$t('prompt.info', { 'handle': this.$t('delete') }), this.$t('prompt.title'), {
confirmButtonText: this.$t('confirm'),
cancelButtonText: this.$t('cancel'),
type: 'warning'
}).then(() => {
this.$http.delete('/resi/partymember/icPartyOrg/delete', {'data': [id]}).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
this.$message({
message: this.$t('prompt.success'),
type: 'success',
duration: 500,
onClose: () => {
this.getTableData()
}
})
}).catch(() => {})
}).catch(() => {})
},
//
handleLook(row) {
console.log('这里是查看党员', row)
}
}
}

Loading…
Cancel
Save