优秀党员追加

This commit is contained in:
aixianling
2022-04-15 16:43:18 +08:00
parent 9ff75ba4b5
commit 99a9433c92
4 changed files with 28 additions and 34 deletions

View File

@@ -1,7 +1,6 @@
<template> <template>
<div class="AppPartyMember"> <div class="AppPartyMember">
<component ref="component" :is="component" :selected.sync="selected" :instance="instance" <component ref="component" :is="component" :selected.sync="selected" :instance="instance" :dict="dict"/>
:dict="dict"/>
</div> </div>
</template> </template>
@@ -39,6 +38,7 @@ export default {
} }
}, },
created() { created() {
this.dict.load("yesOrNo")
let {organizationId: id, organizationName: name} = this.user.info let {organizationId: id, organizationName: name} = this.user.info
this.selected = {id, name} this.selected = {id, name}
}, },

View File

@@ -1,14 +1,6 @@
<template> <template>
<ai-detail class="party"> <ai-detail class="party">
<template slot="title"> <ai-title slot="title" :title="isEdit ? '编辑党员' : '添加党员'" isShowBack isShowBottomBorder @onBackClick="cancel"/>
<ai-title
:title="isEdit ? '编辑党员' : '添加党员'"
isShowBack
isShowBottomBorder
@onBackClick="cancel(false)"
>
</ai-title>
</template>
<template slot="content"> <template slot="content">
<el-form <el-form
ref="form" ref="form"
@@ -153,13 +145,13 @@
</div> </div>
</template> </template>
</ai-card> </ai-card>
<!-- <ai-card title="审核状态" v-if="isEdit">--> <!-- <ai-card title="审核状态" v-if="isEdit">-->
<!-- <template #content>--> <!-- <template #content>-->
<!-- <el-form-item label="审核状态" style="width: 100%">--> <!-- <el-form-item label="审核状态" style="width: 100%">-->
<!-- <span :class="'audit-' + form.auditStatus" v-text="dict.getLabel('auditStatus', form.auditStatus)"/>--> <!-- <span :class="'audit-' + form.auditStatus" v-text="dict.getLabel('auditStatus', form.auditStatus)"/>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- </template>--> <!-- </template>-->
<!-- </ai-card>--> <!-- </ai-card>-->
<ai-card title="联络信息"> <ai-card title="联络信息">
<div class="ai-form" slot="content"> <div class="ai-form" slot="content">
<el-form-item label="联系方式" prop="phone"> <el-form-item label="联系方式" prop="phone">
@@ -319,6 +311,9 @@
:maxLength="20" :maxLength="20"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="优秀党员" prop="isOutstandingParty">
<ai-select v-model="form.isOutstandingParty" :selectList="dict.getDict('yesOrNo')"/>
</el-form-item>
</div> </div>
</ai-card> </ai-card>
<ai-card title="流动信息"> <ai-card title="流动信息">
@@ -825,6 +820,7 @@ export default {
lossTime: "", lossTime: "",
inTime: "", inTime: "",
education: "", education: "",
isOutstandingParty: "0"
}, },
isShowStarForm: false, isShowStarForm: false,
isShowJobForm: false, isShowJobForm: false,

View File

@@ -86,12 +86,10 @@
<el-input <el-input
v-model="search.con" v-model="search.con"
size="small" size="small"
v-throttle="() => {search.current = 1, getList()}"
placeholder="请输入姓名或身份证" placeholder="请输入姓名或身份证"
clearable clearable
@clear="search.current = 1, search.con = '', getList()" @change="search.current=1,getList()"
suffix-icon="iconfont iconSearch"> suffix-icon="iconfont iconSearch"/>
</el-input>
</template> </template>
</ai-search-bar> </ai-search-bar>
<ai-search-bar> <ai-search-bar>
@@ -106,16 +104,16 @@
</template> </template>
</ai-search-bar> </ai-search-bar>
<ai-table <ai-table
:dict="dict" :dict="dict"
:tableData="tableData" :tableData="tableData"
:col-configs="colConfigs" :col-configs="colConfigs"
:total="total" :total="total"
v-loading="loading" v-loading="loading"
style="margin-top: 6px;" style="margin-top: 6px;"
:current.sync="search.current" :current.sync="search.current"
:size.sync="search.size" :size.sync="search.size"
@handleSelectionChange="handleSelectionChange" @handleSelectionChange="handleSelectionChange"
@getList="getList"> @getList="getList">
<el-table-column slot="options" width="160px" fixed="right" label="操作" align="center"> <el-table-column slot="options" width="160px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div class="table-options"> <div class="table-options">
@@ -211,7 +209,7 @@ export default {
this.getList(e.id) this.getList(e.id)
}, },
onSearch (v) { onSearch(v) {
this.orgTree.filter(v) this.orgTree.filter(v)
}, },

View File

@@ -64,7 +64,7 @@ module.exports = {
proxy: { proxy: {
//设置代理,可解决跨5 //设置代理,可解决跨5
'/lan': { '/lan': {
target: 'https://sdtestweb.sdvillage.cn', target: 'http://192.168.1.87:9000',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
//地址重写 //地址重写