|
@@ -53,7 +53,7 @@
|
|
|
<el-button type="primary" @click="onSubmit">确定</el-button>
|
|
<el-button type="primary" @click="onSubmit">确定</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</DialogCom>
|
|
</DialogCom>
|
|
|
- <UserSelector ref="UserSelector" @select="onUserSelect"></UserSelector>
|
|
|
|
|
|
|
+ <UserSelector ref="UserSelector" @select="onUserSelect" :clearSelectOnClose="false"></UserSelector>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -138,6 +138,7 @@ export default {
|
|
|
onSubmit() {
|
|
onSubmit() {
|
|
|
this.$refs.form.validate(async (isValidate) => {
|
|
this.$refs.form.validate(async (isValidate) => {
|
|
|
if (!isValidate) return;
|
|
if (!isValidate) return;
|
|
|
|
|
+ this.$refs["UserSelector"].clearSelected();
|
|
|
this.$emit("success", this.formData,this.tem);
|
|
this.$emit("success", this.formData,this.tem);
|
|
|
this.isShow = false;
|
|
this.isShow = false;
|
|
|
});
|
|
});
|