mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 14:26:45 +08:00
公告历史样式
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user