lihongxiao пре 2 година
родитељ
комит
bf101a02ce
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/views/PeopleManage/Institutional.vue

+ 4 - 2
src/views/PeopleManage/Institutional.vue

@@ -345,8 +345,10 @@ export default {
     suggestChange(e) {
     suggestChange(e) {
       this.formData.suggestId = ''
       this.formData.suggestId = ''
       if (e) {
       if (e) {
-        this.formData.suggestId = this.sysPartnerOption.find(val => val.userId == e).userId
+        this.formData.suggestId = this.sysPartnerOption.find(val => val.userName == e).userId
       }
       }
+      console.log(e,222222222);
+
     },
     },
     userChange(val) {
     userChange(val) {
       if (val) {
       if (val) {
@@ -454,7 +456,7 @@ export default {
       this.$refs.formData.validate((valid) => {
       this.$refs.formData.validate((valid) => {
         if (valid) {
         if (valid) {
           this.$confirm("确认提交吗?", "提示", {}).then(() => {
           this.$confirm("确认提交吗?", "提示", {}).then(() => {
-            if (this.dialogTitle == "新增") {
+            if (this.dialogTitle == "新增工作室信息") {
               this.$api.insCompany
               this.$api.insCompany
                 .agencyAdd(this.formData)
                 .agencyAdd(this.formData)
                 .then((res) => {
                 .then((res) => {