Commit cfe9ff3e by Cat

zd 教师电子档案 提取

parent 73357f4d
......@@ -700,11 +700,11 @@ export default {
// 提取 `
handleExtract() {
const id = this.form.id;
console.log(id, "id");
syncNotice(id).then((res) => {
this.tableFirstData = res;
this.tableSecondData = res;
this.tableThirdData = res;
this.tableForthData = res;
console.log(id, "id");
console.log("res提取", res);
this.$modal.msgSuccess("提取成功");
});
},
//弹窗确定按钮
......
......@@ -427,6 +427,10 @@ export default {
this.uploadList.push(this.pev + res.fileName);
this.form.file = this.uploadList;
}
console.log(this.uploadList, "this.uploadList");
console.log(this.form.file, "this.form.file");
console.log(this.pev, "this.pev");
console.log(res.fileName, "res.fileName");
// this.imageUrl = res.data.url;
// console.log(file);
......
......@@ -97,49 +97,22 @@
min-width="200"
>
<template slot-scope="scope">
<!--已发布 未填写/已驳回 已填写-->
<!-- 未填写 -->
<div>
<el-button
v-if="check === '1' ? true : false"
size="mini"
type="text"
@click="handleEdit(scope.row)"
<el-button size="mini" type="text" @click="handleEdit(scope.row)"
>填写
</el-button>
<el-button
v-if="check === '1' ? true : false"
size="mini"
type="text"
@click="handleSubmit(scope.row)"
>提交
</el-button>
</div>
<!--已发布 未填写/已驳回 已填写-->
<div>
<el-button
v-if="
check === '2' || check === '3' || check === '5' || check === '9'
? true
: false
"
size="mini"
type="text"
@click="handleEdit(scope.row)"
<el-button size="mini" type="text" @click="handleEdit(scope.row)"
>修改
</el-button>
<el-button
v-if="check == '4' ? true : false"
size="mini"
type="text"
@click="handleSubmit(scope.row)"
>提交
</el-button>
</div>
<!--已结束 已填写 / 已结束 级部已确认-->
<div>
<el-button size="mini" type="text" @click="handleCheck(scope.row)"
>查看
</el-button>
<el-button size="mini" type="text" @click="handleSubmit(scope.row)"
>提交
</el-button>
<!-- </div> -->
<!-- <div> -->
</div>
</template>
</el-table-column>
......@@ -613,15 +586,12 @@ export default {
// 提取 `
handleExtract() {
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;
// });
const id = this.form.id;
syncNotice(id).then((res) => {
console.log(id, "id");
console.log("res提取", res);
this.$modal.msgSuccess("提取成功");
});
},
// 搜索按钮
handleQuery() {
......
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