|
@@ -43,7 +43,7 @@ import { throttle, slice, uniqBy } from "lodash";
|
|
import selects from "@/store/modules/selects";
|
|
import selects from "@/store/modules/selects";
|
|
export default {
|
|
export default {
|
|
name: "remote-search",
|
|
name: "remote-search",
|
|
- props: ["commit", "number", "value", "width", "multiple", "ariaPlaceholder"],
|
|
|
|
|
|
+ props: ["commit", "number", "value", "width", "multiple", "ariaPlaceholder",'demissionFlag'],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
options: [],
|
|
options: [],
|
|
@@ -70,7 +70,7 @@ export default {
|
|
if(this.commit == 'setTenantUser'){
|
|
if(this.commit == 'setTenantUser'){
|
|
await this.$store.dispatch(commit,this.value);
|
|
await this.$store.dispatch(commit,this.value);
|
|
}else{
|
|
}else{
|
|
- await this.$store.dispatch(commit);
|
|
|
|
|
|
+ await this.$store.dispatch(commit,this.demissionFlag);
|
|
}
|
|
}
|
|
|
|
|
|
if (commit == "setOrganRole") {
|
|
if (commit == "setOrganRole") {
|