Commit 83a6fe26 authored by 黄奎's avatar 黄奎

页面修改

parent 1c35e185
...@@ -90,8 +90,8 @@ ...@@ -90,8 +90,8 @@
<div class="col-2 q-pr-lg q-pb-lg"> <div class="col-2 q-pr-lg q-pb-lg">
<q-uploader style="display: inline-block;max-height: 320px;max-width: 100%; background-repeat:no-repeat" <q-uploader style="display: inline-block;max-height: 320px;max-width: 100%; background-repeat:no-repeat"
:style="{'background-image':'url(' + NoticeBaseInfo.Image + ')'}" max-files="1" hide-upload-btn :style="{'background-image':'url(' + NoticeBaseInfo.Image + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="公文抬头图片" accept=".jpg, image/*" auto-upload @rejected="onRejected" label="公文抬头图片" accept=".jpg, image/*" auto-upload :factory="uploadFile"
:factory="uploadFile" no-thumbnails> no-thumbnails>
</q-uploader> </q-uploader>
</div> </div>
<div class="row"> <div class="row">
...@@ -175,7 +175,8 @@ ...@@ -175,7 +175,8 @@
</q-dialog> </q-dialog>
<q-dialog v-model="persistent2" maximized full-height seamless position="right"> <q-dialog v-model="persistent2" maximized full-height seamless position="right">
<q-card style="margin-top:21px;width:800px" class="no-border-radius classinfo_Dialog"> <q-card style="margin-top:21px;width:800px" class="no-border-radius classinfo_Dialog">
<q-img :src="NoticeBaseInfo.Image" v-if="NoticeBaseInfo.Image" spinner-color="white" style=" width: 100%;height: 120px" /> <q-img :src="NoticeBaseInfo.Image" v-if="NoticeBaseInfo.Image" spinner-color="white"
style=" width: 100%;height: 120px" />
<div style="padding: 20px"> <div style="padding: 20px">
<div class="col-12 g row" style="margin-bottom:10px;"> <div class="col-12 g row" style="margin-bottom:10px;">
<div class="col-6"> <div class="col-6">
...@@ -263,7 +264,8 @@ ...@@ -263,7 +264,8 @@
tabCheck: 'first', tabCheck: 'first',
msg: { msg: {
PageIndex: 1, PageIndex: 1,
PageSize: 20, PageSize: 12,
rowsPerPage: 12,
Title: '', Title: '',
Number: '', Number: '',
NoticeState: 0, NoticeState: 0,
...@@ -353,7 +355,7 @@ ...@@ -353,7 +355,7 @@
nNumber: null, nNumber: null,
drawer: false, //显示右侧抽屉 drawer: false, //显示右侧抽屉
NInfo: {}, //详情内容 NInfo: {}, //详情内容
persistent2:false persistent2: false
} }
}, },
...@@ -600,7 +602,7 @@ ...@@ -600,7 +602,7 @@
save_t(val) { save_t(val) {
this.$refs.From.validate() this.$refs.From.validate()
this.$refs.Title.validate() this.$refs.Title.validate()
if(!this.$refs.From.hasError && !this.$refs.Title.hasError){ if (!this.$refs.From.hasError && !this.$refs.Title.hasError) {
this.addMsg.NoticeState = val //发布状态 this.addMsg.NoticeState = val //发布状态
this.saveLoading = true; this.saveLoading = true;
var tempStr = ""; var tempStr = "";
...@@ -651,7 +653,7 @@ ...@@ -651,7 +653,7 @@
}, },
EditConfig(id) { EditConfig(id) {
this.persistent2=true; this.persistent2 = true;
// this.drawer = true; // this.drawer = true;
this.getNInfo(id) this.getNInfo(id)
}, },
......
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