Commit 3bd9dcce by Cat

zd 教师电子档案

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