Commit 1ccb6e86 by 无尘

fix: 修改header

parent 72db7ad2
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-12 10:48:40
* @LastEditors: 无尘
* @LastEditTime: 2020-11-30 09:24:53
* @LastEditTime: 2020-12-01 14:32:19
-->
<template>
<div class="common-app-right">
......@@ -194,7 +194,7 @@ export default {
performanceType: that.$route.query.performanceType,
dataJson: JSON.stringify(that.tableData)
};
changeStorePerformanceClerk(para)
changeStorePerformanceClerk(para, { headers: { sign: that.brandId } })
.then(res => {
that.loadSave = false;
if (res.code == '0000') {
......@@ -221,7 +221,7 @@ export default {
performanceType: that.$route.query.performanceType,
performanceSubType: that.$route.query.performanceSubType
};
getStorePerformanceClerk(para)
getStorePerformanceClerk(para, { headers: { sign: that.brandId } })
.then(res => {
if (res.code == '0000') {
if (!!res.result && !!res.result.length) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘
* @LastEditTime: 2020-11-25 18:09:43
* @LastEditTime: 2020-12-01 14:32:50
-->
<!-- -->
<template>
......@@ -101,7 +101,7 @@ export default {
submitStaffId: that.userInfo.staffId,
submitStaffName: that.userInfo.staffName
};
saveTargetSet(para)
saveTargetSet(para, { headers: { sign: that.brandId } })
.then(res => {
that.loadingBtn = false;
that.$message.success('保存成功');
......@@ -120,7 +120,7 @@ export default {
enterpriseId: that.brandId,
wxEnterpriseId: that.wxEnterpriseId
};
getTargetSet(para)
getTargetSet(para, { headers: { sign: that.brandId } })
.then(res => {
that.ruleForm.days = res.result.days || '';
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment