Commit d21caaf4 by 杨明

fixed

1 parent 69a6275a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 16:38:54 * @Date: 2022-12-13 16:38:54
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-04 19:54:09 * @LastEditTime: 2023-07-09 15:48:27
* @FilePath: \scrm-micro-link\src\api\modules\giftBag.js * @FilePath: \scrm-micro-link\src\api\modules\giftBag.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -92,4 +92,14 @@ const packageDetail = params => { ...@@ -92,4 +92,14 @@ const packageDetail = params => {
sign: true sign: true
}) })
} }
export default { packageAdd, packageList, packageDetail, getghDirectionalGiftListApi, getEquityListApi, brandList, couponTemplate, couponTemplateDetails, equityMerchant } //查询某个营销礼包预设方案详情(超级营销)
const packageDefault = params => {
params.method = 'scrm.api.shopmall.activity.coupon.package.default'
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
export default { packageDefault, packageAdd, packageList, packageDetail, getghDirectionalGiftListApi, getEquityListApi, brandList, couponTemplate, couponTemplateDetails, equityMerchant }
...@@ -323,6 +323,9 @@ export default { ...@@ -323,6 +323,9 @@ export default {
}, },
//用车权益 //用车权益
getCarList() { getCarList() {
this.$apis.giftBag.packageDefault({ merchantId: this.merchantId }).then(res => {
console.log(res)
})
var params = { var params = {
...this.searchForm, ...this.searchForm,
merchantId: this.merchantId merchantId: this.merchantId
......
...@@ -276,17 +276,19 @@ export default { ...@@ -276,17 +276,19 @@ export default {
this.setProcess({ 0: true }) this.setProcess({ 0: true })
}, },
handleConfirm() { handleConfirm() {
const customerRequestList = this.$common.utils.deepClone(this.taskList) const customerRequestList = this.$common.utils.deepClone(this.taskList).map(item => {
return {
batchNo: item.batchNo,
excelUrl: item.excelUrl,
staffList: item.staffList,
assignType: item.assignType,
key: item.key
}
})
if (this.vaildTask()) if (this.vaildTask())
this.setProcess({ this.setProcess({
0: { 0: {
customerRequestList: { customerRequestList
batchNo: customerRequestList.batchNo,
excelUrl: customerRequestList.excelUrl,
batchNo: customerRequestList.batchNo,
staffList: customerRequestList.staffList,
assignType: customerRequestList.assignType
}
} }
}) })
}, },
......
...@@ -52,6 +52,7 @@ export default { ...@@ -52,6 +52,7 @@ export default {
detail: { backgroundImage }, detail: { backgroundImage },
draggableList draggableList
} = this.$refs.viewForm } = this.$refs.viewForm
console.log(this.process)
const url = await this.createMain(backgroundHeight, backgroundImage, draggableList) const url = await this.createMain(backgroundHeight, backgroundImage, draggableList)
let params = { merchantId: this.$globalState.session.merchantId } let params = { merchantId: this.$globalState.session.merchantId }
for (let k in this.process) { for (let k in this.process) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!