Commit 6d0d3e34 by 西瓜

通知公告

parent 68ddd49e
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<div class="formWrap"> <div class="formWrap">
<div> <div>
<span class="flTtitle">查询条件</span> <span class="flTtitle">查询条件</span>
<span class="pageGuide">页面引导</span> <!-- <span class="pageGuide">页面引导</span>
<span class="settingField" <span class="settingField"
@click="centerDialogVisible = true"><i class="iconfont icontiaojie"></i>配置查询条件</span> @click="centerDialogVisible = true"><i class="iconfont icontiaojie"></i>配置查询条件</span> -->
</div> </div>
<el-form label-position="right" <el-form label-position="right"
label-width="140px" label-width="140px"
......
...@@ -43,10 +43,10 @@ export default [ ...@@ -43,10 +43,10 @@ export default [
path: '/tzggXzz', path: '/tzggXzz',
name: 'tzggXzz', name: 'tzggXzz',
meta: { meta: {
title: '案件档案', title: '通知公告',
auth: 5 auth: 5
}, },
component: () => import('@/views/asjxq/tzggXz.vue') component: () => import('@/views/magl/tzggXz.vue')
}, },
{ {
path: '/asjJaDetail', path: '/asjJaDetail',
......
...@@ -178,6 +178,12 @@ export default { ...@@ -178,6 +178,12 @@ export default {
}, },
getList() { getList() {
let self = this; let self = this;
const loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let data = { asjbh: self.asjbh }; let data = { asjbh: self.asjbh };
self self
.requestPost(JSON.stringify(data), "/tbstAsj/stasj/getSjlByasjbh") .requestPost(JSON.stringify(data), "/tbstAsj/stasj/getSjlByasjbh")
...@@ -210,6 +216,7 @@ export default { ...@@ -210,6 +216,7 @@ export default {
self.$set(item, "type", "primary"); self.$set(item, "type", "primary");
} }
}); });
loading.close();
} }
}); });
}, },
......
...@@ -878,50 +878,50 @@ export default { ...@@ -878,50 +878,50 @@ export default {
}) })
}, },
edit (item) { edit (item) {
// let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
// path: '/tzggXzz', path: '/tzggXzz',
// // query: { xxzjbh: item.xxzjbh } query: { xxzjbh: item.xxzjbh }
// })
// window.open(routeData.href, '_blank')
let self = this
self.dialogFormVisible = true
self.title = '修改通告'
self.formData2.tgnr = ''
// 回显
self.requestPost(JSON.stringify({ xxzjbh: item.xxzjbh }), '/tztg/getTztgByzjbh').then(response => {
if (response.data.success === true) {
self.formData2.tgbt = response.data.data.tztg.tgbt
self.formData2.tgnr = response.data.data.tztg.tgnr
self.formData2.fbr = response.data.data.tztg.fbr
self.formData2.xxzjbh = response.data.data.tztg.xxzjbh
self.formData2.sffbPdbz = response.data.data.tztg.sffbPdbz
setTimeout(function () {
self.formData2.fbdw = response.data.data.tztg.fbdw
}, 1000)
} else {
self.$message({
type: 'error',
message: response.data.message
})
}
}) })
window.open(routeData.href, '_blank')
// let self = this
// self.dialogFormVisible = true
// self.title = '修改通告'
// self.formData2.tgnr = ''
// // 回显
// self.requestPost(JSON.stringify({ xxzjbh: item.xxzjbh }), '/tztg/getTztgByzjbh').then(response => {
// if (response.data.success === true) {
// self.formData2.tgbt = response.data.data.tztg.tgbt
// self.formData2.tgnr = response.data.data.tztg.tgnr
// self.formData2.fbr = response.data.data.tztg.fbr
// self.formData2.xxzjbh = response.data.data.tztg.xxzjbh
// self.formData2.sffbPdbz = response.data.data.tztg.sffbPdbz
// setTimeout(function () {
// self.formData2.fbdw = response.data.data.tztg.fbdw
// }, 1000)
// } else {
// self.$message({
// type: 'error',
// message: response.data.message
// })
// }
// })
}, },
remove (index) { remove (index) {
this.tableData.splice(index, 1) this.tableData.splice(index, 1)
}, },
add () { add () {
// let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
// path: '/tzggXzz', path: '/tzggXzz',
// }) })
// window.open(routeData.href, '_blank') window.open(routeData.href, '_blank')
let self = this // let self = this
self.dialogFormVisible = true // self.dialogFormVisible = true
self.title = '发布通告' // self.title = '发布通告'
self.formData2.fbr = JSON.parse(sessionStorage.getItem('userInfo')).userName // self.formData2.fbr = JSON.parse(sessionStorage.getItem('userInfo')).userName
setTimeout(function () { // setTimeout(function () {
self.formData2.fbdw = sessionStorage.getItem('unitcode') // self.formData2.fbdw = sessionStorage.getItem('unitcode')
}, 1000) // }, 1000)
}, },
toXq (asjbh) { toXq (asjbh) {
......
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