公告历史样式

This commit is contained in:
zhangyc
2022-12-06 09:15:35 +08:00
parent 83e33e1625
commit f3b8b3c3df
2 changed files with 10 additions and 12 deletions

View File

@@ -117,7 +117,7 @@ export default {
width: 74%;
display: flex;
justify-content: space-between;
margin-bottom: 20px;
margin-bottom: 66px;
.itemcontent {
width: 500px;
word-break: break-all;

View File

@@ -686,10 +686,10 @@
<div class="btnText">取消</div>
</div>
<div class="btn btn6" v-if="isEdit == 0" @click="handlePush">
<div class="btnText">确定</div>
<div class="btnText">保存</div>
</div>
<div class="btn btn6" v-if="isEdit == 1">
<div class="btnText">已保存</div>
<div class="btnText">未提交</div>
</div>
<div class="btn btn6" @click="reviewClick">
<div class="btnText">提交审核</div>
@@ -4544,11 +4544,6 @@ export default defineComponent({
};
//保存面授课
const handlePush = (param) => {
//state.isEdit = 1;
console.log("========", state.addLoading);
console.log("state.imgList");
console.log(state.imgList);
let files = "";
if (state.imgList.length) {
state.imgList.forEach((item) => {
@@ -4556,7 +4551,7 @@ export default defineComponent({
});
}
files = files.slice(0, files.length - 1);
console.log(files);
console.log("filesfiles",files);
const postData = {
offcourseId: state.offcourseId, //不传代表新增
name: state.qdms_inputV1,
@@ -4594,9 +4589,10 @@ export default defineComponent({
edit(postData).then((res) => {
if (res.data.code === 200) {
getTableDate();
ft_exit();
// ft_exit();
rest();
state.addLoading = false;
state.isEdit = 1;
// console.log("res.data", res.data);
if (param === "review") {
//新建时点击审核按钮
@@ -5064,10 +5060,9 @@ export default defineComponent({
};
//获取教师
const getTea = async () => {
console.log("获取授课教师信息33333333333");
options4CurName.value = state.teacher;
options4CurId.value = state.teacherId;
const item1 = await getMemberInfoApi({
pageNo: state.currentPageTea1,
pageSize: state.pageSizeTea1,
@@ -5411,6 +5406,8 @@ export default defineComponent({
//提交审核
const reviewClick = () => {
console.log("ft_eidt", state.ft_eidt);
handlePush("review");
/*
if (state.ft_eidt) {
//编辑面授课
submitReview();
@@ -5419,6 +5416,7 @@ export default defineComponent({
//shouke
handlePush("review");
}
*/
};
const submitReview = (id) => {
state.addLoading = true;