Commit 6dd2039b authored by 青山's avatar 青山

测试环境

parent dc4d6ca9
...@@ -12,8 +12,8 @@ module.exports = { ...@@ -12,8 +12,8 @@ module.exports = {
//本地代理设置 //本地代理设置
proxyTable: { proxyTable: {
'/api': { '/api': {
// target: 'http://local.base-api.sing.com', // 接口的域名 target: 'http://local.base-api.sing.com', // 接口的域名
target: 'https://wechat-test.changchangenglish.com/', //target: 'https://wechat-test.changchangenglish.com/',
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置 changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
} }
}, },
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https:////at.alicdn.com/t/font_746649_x1rivf5f5.css><link rel=stylesheet href=https://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://unpkg.com/vue@2.5.17/dist/vue.js></script><script src=https://unpkg.com/vuex@3.0.1/dist/vuex.min.js></script><script src=https://unpkg.com/axios@0.18.0/dist/axios.min.js></script><script src=https://unpkg.com/element-ui@2.4.9/lib/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.55ee38cfba464dc26196.js></script><script type=text/javascript src=/static/js/vendor.19b07206259747695190.js></script><script type=text/javascript src=/static/js/app.f5e327ad14a3105ad01b.js></script></body><script>let el = document.getElementsByTagName("script"); <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https:////at.alicdn.com/t/font_746649_x1rivf5f5.css><link rel=stylesheet href=https://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://unpkg.com/vue@2.5.17/dist/vue.js></script><script src=https://unpkg.com/vuex@3.0.1/dist/vuex.min.js></script><script src=https://unpkg.com/axios@0.18.0/dist/axios.min.js></script><script src=https://unpkg.com/element-ui@2.4.9/lib/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.a4f3974bc94a2956ea3e.js></script><script type=text/javascript src=/static/js/vendor.19b07206259747695190.js></script><script type=text/javascript src=/static/js/app.f5e327ad14a3105ad01b.js></script></body><script>let el = document.getElementsByTagName("script");
el.onerror = function(a,b,c){ el.onerror = function(a,b,c){
console.log('error:',a,b,c); console.log('error:',a,b,c);
}; };
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},f={54:0};function b(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,b){a=f[e]=[c,b]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"ad7667ef49edaeb356fd",1:"38358a40bc217794f903",2:"5390639de944dba5e977",3:"6694ba874a5220f39f37",4:"83fe6e13c3ab27798a53",5:"e5f77b77773d0d3629a0",6:"3d5165fca25427d0f542",7:"e80fa8feb66814d12e51",8:"105e48cc3f5b5ba4ae4e",9:"30c7f2a691896ab85fe7",10:"da0baa59c7ac13494b8a",11:"c43bedf5fe01822e90eb",12:"e126e28fbda24c4e829e",13:"d6c52940b76286f07db5",14:"df68d9fbcbe28396929a",15:"66d58c275819c2249751",16:"3cd53e06fe8a491f38b0",17:"7a0049eb4b76677dc78c",18:"44a7645d0dd322ac44aa",19:"cd68059bd5d3c961f7c6",20:"e4813c3542990106882a",21:"8a9994c770b1161e590f",22:"7b28de5eacc188a6623e",23:"44441fb27052f4853044",24:"280f3dcdb4ea1b0cfe79",25:"40309740d3bf3fdb0c4a",26:"7f4cc617606e30485c6f",27:"a197b7daba26282173e3",28:"df64b1900e33e29f2394",29:"c98bc5732c84c8ec6811",30:"5525fa4ae0d76dcbf2d1",31:"d09088b15f2df41fa1a4",32:"eae986e73b783d40add5",33:"a9db80e96f71ca22d41b",34:"1515030948739f750b37",35:"04f400392ebba7e9db1a",36:"d8718f748785cf74a56a",37:"ae87ec293ec61bb0419f",38:"90e038c1fa522c86a602",39:"98d8ee239c9c23c4838e",40:"512c3138c205bbab4790",41:"5df0b31126978ab8ba3c",42:"2feebd084f6dffbc96c2",43:"de8cb8ffe5a16b4d9b54",44:"af8a5060ba9860650684",45:"f002ee4b50549513cd1e",46:"c7a241e6a32e5fa761c0",47:"7babb73407bf7783de4b",48:"d70b98a090081b6e2906",49:"4b3ee0f144df83518bbf",50:"e57b4438becf748fbeaf",51:"630884771fea6cb0cbd9"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(a,"a",a),a},b.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},b.p="/",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},f={54:0};function b(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,b){c=f[e]=[a,b]});c[2]=a;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"ad7667ef49edaeb356fd",1:"38358a40bc217794f903",2:"5390639de944dba5e977",3:"8cb1730e0b21b5edc0b8",4:"83fe6e13c3ab27798a53",5:"e5f77b77773d0d3629a0",6:"3d5165fca25427d0f542",7:"e80fa8feb66814d12e51",8:"105e48cc3f5b5ba4ae4e",9:"dc2867c72ebe998cae5d",10:"da0baa59c7ac13494b8a",11:"c43bedf5fe01822e90eb",12:"e126e28fbda24c4e829e",13:"d6c52940b76286f07db5",14:"df68d9fbcbe28396929a",15:"66d58c275819c2249751",16:"3cd53e06fe8a491f38b0",17:"7a0049eb4b76677dc78c",18:"44a7645d0dd322ac44aa",19:"cd68059bd5d3c961f7c6",20:"e4813c3542990106882a",21:"8a9994c770b1161e590f",22:"7b28de5eacc188a6623e",23:"44441fb27052f4853044",24:"280f3dcdb4ea1b0cfe79",25:"40309740d3bf3fdb0c4a",26:"7f4cc617606e30485c6f",27:"a197b7daba26282173e3",28:"df64b1900e33e29f2394",29:"c98bc5732c84c8ec6811",30:"5525fa4ae0d76dcbf2d1",31:"d09088b15f2df41fa1a4",32:"eae986e73b783d40add5",33:"a9db80e96f71ca22d41b",34:"1515030948739f750b37",35:"04f400392ebba7e9db1a",36:"d8718f748785cf74a56a",37:"ae87ec293ec61bb0419f",38:"90e038c1fa522c86a602",39:"98d8ee239c9c23c4838e",40:"512c3138c205bbab4790",41:"5df0b31126978ab8ba3c",42:"2feebd084f6dffbc96c2",43:"de8cb8ffe5a16b4d9b54",44:"af8a5060ba9860650684",45:"f002ee4b50549513cd1e",46:"c7a241e6a32e5fa761c0",47:"7babb73407bf7783de4b",48:"d70b98a090081b6e2906",49:"4b3ee0f144df83518bbf",50:"e57b4438becf748fbeaf",51:"630884771fea6cb0cbd9"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,c,a){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="/",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
...@@ -94,15 +94,14 @@ ...@@ -94,15 +94,14 @@
</div> </div>
</div> </div>
<div class="over_work"> <div class="over_work">
<div class="header bg-h">全勤人数</div> <div class="header bg-h">截止今日全勤人数</div>
<el-button size="mini" type="text" @click="showOverWorkDetail(scope.row)">{{data.total_watch_user_num}}</el-button> <el-button size="mini" type="text" @click="showOverWorkDetail(data)">{{data.total_watch_user_num}}</el-button>
</div> </div>
<div class="recall"> <div class="recall">
<div class="header bg-h">今日需召回人数</div> <div class="header bg-h">今日需召回人数</div>
<el-button size="mini" type="text" @click="showRecallDetail(scope.row)">{{data.need_recall_user_num}}</el-button> <el-button size="mini" type="text" @click="showRecallDetail(data)">{{data.need_recall_user_num}}</el-button>
</div> </div>
</div> </div>
</div> </div>
</el-card> </el-card>
</el-col> </el-col>
...@@ -356,7 +355,8 @@ ...@@ -356,7 +355,8 @@
loading:false, loading:false,
periods_id:'', periods_id:'',
cur_date:'', cur_date:'',
title:'' title:'',
type:0,
} }
} }
}, },
...@@ -373,6 +373,7 @@ ...@@ -373,6 +373,7 @@
this.task3Detail.periods_id = data.periods_id; this.task3Detail.periods_id = data.periods_id;
this.task3Detail.is_watch = is_watch; this.task3Detail.is_watch = is_watch;
this.task3Detail.cur_date = cur_date; this.task3Detail.cur_date = cur_date;
this.task3Detail.type = 1;
this.task3Detail.title=`【${data.periods_id}${data.title} ${is_true === 1 ? '已' : '未'}${is_watch === 1 ? '看课' : '打卡'}学员` this.task3Detail.title=`【${data.periods_id}${data.title} ${is_true === 1 ? '已' : '未'}${is_watch === 1 ? '看课' : '打卡'}学员`
getWatchUserApi(data.periods_id,this.id,json).then(res=>{ getWatchUserApi(data.periods_id,this.id,json).then(res=>{
this.task3Detail.loading = false; this.task3Detail.loading = false;
...@@ -383,11 +384,9 @@ ...@@ -383,11 +384,9 @@
let json={}; let json={};
this.task3Detail.show = true; this.task3Detail.show = true;
this.task3Detail.loading = true; this.task3Detail.loading = true;
this.task3Detail.is_true = is_true;
this.task3Detail.periods_id = data.periods_id; this.task3Detail.periods_id = data.periods_id;
this.task3Detail.is_watch = is_watch; this.task3Detail.type = 2;
this.task3Detail.cur_date = cur_date; this.task3Detail.title=`【${data.periods_id}${data.title} 截止今日全勤学员`
this.task3Detail.title=`【${data.periods_id}${data.title} 截止当天全勤学员`
getOverWatchListApi(data.periods_id,this.id,json).then(res=>{ getOverWatchListApi(data.periods_id,this.id,json).then(res=>{
this.task3Detail.loading = false; this.task3Detail.loading = false;
this.task3Detail.list = res this.task3Detail.list = res
...@@ -398,10 +397,8 @@ ...@@ -398,10 +397,8 @@
let json={}; let json={};
this.task3Detail.show = true; this.task3Detail.show = true;
this.task3Detail.loading = true; this.task3Detail.loading = true;
this.task3Detail.is_true = is_true;
this.task3Detail.periods_id = data.periods_id; this.task3Detail.periods_id = data.periods_id;
this.task3Detail.is_watch = is_watch; this.task3Detail.type = 3;
this.task3Detail.cur_date = cur_date;
this.task3Detail.title=`【${data.periods_id}${data.title} 今日需要招回学员` this.task3Detail.title=`【${data.periods_id}${data.title} 今日需要招回学员`
getRecallListApi(data.periods_id,this.id,json).then(res=>{ getRecallListApi(data.periods_id,this.id,json).then(res=>{
this.task3Detail.loading = false; this.task3Detail.loading = false;
...@@ -429,17 +426,32 @@ ...@@ -429,17 +426,32 @@
}) })
}, },
refDesc3(){ refDesc3(){
let json={ if(this.task3Detail.type === 1){
is_true:this.task3Detail.is_true, let json={
is_watch:this.task3Detail.is_watch, is_true:this.task3Detail.is_true,
cur_date:this.task3Detail.cur_date is_watch:this.task3Detail.is_watch,
}; cur_date:this.task3Detail.cur_date
this.task3Detail.loading = true; };
getWatchUserApi(this.task3Detail.periods_id,this.id,json).then(res=>{ this.task3Detail.loading = true;
this.task3Detail.loading = false; getWatchUserApi(this.task3Detail.periods_id,this.id,json).then(res=>{
this.task3Detail.show = true; this.task3Detail.loading = false;
this.task3Detail.list = res this.task3Detail.show = true;
}) this.task3Detail.list = res
})
}else if (this.task3Detail.type === 2){
getOverWatchListApi(this.task3Detail.periods_id,this.id,{}).then(res=>{
this.task3Detail.loading = false;
this.task3Detail.show = true;
this.task3Detail.list = res
})
}else if(this.task3Detail.type === 3)
{
showRecallDetail(this.task3Detail.periods_id,this.id,{}).then(res=>{
this.task3Detail.loading = false;
this.task3Detail.show = true;
this.task3Detail.list = res
})
}
}, },
showTask2Detail(data){ showTask2Detail(data){
...@@ -603,10 +615,10 @@ ...@@ -603,10 +615,10 @@
min-width: 90px; min-width: 90px;
} }
&.over_work{ &.over_work{
min-width: 90px; min-width: 120px;
} }
&.recall{ &.recall{
min-width: 90px; min-width: 110px;
} }
.header{ .header{
position: absolute; position: absolute;
......
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