Commit 4d717a1e by 胡悦

Merge branch 'master' of 192.168.3.233:glsx-web/glsx-oss-ai-manager

2 parents 3b7a15c5 bd30008c
...@@ -99,9 +99,9 @@ var addParams_original = { ...@@ -99,9 +99,9 @@ var addParams_original = {
id: null, id: null,
influenceScope: '', influenceScope: '',
ipBackgroundList: [], ipBackgroundList: [],
manufacturer: 1004, manufacturer: null,
manufacturerId: 1004, manufacturerId: null,
manufacturerName: '1004', manufacturerName: '',
merchantId: null, merchantId: null,
merchantName: '', merchantName: '',
packagePath: '', packagePath: '',
...@@ -385,45 +385,45 @@ export default { ...@@ -385,45 +385,45 @@ export default {
editExpValidate() { editExpValidate() {
this.idPassvalue.$emit('submit', function(result) { this.idPassvalue.$emit('submit', function(result) {
console.log(result) console.log(result)
// if (this.manufacturer) { if (this.manufacturer) {
// if (this.manufacturer.merchants) { if (this.manufacturer.merchants) {
// this.addParams.merchantId = this.manufacturer.merchants.id this.addParams.merchantId = this.manufacturer.merchants.id
// this.addParams.merchantName = this.manufacturer.merchants.merchantName this.addParams.merchantName = this.manufacturer.merchants.merchantName
// } }
// if (this.manufacturer.manufacturers) { if (this.manufacturer.manufacturers) {
// this.addParams.manufacturer = this.manufacturer.manufacturers.manufacturer this.addParams.manufacturer = this.manufacturer.manufacturers.manufacturer
// this.addParams.manufacturerId = this.manufacturer.manufacturers.merchantId this.addParams.manufacturerId = this.manufacturer.manufacturers.merchantId
// this.addParams.manufacturerName = this.manufacturer.manufacturers.merchantName this.addParams.manufacturerName = this.manufacturer.manufacturers.merchantName
// } }
// if (this.manufacturer.grayscaleUserList) { if (this.manufacturer.grayscaleUserList) {
// this.addParams.grayscaleUserList = this.manufacturer.grayscaleUserList this.addParams.grayscaleUserList = this.manufacturer.grayscaleUserList
// } }
// if (this.manufacturer.influenceScope) { if (this.manufacturer.influenceScope) {
// this.addParams.influenceScope = this.manufacturer.influenceScope this.addParams.influenceScope = this.manufacturer.influenceScope
// } }
// } }
}) })
// this.$validator.validateAll().then(result => { this.$validator.validateAll().then(result => {
// console.log('result:' + result) console.log('result:' + result)
// // 验证表情包上传情况 // 验证表情包上传情况
// if (!this.addParams.packagePath) { if (!this.addParams.packagePath) {
// this.expressionFileErr = '表情包是必须的' this.expressionFileErr = '表情包是必须的'
// result = false result = false
// } }
// // 验证固定表情上传情况 // 验证固定表情上传情况
// this.backgroundImgErr = '' this.backgroundImgErr = ''
// this.ipBackgroundDefault.forEach((item, index) => { this.ipBackgroundDefault.forEach((item, index) => {
// if (!item.backgroundPath) { // 如果固定表情有没上传文件的,跳出循环并且显示错误信息 if (!item.backgroundPath) { // 如果固定表情有没上传文件的,跳出循环并且显示错误信息
// this.backgroundImgErr = '请上传全部固定表情背景' this.backgroundImgErr = '请上传全部固定表情背景'
// result = false result = false
// return result return result
// } }
// }) })
// if (result) { if (result) {
// this.editExpressionInfo() this.editExpressionInfo()
// } }
// }) })
}, },
// 新增或编辑表情接口所需参数 // 新增或编辑表情接口所需参数
getParams() { getParams() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!