update code
parent
95418668ca
commit
507e653cce
|
@ -78,6 +78,10 @@ export default {
|
|||
this.index = n;
|
||||
this.loadData();
|
||||
},
|
||||
reLoad(){
|
||||
this.index=1;
|
||||
this.loadData();
|
||||
},
|
||||
doNav(n) {
|
||||
this.nav = n;
|
||||
this.index = 1;
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<enginChart ref="chart3" :height="300"></enginChart>
|
||||
</module-one-1-1>
|
||||
<module-one-2-1 label="审批明细" style="position: relative;">
|
||||
<list-by-category :getPData="getInfo"/>
|
||||
<list-by-category ref="listByCat" :getPData="getInfo"/>
|
||||
</module-one-2-1>
|
||||
<!--
|
||||
<module-one-1-1 :label="label7" style="position: relative;">
|
||||
|
@ -539,6 +539,9 @@ export default {
|
|||
this.$refs.chart5.init(opt);
|
||||
},
|
||||
loadData() {
|
||||
if(this.$refs.listByCat){
|
||||
this.$refs.listByCat.reLoad()
|
||||
}
|
||||
this.getProjectId(id => {
|
||||
let ajaxs = [
|
||||
this.$api.standard.groupByType({ projectId: this.project?.id || 0, deptId: this.dept?.id || 0 }),
|
||||
|
|
|
@ -37,8 +37,8 @@ module.exports = defineConfig({
|
|||
}
|
||||
},
|
||||
'/jhapi':{
|
||||
//target: `http://62.234.3.186/jhapi/`,
|
||||
target: `http://127.0.0.1:8090/jhapi/`,
|
||||
target: `http://62.234.3.186/jhapi/`,
|
||||
//target: `http://127.0.0.1:8090/jhapi/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/jhapi':'/'
|
||||
|
|
Loading…
Reference in New Issue