mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
feat:增加总积分
This commit is contained in:
@@ -179,7 +179,7 @@ export default {
|
||||
<div
|
||||
class="opa"
|
||||
onClick={() => {
|
||||
updateStuCert(record);
|
||||
cancelOrAuth(record);
|
||||
}}
|
||||
>
|
||||
<span>取消证书</span>
|
||||
@@ -213,6 +213,7 @@ export default {
|
||||
id: props.ACertificateCheckId,
|
||||
pid: props.projectId,
|
||||
size: state.pageSize,
|
||||
current: state.currentPage,
|
||||
};
|
||||
state.tableDataTotal = -1;
|
||||
api
|
||||
@@ -244,15 +245,15 @@ export default {
|
||||
state.selectTime = null;
|
||||
};
|
||||
|
||||
//取消授权
|
||||
const updateStuCert = (text) => {
|
||||
//取消证书
|
||||
const cancelOrAuth = (text) => {
|
||||
console.log("text", text);
|
||||
let obj = {
|
||||
id: text.record.id,
|
||||
ids: [text.record.id],
|
||||
status: -1,
|
||||
};
|
||||
api
|
||||
.updateStuCert(obj)
|
||||
.cancelOrAuth(obj)
|
||||
.then((res) => {
|
||||
console.log("取消证书成功", res);
|
||||
if (res.data.code === 200) {
|
||||
|
||||
Reference in New Issue
Block a user