Commit 051d6b8e authored by youjie's avatar youjie

no message

parent 91817e3d
...@@ -264,10 +264,10 @@ Vue.prototype.UploadLocalSystem = function (params, fileObj, successCall) { ...@@ -264,10 +264,10 @@ Vue.prototype.UploadLocalSystem = function (params, fileObj, successCall) {
}); });
} }
// 导入引流汇总 // 导入引流汇总、账户投放统计
Vue.prototype.UploadFlowStat = function (params, fileObj, successCall) { Vue.prototype.UploadFlowStat = function (paramsUrl, params, fileObj, successCall) {
let that = this; let that = this;
let url = that.domainManager().PostUrl + "/api/Upload/UploadFlowStat"; let url = that.domainManager().PostUrl + paramsUrl;
let formData = new FormData() let formData = new FormData()
if (params) { if (params) {
formData.append("params", JSON.stringify(params)); formData.append("params", JSON.stringify(params));
......
...@@ -413,6 +413,15 @@ export default new Router({ ...@@ -413,6 +413,15 @@ export default new Router({
title: "引流汇总统计" title: "引流汇总统计"
} }
}, },
{
path: "/AccountPlacementStatistics",
name: "AccountPlacementStatistics",
component: () =>
import('./views/workstatistics/AccountPlacementStatistics'),
meta: {
title: "账户投放统计"
}
},
{ {
path: "/DrainageAccount", path: "/DrainageAccount",
name: "DrainageAccount", name: "DrainageAccount",
......
This diff is collapsed.
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</div> </div>
</div> </div>
<div style="padding: 0 0;background: #ffffff;"> <div style="padding: 0 0;background: #ffffff;">
<el-table <!-- <el-table
v-if="msg.PlatformType==1" v-if="msg.PlatformType==1"
:data="dataList" :data="dataList"
style="width: 100%" style="width: 100%"
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
<div style="width: 0px;"></div> <div style="width: 0px;"></div>
</div> </div>
</template> </template>
</el-table> </el-table> -->
<el-table <el-table
v-if="msg.PlatformType==2" v-if="msg.PlatformType==2"
:data="dataList" :data="dataList"
...@@ -917,6 +917,7 @@ ...@@ -917,6 +917,7 @@
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
console.log(userInfo.PostName)
if(userInfo.PostName=='总经理' || if(userInfo.PostName=='总经理' ||
userInfo.PostName=='副总经理' || userInfo.PostName=='副总经理' ||
userInfo.PostName=='技术开发' || userInfo.PostName=='技术开发' ||
...@@ -1136,7 +1137,7 @@ ...@@ -1136,7 +1137,7 @@
}; };
this.loadingB=true; this.loadingB=true;
this.loadingText="正在上传文件,请稍后..."; this.loadingText="正在上传文件,请稍后...";
this.UploadFlowStat(params, file.file, (res) => { this.UploadFlowStat('/api/Upload/UploadFlowStat',params, file.file, (res) => {
this.loadingB=false; this.loadingB=false;
this.loadingText=""; this.loadingText="";
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
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