|
@@ -926,6 +926,19 @@ export default {
|
|
|
});
|
|
|
} else if (this.detailData.treeDeptId) {
|
|
|
this.$set(this.form, 'corpsTypeId', this.detailData.treeDeptId)
|
|
|
+ if (this.$route.query.customerName){
|
|
|
+ this.$set(this.form, "cname", this.$route.query.customerName);
|
|
|
+ this.$router.$avueRouter.closeTag(window.location.hash.slice(1))
|
|
|
+ }else if (this.$route.query) {
|
|
|
+ this.$set(this.form, "cname", this.$route.query.corpName);
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (this.$route.query.customerName){
|
|
|
+ this.$set(this.form, "cname", this.$route.query.customerName);
|
|
|
+ this.$router.$avueRouter.closeTag(window.location.hash.slice(1))
|
|
|
+ }else if (this.$route.query) {
|
|
|
+ this.$set(this.form, "cname", this.$route.query.corpName);
|
|
|
+ }
|
|
|
}
|
|
|
gainUser().then(res => {
|
|
|
this.userList = res.data.data;
|
|
@@ -1163,8 +1176,12 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- backToList() {
|
|
|
- this.$emit("goBack");
|
|
|
+ backToList(value) {
|
|
|
+ if (value == '0'){
|
|
|
+ this.$emit("goBack");
|
|
|
+ }else {
|
|
|
+ this.$emit('goBack', true)
|
|
|
+ }
|
|
|
},
|
|
|
openFlow() {
|
|
|
this.switchDialog = !this.switchDialog;
|