commit
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user