|
@@ -82,7 +82,7 @@
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="功能" width="160">
|
|
|
+ <el-table-column label="功能">
|
|
|
<template #default="scope">
|
|
|
<el-tooltip content="验证" placement="top">
|
|
|
<el-button size="small" :class="{ active: scope.row._action_clicked_verify }" @click="tableEvents.handleVerify(scope.$index, scope.row)">
|
|
@@ -577,7 +577,7 @@ const tableEvents = {
|
|
|
onlyClickHighlight(row, '_action_clicked_submit')
|
|
|
const mark = getMarkWithRow(row)
|
|
|
console.log(mark)
|
|
|
- ServerActionUpdateCodeState(mark, 1).then(r => {
|
|
|
+ ServerActionUpdateCodeState({ cssmark: mark, state: 1 }).then(r => {
|
|
|
if (r.err === 1) {
|
|
|
ElMessage({
|
|
|
message: '提交成功',
|
|
@@ -598,7 +598,7 @@ const tableEvents = {
|
|
|
onlyClickHighlight(row, '_action_clicked_rollback')
|
|
|
const mark = getMarkWithRow(row)
|
|
|
console.log(mark)
|
|
|
- ServerActionUpdateCodeState(mark, -1).then(r => {
|
|
|
+ ServerActionUpdateCodeState({ cssmark: mark, state: -1 }).then(r => {
|
|
|
if (r.err === 1) {
|
|
|
ElMessage({
|
|
|
message: '回退成功',
|