优秀党员追加

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

View File

@@ -1,14 +1,6 @@
<template>
<ai-detail class="party">
<template slot="title">
<ai-title
:title="isEdit ? '编辑党员' : '添加党员'"
isShowBack
isShowBottomBorder
@onBackClick="cancel(false)"
>
</ai-title>
</template>
<ai-title slot="title" :title="isEdit ? '编辑党员' : '添加党员'" isShowBack isShowBottomBorder @onBackClick="cancel"/>
<template slot="content">
<el-form
ref="form"
@@ -319,6 +311,9 @@
:maxLength="20"
></el-input>
</el-form-item>
<el-form-item label="优秀党员" prop="isOutstandingParty">
<ai-select v-model="form.isOutstandingParty" :selectList="dict.getDict('yesOrNo')"/>
</el-form-item>
</div>
</ai-card>
<ai-card title="流动信息">
@@ -825,6 +820,7 @@ export default {
lossTime: "",
inTime: "",
education: "",
isOutstandingParty: "0"
},
isShowStarForm: false,
isShowJobForm: false,

View File

@@ -86,12 +86,10 @@
<el-input
v-model="search.con"
size="small"
v-throttle="() => {search.current = 1, getList()}"
placeholder="请输入姓名或身份证"
clearable
@clear="search.current = 1, search.con = '', getList()"
suffix-icon="iconfont iconSearch">
</el-input>
@change="search.current=1,getList()"
suffix-icon="iconfont iconSearch"/>
</template>
</ai-search-bar>
<ai-search-bar>

View File

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