Commit 7236696d by Cat

zd 教师电子档案 级部修改

parent 09cab0bf
......@@ -34,7 +34,7 @@
>重置</el-button
>
<el-button size="mini" icon="el-icon-refresh" @click="handleMutiSubmit"
>提交</el-button
>确认</el-button
>
</el-form-item>
<el-row :gutter="10">
......@@ -173,14 +173,17 @@
<!-- 已发布 -->
<div v-if="scope.row.state == '4'">
<el-button size="mini" type="text" @click="handleSubmit(scope.row)"
>提交
>确认
</el-button>
<el-button size="mini" type="text" @click="handleReject(scope.row)"
>驳回
</el-button>
<!-- <el-button size="mini" type="text" @click="handleEdit(scope.row)"
<el-button size="mini" type="text" @click="handleEdit(scope.row)"
>修改
</el-button> -->
</el-button>
<el-button size="mini" type="text" @click="handleCheck(scope.row)"
>查看
</el-button>
</div>
<!--已提交-->
<div v-if="scope.row.state == '1'">
......@@ -778,18 +781,17 @@ export default {
return true;
}
},
//多选提交
//多选确认
handleMutiSubmit(row) {
const ids = row.id || this.ids;
this.$modal
.confirm("是否提交该活动?")
.confirm("是否确认该活动?")
.then(function () {
return fileSubApproved(ids);
console.log(row, "提交按钮");
})
.then(() => {
this.getList();
this.$modal.msgSuccess("任务已提交");
this.$modal.msgSuccess("任务已确认");
})
.catch((err) => {
console.error(err);
......@@ -905,18 +907,17 @@ export default {
// this.dialogForm = JSON.parse(JSON.stringify(row));
},
//提交按钮
//确认按钮
handleSubmit(row) {
const ids = row.id || this.ids;
this.$modal
.confirm("是否提交该活动?")
.confirm("是否确认该活动?")
.then(function () {
return fileSubRejected(ids);
console.log(row, "提交按钮");
})
.then(() => {
this.getList();
this.$modal.msgSuccess("任务已提交");
this.$modal.msgSuccess("任务已确认");
})
.catch((err) => {
console.error(err);
......@@ -929,7 +930,6 @@ export default {
.confirm("是否提交该活动?")
.then(function () {
return fileSubApproved(ids);
console.log(row, "提交按钮");
})
.then(() => {
this.getList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment