mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
公告历史样式
This commit is contained in:
@@ -117,7 +117,7 @@ export default {
|
|||||||
width: 74%;
|
width: 74%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 66px;
|
||||||
.itemcontent {
|
.itemcontent {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|||||||
@@ -686,10 +686,10 @@
|
|||||||
<div class="btnText">取消</div>
|
<div class="btnText">取消</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn6" v-if="isEdit == 0" @click="handlePush">
|
<div class="btn btn6" v-if="isEdit == 0" @click="handlePush">
|
||||||
<div class="btnText">确定</div>
|
<div class="btnText">保存</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn6" v-if="isEdit == 1">
|
<div class="btn btn6" v-if="isEdit == 1">
|
||||||
<div class="btnText">已保存</div>
|
<div class="btnText">未提交</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn6" @click="reviewClick">
|
<div class="btn btn6" @click="reviewClick">
|
||||||
<div class="btnText">提交审核</div>
|
<div class="btnText">提交审核</div>
|
||||||
@@ -4544,11 +4544,6 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
//保存面授课
|
//保存面授课
|
||||||
const handlePush = (param) => {
|
const handlePush = (param) => {
|
||||||
//state.isEdit = 1;
|
|
||||||
|
|
||||||
console.log("========", state.addLoading);
|
|
||||||
console.log("state.imgList");
|
|
||||||
console.log(state.imgList);
|
|
||||||
let files = "";
|
let files = "";
|
||||||
if (state.imgList.length) {
|
if (state.imgList.length) {
|
||||||
state.imgList.forEach((item) => {
|
state.imgList.forEach((item) => {
|
||||||
@@ -4556,7 +4551,7 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
files = files.slice(0, files.length - 1);
|
files = files.slice(0, files.length - 1);
|
||||||
console.log(files);
|
console.log("filesfiles",files);
|
||||||
const postData = {
|
const postData = {
|
||||||
offcourseId: state.offcourseId, //不传代表新增
|
offcourseId: state.offcourseId, //不传代表新增
|
||||||
name: state.qdms_inputV1,
|
name: state.qdms_inputV1,
|
||||||
@@ -4594,9 +4589,10 @@ export default defineComponent({
|
|||||||
edit(postData).then((res) => {
|
edit(postData).then((res) => {
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
getTableDate();
|
getTableDate();
|
||||||
ft_exit();
|
// ft_exit();
|
||||||
rest();
|
rest();
|
||||||
state.addLoading = false;
|
state.addLoading = false;
|
||||||
|
state.isEdit = 1;
|
||||||
// console.log("res.data", res.data);
|
// console.log("res.data", res.data);
|
||||||
if (param === "review") {
|
if (param === "review") {
|
||||||
//新建时点击审核按钮
|
//新建时点击审核按钮
|
||||||
@@ -5064,10 +5060,9 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
//获取教师
|
//获取教师
|
||||||
const getTea = async () => {
|
const getTea = async () => {
|
||||||
console.log("获取授课教师信息33333333333");
|
|
||||||
options4CurName.value = state.teacher;
|
options4CurName.value = state.teacher;
|
||||||
options4CurId.value = state.teacherId;
|
options4CurId.value = state.teacherId;
|
||||||
|
|
||||||
const item1 = await getMemberInfoApi({
|
const item1 = await getMemberInfoApi({
|
||||||
pageNo: state.currentPageTea1,
|
pageNo: state.currentPageTea1,
|
||||||
pageSize: state.pageSizeTea1,
|
pageSize: state.pageSizeTea1,
|
||||||
@@ -5411,6 +5406,8 @@ export default defineComponent({
|
|||||||
//提交审核
|
//提交审核
|
||||||
const reviewClick = () => {
|
const reviewClick = () => {
|
||||||
console.log("ft_eidt", state.ft_eidt);
|
console.log("ft_eidt", state.ft_eidt);
|
||||||
|
handlePush("review");
|
||||||
|
/*
|
||||||
if (state.ft_eidt) {
|
if (state.ft_eidt) {
|
||||||
//编辑面授课
|
//编辑面授课
|
||||||
submitReview();
|
submitReview();
|
||||||
@@ -5419,6 +5416,7 @@ export default defineComponent({
|
|||||||
//shouke
|
//shouke
|
||||||
handlePush("review");
|
handlePush("review");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
const submitReview = (id) => {
|
const submitReview = (id) => {
|
||||||
state.addLoading = true;
|
state.addLoading = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user