main
252535409 2 years ago
parent 471629e0dd
commit 7ff5bfb476

@ -8,7 +8,7 @@
class="tab-layout-tabs" style="height: 55px" :hide-add="true" type="editable-card" @change="changePage" class="tab-layout-tabs" style="height: 55px" :hide-add="true" type="editable-card" @change="changePage"
@tabClick="tabCallBack" @edit="editPage"> @tabClick="tabCallBack" @edit="editPage">
<a-tab-pane :id="page.fullPath" :key="page.fullPath" v-for="page in pageList" <a-tab-pane :id="page.fullPath" :key="page.fullPath" v-for="page in pageList"
:closable="!(page.meta.title == '首页')"> :closable="!(page.meta.title == '资料袋管理')">
<span slot="tab" :pagekey="page.fullPath">{{ page.meta.title }}</span> <span slot="tab" :pagekey="page.fullPath">{{ page.meta.title }}</span>
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>

@ -27,7 +27,7 @@ export default {
this.breadList = [] this.breadList = []
//this.breadList.push({ name: 'dashboard-analysis', path: '/dashboard/analysis', meta: { title: '' } }) //this.breadList.push({ name: 'dashboard-analysis', path: '/dashboard/analysis', meta: { title: '' } })
this.breadList.push({ name: 'dashboard-analysis', path: '/ai/MaterialBagList', meta: { title: '首页' } }) this.breadList.push({ name: 'dashboard-analysis', path: '/ai/MaterialBagList', meta: { title: '资料袋管理' } })
this.name = this.$route.name this.name = this.$route.name
this.$route.matched.forEach((item) => { this.$route.matched.forEach((item) => {

@ -67,7 +67,7 @@ export const JeecgListMixin = {
created() { created() {
if (!this.disableMixinCreated) { if (!this.disableMixinCreated) {
console.log(' -- mixin created -- ') console.log(' -- mixin created -- ')
this.loadData(); //this.loadData();
//初始化字典配置 在自己页面定义 //初始化字典配置 在自己页面定义
this.initDictConfig(); this.initDictConfig();
} }

@ -270,11 +270,9 @@
}, },
}, },
created() { created() {
this.startTime = moment().startOf('year').format('YYYY-MM-DD') //this.startTime = moment().startOf('year').format('YYYY-MM-DD')
this.endTime = moment().endOf('year').format('YYYY-MM-DD') //this.endTime = moment().endOf('year').format('YYYY-MM-DD')
// this.initDictServe()
this.getList() this.getList()
// this.ws_connect()
}, },
methods: { methods: {
handleOk(){ handleOk(){
@ -346,6 +344,7 @@
}, },
// //
getList() { getList() {
console.log("-----ee----------",this.queryParams);
this.loading = true this.loading = true
getAction(this.url.acceptanceList, this.queryParams).then((res) => { getAction(this.url.acceptanceList, this.queryParams).then((res) => {
if (res.success) { if (res.success) {

Loading…
Cancel
Save