|
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
|
<avue-crud :option="option" :table-loading="loading" :data="data" :search.sync="searchForm" :page.sync="page" |
|
|
|
|
ref="crud" v-model="form" :permission="permissionList" :before-open="beforeOpen" :before-close="beforeClose" |
|
|
|
|
@search-change="searchChange" @search-reset="searchReset" @current-change="currentChange" |
|
|
|
|
@size-change="sizeChange" @refresh-change="refreshChange" @selection-change="selectionChange" @on-load="onLoad"> |
|
|
|
|
@size-change="sizeChange" @refresh-change="refreshChange" @selection-change="selectionChange" > |
|
|
|
|
<template slot-scope="{row}" slot="produceTime"> |
|
|
|
|
{{ row.produceTime.substring(0, 10) }} |
|
|
|
|
</template> |
|
|
|
|
@ -463,6 +463,12 @@ export default { |
|
|
|
|
...mapGetters(["userInfo", "permission"]), |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
if(this.$route.query.type){ |
|
|
|
|
this.searchForm = { |
|
|
|
|
...this.searchForm, |
|
|
|
|
runStatus:this.$route.query.type |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.role_id = this.userInfo.role_id |
|
|
|
|
getChildList(1, 100, '1846792623628001282').then(res => { |
|
|
|
|
this.treeOptions = res.data.data |
|
|
|
|
@ -473,6 +479,7 @@ export default { |
|
|
|
|
getChildList(1, 100, '1858710780677984257').then(res => { |
|
|
|
|
this.periodArr = res.data.data |
|
|
|
|
}) |
|
|
|
|
this.onLoad() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
// 巡检内容修改 |
|
|
|
|
|