|
@@ -349,30 +349,6 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <div class="num1-box-div">
|
|
|
- <div class="num1-box-l">通知公告通知公告通知公告</div>
|
|
|
- <div class="num1-box-r">
|
|
|
- <img src="../assets/images/通知 拷贝 3.png" alt />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="num1-box-div">
|
|
|
- <div class="num1-box-l">通知公告通知公告通知公告</div>
|
|
|
- <div class="num1-box-r">
|
|
|
- <img src="../assets/images/通知 拷贝 3.png" alt />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="num1-box-div">
|
|
|
- <div class="num1-box-l">通知公告通知公告通知公告</div>
|
|
|
- <div class="num1-box-r">
|
|
|
- <img src="../assets/images/通知 拷贝 3.png" alt />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="num1-box-div">
|
|
|
- <div class="num1-box-l">通知公告通知公告通知公告</div>
|
|
|
- <div class="num1-box-r">
|
|
|
- <img src="../assets/images/通知 拷贝 3.png" alt />
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -490,7 +466,8 @@
|
|
|
>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="公告标题" prop="noticeTitle">
|
|
|
+ <p style="width:100%;height:30px;line-height:30px;color:#fff;fontSize:16px;" v-if="!ggflg" >公告标题:<span style="margin-left:10px;fontSize:14px;">{{form.noticeTitle}}</span></p>
|
|
|
+ <el-form-item label="公告标题" v-if="ggflg" prop="noticeTitle">
|
|
|
<el-input
|
|
|
v-model="form.noticeTitle"
|
|
|
placeholder="请输入公告标题"
|
|
@@ -624,6 +601,7 @@ export default {
|
|
|
listNotice().then((res) => {
|
|
|
console.log(res);
|
|
|
this.noticeList = res.data;
|
|
|
+ console.log(this.noticeList)
|
|
|
});
|
|
|
},
|
|
|
// 表单重置
|
|
@@ -839,17 +817,19 @@ export default {
|
|
|
}, 10000); /* 每500毫秒执行一次,实现动态显示时间效果 */
|
|
|
},
|
|
|
tongzhifun() {
|
|
|
- this.title = "添加通知通告";
|
|
|
- this.open5 = true;
|
|
|
- this.ggflg = true;
|
|
|
+ // this.title = "添加通知通告";
|
|
|
+ // this.open5 = true;
|
|
|
+ // this.ggflg = true;
|
|
|
+ // this.reset();
|
|
|
+ this.$router.push({ path: "/system/notice" }).catch(() => {});
|
|
|
},
|
|
|
submitForm() {
|
|
|
- addNotice(this.form).then((response) => {
|
|
|
- this.$modal.msgSuccess("新增成功");
|
|
|
- this.open5 = false;
|
|
|
- this.ggflg = false;
|
|
|
- this.getlist();
|
|
|
- });
|
|
|
+ // addNotice(this.form).then((response) => {
|
|
|
+ // this.$modal.msgSuccess("新增成功");
|
|
|
+ // this.open5 = false;
|
|
|
+ // this.ggflg = false;
|
|
|
+ // this.getlist();
|
|
|
+ // });
|
|
|
},
|
|
|
cancel() {
|
|
|
this.open5 = false;
|
|
@@ -862,6 +842,7 @@ export default {
|
|
|
tzggfun(item) {
|
|
|
// console.log(item);
|
|
|
// item.start = 1;
|
|
|
+ this.reset();
|
|
|
this.form = item;
|
|
|
updateNotice({
|
|
|
noticeId: item.noticeId,
|
|
@@ -870,6 +851,7 @@ export default {
|
|
|
}).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.getlist();
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
this.open5 = true;
|
|
@@ -1060,10 +1042,11 @@ hr {
|
|
|
background: rgba(0, 246, 255, 0.3);
|
|
|
}
|
|
|
.num1-box-l {
|
|
|
- flex: 1;
|
|
|
+ flex: 7;
|
|
|
height: 100%;
|
|
|
text-align: left;
|
|
|
margin-left: 10px;
|
|
|
+ text-overflow:ellipsis;
|
|
|
}
|
|
|
.num1-box-r {
|
|
|
flex: 3;
|
|
@@ -1093,7 +1076,7 @@ hr {
|
|
|
background: rgba(0, 246, 255, 0.3);
|
|
|
}
|
|
|
.num1-ul-li-l {
|
|
|
- flex: 1;
|
|
|
+ flex: 7;
|
|
|
height: 100%;
|
|
|
text-align: center;
|
|
|
}
|
|
@@ -1112,7 +1095,7 @@ hr {
|
|
|
line-height: 45px;
|
|
|
}
|
|
|
.num1-ul-title-l {
|
|
|
- flex: 1;
|
|
|
+ flex: 7;
|
|
|
height: 100%;
|
|
|
text-align: center;
|
|
|
}
|