Commit 89c7d41d by 无尘

fix: 修改接口

parent 83a41ab5
.task-set-content[data-v-8dfbf990]{-webkit-box-sizing:border-box;box-sizing:border-box}.task-set-content .w-105[data-v-8dfbf990]{width:105px}.task-set-content .w-120[data-v-8dfbf990]{width:120px}.task-set-content .w-161[data-v-8dfbf990]{width:161px}.task-set-content .m-b-15[data-v-8dfbf990]{margin-bottom:15px}.task-set-content .p-l-8[data-v-8dfbf990]{padding-left:8px}.task-set-content .p-l-18[data-v-8dfbf990]{padding-left:18px}.task-set-content .p-l-24[data-v-8dfbf990]{padding-left:24px}.task-set-content .p-l-175[data-v-8dfbf990]{padding-left:175px}.task-set-content .color-1890ff[data-v-8dfbf990]{color:#2f54eb}.task-set-content .color-f5222d[data-v-8dfbf990]{color:#f5222d}.task-set-content .colorFirst[data-v-8dfbf990]{color:#303133;font-weight:600}
\ No newline at end of file
.task-set-content[data-v-202d1a18]{-webkit-box-sizing:border-box;box-sizing:border-box}.task-set-content .w-105[data-v-202d1a18]{width:105px}.task-set-content .w-120[data-v-202d1a18]{width:120px}.task-set-content .w-161[data-v-202d1a18]{width:161px}.task-set-content .m-b-15[data-v-202d1a18]{margin-bottom:15px}.task-set-content .p-l-8[data-v-202d1a18]{padding-left:8px}.task-set-content .p-l-18[data-v-202d1a18]{padding-left:18px}.task-set-content .p-l-24[data-v-202d1a18]{padding-left:24px}.task-set-content .p-l-175[data-v-202d1a18]{padding-left:175px}.task-set-content .color-1890ff[data-v-202d1a18]{color:#2f54eb}.task-set-content .color-f5222d[data-v-202d1a18]{color:#f5222d}.task-set-content .colorFirst[data-v-202d1a18]{color:#303133;font-weight:600}
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-11-12 10:48:40 * @Date: 2020-11-12 10:48:40
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-12 11:32:52 * @LastEditTime: 2020-11-20 12:22:45
--> -->
<template> <template>
<div class="common-app-right"> <div class="common-app-right">
...@@ -63,7 +63,7 @@ import { _debounce } from '@/common/js/public'; ...@@ -63,7 +63,7 @@ import { _debounce } from '@/common/js/public';
import errMsg from '@/common/js/error'; import errMsg from '@/common/js/error';
import showMsg from '@/common/js/showmsg'; import showMsg from '@/common/js/showmsg';
import fetch from '@/api/target-manage-app.js'; import fetch from '@/api/target-manage-app.js';
const { saveSaleSet, getSaleSet } = fetch; const { changeStorePerformanceClerk, getStorePerformanceClerk } = fetch;
export default { export default {
name: 'PerfectSaleTarget', name: 'PerfectSaleTarget',
components: {}, components: {},
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
yearMonth: that.clerkObj.yearMonth, yearMonth: that.clerkObj.yearMonth,
performance: JSON.stringify(data) performance: JSON.stringify(data)
}; };
saveSaleSet(para) changeStorePerformanceClerk(para)
.then(res => { .then(res => {
if (res.code == '0000') { if (res.code == '0000') {
showMsg.showmsg('保存成功', 'success'); showMsg.showmsg('保存成功', 'success');
...@@ -209,7 +209,7 @@ export default { ...@@ -209,7 +209,7 @@ export default {
storeId: that.clerkObj.storeId, storeId: that.clerkObj.storeId,
yearMonth: that.clerkObj.yearMonth yearMonth: that.clerkObj.yearMonth
}; };
getSaleSet(para) getStorePerformanceClerk(para)
.then(res => { .then(res => {
if (res.code == '0000') { if (res.code == '0000') {
if (!!res.result.clerkPerformanceList && !!res.result.clerkPerformanceList.length) { if (!!res.result.clerkPerformanceList && !!res.result.clerkPerformanceList.length) {
......
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