党员添加
This commit is contained in:
@@ -33,9 +33,11 @@
|
||||
:maxLength="15"
|
||||
placeholder="请输入姓名"
|
||||
v-model="form.name"
|
||||
|
||||
>
|
||||
<template slot="append" v-if="!isEdit">
|
||||
<ai-person-select
|
||||
:url="'/app/appresident/list?areaId='+user.info.areaId"
|
||||
:instance="instance"
|
||||
@selectPerson="checkName"
|
||||
>
|
||||
@@ -762,6 +764,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
export default {
|
||||
name: "Add",
|
||||
|
||||
@@ -771,6 +774,7 @@ export default {
|
||||
selected: Object
|
||||
},
|
||||
computed: {
|
||||
...mapState(["user"]),
|
||||
isEdit() {
|
||||
return !!this.$route.query.id;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user