学生资助、学生奖惩等内容提交

This commit is contained in:
2025-12-03 09:55:58 +08:00
parent a5c6980bdd
commit aa83bf8b94
26 changed files with 2288 additions and 1411 deletions

View File

@@ -43,6 +43,9 @@
<el-button type="text" size="mini" icon="el-icon-view"
@click="auditVClick(scope.row)"
>查看详情</el-button>
<el-button v-if="scope.row.applyStatus !== '1'" type="text" size="mini" icon="el-icon-refresh-left"
@click="handleRevoke(scope.row)"
>撤回</el-button>
</template>
</el-table-column>
</el-table>
@@ -273,7 +276,7 @@ import {
import { listOwnClass } from '@/api/stuCQS/info-fill/stu_eva_task'
import { listAllYear as listYear } from '@/api/stuCQS/basedata/year'
import { listSelect } from '@/api/stuCQS/lake/type'
import { listFdyAll, fdyAudit, fdyExport } from '@/api/stuCQS/lake/apply'
import { listFdyAll, fdyAudit, fdyExport, updateLakeapply } from '@/api/stuCQS/lake/apply'
import * as XLSX from 'xlsx'
import { workbook2blob, openDownloadDialog } from '@/api/helpFunc'
@@ -535,6 +538,30 @@ export default {
this.auditForm = { ...v }
this.auditV = true
},
async handleRevoke(row) {
this.$confirm('确定要撤回该申请吗?撤回后申请状态将变为"已提交待辅导员审核"', '撤回确认', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(async () => {
this.loading = true
try {
let res = await updateLakeapply({ id: row.id, applyStatus: '1' })
this.loading = false
if (res.code == 200) {
this.$message.success('撤回成功')
this.getList()
} else {
this.$message.error(res.msg || '撤回失败')
}
} catch (error) {
this.loading = false
this.$message.error('撤回失败,请稍后重试')
}
}).catch(() => {
this.$message.info('已取消撤回')
})
},
async countStuIam() {
let stuNo = this.auditForm.stuNo
let res = await countStuIam(stuNo)
@@ -620,4 +647,4 @@ export default {
margin-bottom: 0px;
}
}
</style>
</style>