Source/UBCS-WEB/src/components/template/Stage.vue
@@ -1,5 +1,5 @@ <template> <div> <div v-if="Formlist.length>0"> <avue-crud ref="crud" :table-loading="loading" :data="data" :option="option" :page.sync="page" @on-load="getDataList" @size-change="handleSizePage" @current-change="handleCurrentPage" @row-click="handleRowClick"> @@ -35,7 +35,11 @@ typeof: String, required: true, default: "" } }, Formlist:{ type:Array, default:[] } }, watch: { code: { @@ -144,6 +148,8 @@ this.data = data.records this.page.total = data.total } else this.loading = false }else { this.data=[] } }, // 获取阶段列表