This commit is contained in:
@jyuhsin
2025-12-02 17:55:31 +08:00
parent b8e4ecb777
commit ade83bf8d5
2 changed files with 59 additions and 1 deletions
@@ -27,7 +27,9 @@ layout("/layouts/platform.html"){
</search>
</el-card>
<el-card shadow="never" class="mt20">
<table-tool label="得分列表"></table-tool>
<table-tool label="得分列表">
<el-button @click="onExport" icon="el-icon-download" size="small" type="primary">导出</el-button>
</table-tool>
<el-table :data="tableData" style="width: 100%" row-key="record_id"
v-loading="tabLoading">
<el-table-column align="center" header-align="center" label="序号" width="100px">
@@ -110,6 +112,9 @@ layout("/layouts/platform.html"){
}
},
methods: {
onExport() {
this.$downLoad('/platform/ghkh/khph/downloadList', this.pageForm)
},
async openEdit(row) {
this.rowDataEdit = !this.rowDataEdit
const res = await $.post(loc() + "/doEditScore", {id: row.record_id, score: row.offLineScore, khId: this.pageForm.khid})