Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-ai-manager
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5a42c32c
authored
Jan 28, 2019
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
a
1 parent
c16bba0e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
29 deletions
src/views/customer/brand/Edit.vue
src/views/customer/components/src/manufacturers.vue
src/views/customer/brand/Edit.vue
View file @
5a42c32
...
@@ -383,27 +383,27 @@ export default {
...
@@ -383,27 +383,27 @@ export default {
},
},
// 新增或编辑表情信息表单验证
// 新增或编辑表情信息表单验证
editExpValidate() {
editExpValidate() {
this.idPassvalue.$emit('submit'
)
this.idPassvalue.$emit('submit'
, function(result) {
setTimeout(() => {
console.log(result)
console.log(this.manufacturer)
// 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
// }
}
//
}
}
})
}, 100)
// this.$validator.validateAll().then(result => {
// this.$validator.validateAll().then(result => {
// console.log('result:' + result)
// console.log('result:' + result)
// // 验证表情包上传情况
// // 验证表情包上传情况
...
@@ -421,7 +421,7 @@ export default {
...
@@ -421,7 +421,7 @@ export default {
// }
// }
// })
// })
// if (result) {
// if (result) {
this.editExpressionInfo()
//
this.editExpressionInfo()
// }
// }
// })
// })
},
},
...
...
src/views/customer/components/src/manufacturers.vue
View file @
5a42c32
...
@@ -154,8 +154,8 @@ export default {
...
@@ -154,8 +154,8 @@ export default {
this
.
result
.
merchants
=
this
.
merchant_list
.
filter
(
this
.
result
.
merchants
=
this
.
merchant_list
.
filter
(
obj
=>
this
.
model
.
merchantId
===
obj
.
merchantId
obj
=>
this
.
model
.
merchantId
===
obj
.
merchantId
)[
0
]
)[
0
]
this
.
$emit
(
'update:value'
,
this
.
result
)
//
this.$emit('update:value', this.result)
callback
&&
callback
()
callback
&&
callback
(
this
.
result
)
&&
(
callback
=
null
)
})
})
})
})
},
},
...
@@ -184,13 +184,13 @@ export default {
...
@@ -184,13 +184,13 @@ export default {
model
:
{
model
:
{
merchantId
:
''
,
merchantId
:
''
,
manufacturerId
:
''
,
manufacturerId
:
''
,
file_list
:
[]
//文件列表
file_list
:
[]
//
文件列表
},
},
result
:
{
result
:
{
manufacturers
:
null
,
//生产厂商
manufacturers
:
null
,
//
生产厂商
merchants
:
null
,
//商户渠道
merchants
:
null
,
//
商户渠道
grayscaleUserList
:
null
,
//灰度用户列表
grayscaleUserList
:
null
,
//
灰度用户列表
influenceScope
:
''
//用户类型
influenceScope
:
''
//
用户类型
}
}
}
}
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment