|
|
@@ -345,8 +345,10 @@ export default {
|
|
|
suggestChange(e) {
|
|
|
this.formData.suggestId = ''
|
|
|
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) {
|
|
|
if (val) {
|
|
|
@@ -454,7 +456,7 @@ export default {
|
|
|
this.$refs.formData.validate((valid) => {
|
|
|
if (valid) {
|
|
|
this.$confirm("确认提交吗?", "提示", {}).then(() => {
|
|
|
- if (this.dialogTitle == "新增") {
|
|
|
+ if (this.dialogTitle == "新增工作室信息") {
|
|
|
this.$api.insCompany
|
|
|
.agencyAdd(this.formData)
|
|
|
.then((res) => {
|