This commit is contained in:
朱文强 2023-11-18 10:32:07 +08:00
parent 45e1bfdb89
commit 2fc7649a13

View File

@ -15,6 +15,11 @@
v-loading="dataListLoading" v-loading="dataListLoading"
style="width: 100%" style="width: 100%"
ref="dataList"> ref="dataList">
<el-table-column type="expand">
<template slot-scope="scope">
<product :order-id="scope.row.id"></product>
</template>
</el-table-column>
<el-table-column label="序号" type="index" align="center" /> <el-table-column label="序号" type="index" align="center" />
<el-table-column <el-table-column
prop="mainTaskCode" prop="mainTaskCode"
@ -107,10 +112,16 @@
:page.sync="listQuery.pageNo" :page.sync="listQuery.pageNo"
:total="listQuery.total" :total="listQuery.total"
@pagination="getDataList" /> @pagination="getDataList" />
<add-or-update
v-if="drawerVisible"
ref="drawerRef"
@refreshDataList="getDataList" />
</div> </div>
</template> </template>
<script> <script>
import product from './good-mini';
import AddOrUpdate from './add-or-updata';
import { deleteTask, getTaskPage, runTask } from '@/api/axl/task'; import { deleteTask, getTaskPage, runTask } from '@/api/axl/task';
import { getJob, updateJobStatus } from '@/api/infra/job'; import { getJob, updateJobStatus } from '@/api/infra/job';
@ -237,7 +248,10 @@ export default {
], ],
}; };
}, },
components: {}, components: {
product,
AddOrUpdate,
},
created() {}, created() {},
mounted() { mounted() {
this.getDataList(); this.getDataList();