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