Commit 3bd9dcce by Cat

zd 教师电子档案

parent 195221ab
......@@ -100,14 +100,14 @@
<!--已发布 未填写/已驳回 已填写-->
<div>
<el-button
v-if="check == '1' ? false : true"
v-if="check === '1' ? true : false"
size="mini"
type="text"
@click="handleEdit(scope.row)"
>填写
</el-button>
<el-button
v-if="check == '1' ? false : true"
v-if="check === '1' ? true : false"
size="mini"
type="text"
@click="handleSubmit(scope.row)"
......@@ -118,11 +118,7 @@
<div>
<el-button
v-if="
check == '2'
? true
: false || check == '4'
? true
: false || check == '5'
check === '2' || check === '3' || check === '5' || check === '9'
? true
: false
"
......@@ -132,15 +128,7 @@
>修改
</el-button>
<el-button
v-if="
check == '2'
? true
: false || check == '4'
? true
: false || check == '5'
? true
: false
"
v-if="check == '4' ? true : false"
size="mini"
type="text"
@click="handleSubmit(scope.row)"
......@@ -563,6 +551,7 @@ export default {
tableData: [],
dialogVisible: false,
form: {
fid: "",
filesSemester: "",
gradeName: "",
teacherName: "",
......@@ -620,15 +609,15 @@ export default {
},
// 提取 `
handleExtract() {
const id = this.form.fid;
syncNotice(id).then((res) => {
console.log(id, "id");
// console.log("res提取", res);
// this.tableFirstData = res;
// this.tableSecondData = res;
// this.tableThirdData = res;
// this.tableForthData = res;
});
const fid = this.form.fid;
console.log(fid, "fid");
// syncNotice(fid).then((res) => {
// console.log("res提取", res);
// this.tableFirstData = res;
// this.tableSecondData = res;
// this.tableThirdData = res;
// this.tableForthData = res;
// });
},
// 搜索按钮
handleQuery() {
......@@ -670,10 +659,13 @@ export default {
},
//提交按钮
handleSubmit(row) {
const id = row.fid;
console.log(id, "tijio");
this.$modal
.confirm("是否提交该活动?")
.then(function () {
return fileSubReview(row.id);
return fileSubReview(id);
console.log(row, "提交按钮");
})
.then(() => {
......
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