37b859d8 by 任超

style;样式

1 parent d1ddb7ce
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
70 70
71 .box-mountNode { 71 .box-mountNode {
72 flex: 1; 72 flex: 1;
73 height: calc(100% - 500px); 73 height: calc(100% - 485px);
74 } 74 }
75 75
76 .home-right { 76 .home-right {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 </el-card> 14 </el-card>
15 </el-col> 15 </el-col>
16 <el-col :span="12"> 16 <el-col :span="12">
17 <el-card shadow="hover" style="height:245px"> 17 <el-card shadow="hover" style="height:243px">
18 <div slot="header" class="flexst"> 18 <div slot="header" class="flexst">
19 <h5 class="title">系统通知</h5> 19 <h5 class="title">系统通知</h5>
20 <i class="el-icon-s-unfold pointer"></i> 20 <i class="el-icon-s-unfold pointer"></i>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 <ul> 22 <ul>
23 <li v-for="(item, index) in noticeList" :key="index" @click="handleNotice" class="flexst pointer"> 23 <li v-for="(item, index) in noticeList" :key="index" @click="handleNotice" class="flexst pointer">
24 <p class="list-title">{{ item.noticeTitle }}</p> 24 <p class="list-title">{{ item.noticeTitle }}</p>
25 <p class="marginZL15">{{ item.createtime }}</p> 25 <p class="marginZL15">{{ item.createtime.substring(0, 10) }}</p>
26 <p v-if="item.userBrowse == '1'" style="color:red">未读</p> 26 <p v-if="item.userBrowse == '1'" style="color:red">未读</p>
27 <p v-else>已读</p> 27 <p v-else>已读</p>
28 </li> 28 </li>
...@@ -32,29 +32,30 @@ ...@@ -32,29 +32,30 @@
32 </el-row> 32 </el-row>
33 <el-row :gutter="8" class="marginTop10"> 33 <el-row :gutter="8" class="marginTop10">
34 <el-col :span="12"> 34 <el-col :span="12">
35 <el-card shadow="hover" style="height:280px"> 35 <el-card shadow="hover">
36 <div slot="header" class="flexst"> 36 <div slot="header" class="flexst">
37 <h5 class="title">待办事项</h5> 37 <h5 class="title">待办事项</h5>
38 <i class="el-icon-s-unfold pointer"></i> 38 <i class="el-icon-s-unfold pointer"></i>
39 </div> 39 </div>
40 <ul> 40 <ul>
41 <li v-for="(item, index) in todoList" :key="index" class="flexst"> 41 <li v-for="(item, index) in todoList" :key="index" class="flexst">
42 <p class="right15">{{ item.dealTime }}</p> 42 <p class="right15">{{ item.dealTime.substring(0, 10) }}</p>
43 <p class="list-title">{{ item.dealBusiness }} ({{item.dealStep+ '环节'}})</p> 43 <p class="list-title">{{ item.dealBusiness }} ({{ item.dealStep + '环节' }})</p>
44 </li> 44 </li>
45 </ul> 45 </ul>
46 </el-card> 46 </el-card>
47 </el-col> 47 </el-col>
48 <el-col :span="12"> 48 <el-col :span="12">
49 <el-card shadow="hover" style="height:280px"> 49 <el-card shadow="hover" style="height:225px">
50 <div slot="header" class="flexst"> 50 <div slot="header" class="flexst">
51 <h5 class="title">法律法规</h5> 51 <h5 class="title">法律法规</h5>
52 <i class="el-icon-s-unfold pointer"></i> 52 <i class="el-icon-s-unfold pointer"></i>
53 </div> 53 </div>
54 <ul> 54 <ul>
55 <li v-for="(item, index) in policyList" @click="handleView(item.noticeFileUrl)" :key="index" class="flexst pointer"> 55 <li v-for="(item, index) in policyList" @click="handleView(item.noticeFileUrl)" :key="index"
56 class="flexst pointer">
56 <p class="right15">{{ item.noticeTitle }}</p> 57 <p class="right15">{{ item.noticeTitle }}</p>
57 <p class="list-title">{{ item.createtime }}</p> 58 <p class="list-title">{{ item.createtime.substring(0, 10) }}</p>
58 </li> 59 </li>
59 </ul> 60 </ul>
60 </el-card> 61 </el-card>
...@@ -74,8 +75,8 @@ ...@@ -74,8 +75,8 @@
74 </div> 75 </div>
75 <ul> 76 <ul>
76 <li v-for="(item, index) in doneList" :key="index" class="flexst"> 77 <li v-for="(item, index) in doneList" :key="index" class="flexst">
77 <p class="right15">{{ item.dealTime }}</p> 78 <p class="right15">{{ item.dealTime.substring(0, 10) }}</p>
78 <p class="list-title">{{ item.dealBusiness }} ({{item.dealStep+ '环节'}})</p> 79 <p class="list-title">{{ item.dealBusiness }} ({{ item.dealStep + '环节' }})</p>
79 </li> 80 </li>
80 </ul> 81 </ul>
81 </el-card> 82 </el-card>
...@@ -143,9 +144,6 @@ export default { ...@@ -143,9 +144,6 @@ export default {
143 year: '1996', 144 year: '1996',
144 value: 31056 145 value: 31056
145 }, { 146 }, {
146 year: '1995',
147 value: 17000
148 }, {
149 year: '1996', 147 year: '1996',
150 value: 31056 148 value: 31056
151 }], 149 }],
...@@ -167,30 +165,42 @@ export default { ...@@ -167,30 +165,42 @@ export default {
167 window.open(href, '_blank'); 165 window.open(href, '_blank');
168 }, 166 },
169 //获取待办事项列表 167 //获取待办事项列表
170 queryTodoList(){ 168 queryTodoList () {
171 getHomeTodoList().then(res => { 169 getHomeTodoList().then(res => {
172 if(res.result){ 170 if (res.result) {
173 this.todoList = res.result 171 this.todoList = res.result.slice(0, 4)
174 } 172 }
175 }) 173 })
176 }, 174 },
177 //获取已办事项列表 175 //获取已办事项列表
178 queryDoneList(){ 176 queryDoneList () {
179 getHomeDoneList().then(res => { 177 getHomeDoneList().then(res => {
180 if(res.result){ 178 if (res.result) {
181 this.doneList = res.result 179 this.doneList = res.result
182 } 180 }
183 }) 181 })
184 }, 182 },
185 //获取通知列表 183 //获取通知列表
186 queryNoticeList(){ 184 queryNoticeList () {
187 getHomeNoticeList().then(res => { 185 getHomeNoticeList().then(res => {
188 if(res.result){ 186 if (res.result) {
189 this.noticeList = res.result.noticeList 187 this.noticeList = res.result.noticeList
188 this.noticeList.forEach(item => {
189
190 })
190 this.policyList = res.result.policyList 191 this.policyList = res.result.policyList
191 } 192 }
192 }) 193 })
193 }, 194 },
195 _timedate (date) {
196 let time_str = "";
197 if (new Date(date).getDate() === new Date().getDate()) {
198 time_str = "今天";
199 } else if (new Date(date).getDate() === (new Date().getDate() - 1)) {
200 time_str = "昨天";
201 }
202 return time_str;
203 },
194 buildChart () { 204 buildChart () {
195 let height = document.getElementById("mountNodeCon").offsetHeight - 20 205 let height = document.getElementById("mountNodeCon").offsetHeight - 20
196 var chart = new G2.Chart({ 206 var chart = new G2.Chart({
...@@ -231,4 +241,8 @@ export default { ...@@ -231,4 +241,8 @@ export default {
231 <style scoped lang="scss"> 241 <style scoped lang="scss">
232 @import "~@/styles/mixin.scss"; 242 @import "~@/styles/mixin.scss";
233 @import "./index.scss"; 243 @import "./index.scss";
244
245 /deep/.el-card__body {
246 padding: 10px;
247 }
234 </style> 248 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
26 26
27 <script> 27 <script>
28 import '@/styles/package/theme/index.scss' 28 import '@/styles/package/theme/index.scss'
29 import { addSysNotice} from "@/api/notice.js" 29 import { addSysNotice } from "@/api/notice.js"
30 import { upload} from "@/api/system.js" 30 import { upload } from "@/api/system.js"
31 export default { 31 export default {
32 props: { 32 props: {
33 value: { type: Boolean, default: false }, 33 value: { type: Boolean, default: false },
...@@ -60,7 +60,8 @@ export default { ...@@ -60,7 +60,8 @@ export default {
60 this.$parent.queryClick(); 60 this.$parent.queryClick();
61 } else { 61 } else {
62 this.$message.error(res.message) 62 this.$message.error(res.message)
63 }}) 63 }
64 })
64 } else { 65 } else {
65 // console.log('error submit!!'); 66 // console.log('error submit!!');
66 return false; 67 return false;
...@@ -73,7 +74,7 @@ export default { ...@@ -73,7 +74,7 @@ export default {
73 this.resetRuleForm(); 74 this.resetRuleForm();
74 }, 75 },
75 // 76 //
76 resetRuleForm(){ 77 resetRuleForm () {
77 this.$refs['ruleForm'].resetFields(); 78 this.$refs['ruleForm'].resetFields();
78 this.ruleForm.noticeType = '2' 79 this.ruleForm.noticeType = '2'
79 }, 80 },
...@@ -91,5 +92,5 @@ export default { ...@@ -91,5 +92,5 @@ export default {
91 } 92 }
92 </script> 93 </script>
93 <style scoped lang="scss"> 94 <style scoped lang="scss">
94 @import "~@/styles/public.scss"; 95
95 </style> 96 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -31,11 +31,11 @@ ...@@ -31,11 +31,11 @@
31 <script> 31 <script>
32 import table from "@/utils/mixin/table"; 32 import table from "@/utils/mixin/table";
33 import { datas, sendThis } from "./flfgdata"; 33 import { datas, sendThis } from "./flfgdata";
34 import { getSysPolicyList,deleteSysNotice } from "@/api/notice.js" 34 import { getSysPolicyList, deleteSysNotice } from "@/api/notice.js"
35 import addDialog from "./components/addDialog.vue"; 35 import addDialog from "./components/addDialog.vue";
36 export default { 36 export default {
37 name: "xttz", 37 name: "flfg",
38 components: { addDialog}, 38 components: { addDialog },
39 mixins: [table], 39 mixins: [table],
40 mounted () { 40 mounted () {
41 sendThis(this); 41 sendThis(this);
...@@ -70,15 +70,15 @@ export default { ...@@ -70,15 +70,15 @@ export default {
70 }) 70 })
71 }, 71 },
72 //打开新增弹窗 72 //打开新增弹窗
73 openDialog() { 73 openDialog () {
74 this.isDialog = true; 74 this.isDialog = true;
75 }, 75 },
76 downloadFile(item){ 76 downloadFile (item) {
77 const href = item.noticeFileUrl 77 const href = item.noticeFileUrl
78 window.open(href, '_blank'); 78 window.open(href, '_blank');
79 }, 79 },
80 //删除 80 //删除
81 delNotice(item){ 81 delNotice (item) {
82 this.$confirm('是否确定删除', '提示', { 82 this.$confirm('是否确定删除', '提示', {
83 confirmButtonText: '确定', 83 confirmButtonText: '确定',
84 cancelButtonText: '取消', 84 cancelButtonText: '取消',
......
...@@ -32,9 +32,8 @@ ...@@ -32,9 +32,8 @@
32 </template> 32 </template>
33 33
34 <script> 34 <script>
35 import '@/styles/package/theme/index.scss' 35 import { addSysNotice } from "@/api/notice.js"
36 import { addSysNotice} from "@/api/notice.js" 36 import { upload } from "@/api/system.js"
37 import { upload} from "@/api/system.js"
38 export default { 37 export default {
39 props: { 38 props: {
40 value: { type: Boolean, default: false }, 39 value: { type: Boolean, default: false },
...@@ -70,7 +69,8 @@ export default { ...@@ -70,7 +69,8 @@ export default {
70 this.$parent.queryClick(); 69 this.$parent.queryClick();
71 } else { 70 } else {
72 this.$message.error(res.message) 71 this.$message.error(res.message)
73 }}) 72 }
73 })
74 } else { 74 } else {
75 // console.log('error submit!!'); 75 // console.log('error submit!!');
76 return false; 76 return false;
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
83 this.resetRuleForm(); 83 this.resetRuleForm();
84 }, 84 },
85 // 85 //
86 resetRuleForm(){ 86 resetRuleForm () {
87 this.$refs['ruleForm'].resetFields(); 87 this.$refs['ruleForm'].resetFields();
88 this.ruleForm.noticeType = '1' 88 this.ruleForm.noticeType = '1'
89 }, 89 },
...@@ -101,5 +101,5 @@ export default { ...@@ -101,5 +101,5 @@ export default {
101 } 101 }
102 </script> 102 </script>
103 <style scoped lang="scss"> 103 <style scoped lang="scss">
104 @import "~@/styles/public.scss"; 104
105 </style> 105 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 <el-row :gutter="8"> 15 <el-row :gutter="8">
16 <el-col :span="24" class="margin-top-middle"> 16 <el-col :span="24" class="margin-top-middle">
17 附件: 17 附件:
18 <div @click="handleView(formData.item.noticeFileUrl)" class="pointer">{{formData.item.noticeFileName}}</div> 18 <div @click="handleView(formData.item.noticeFileUrl)" class="pointer">{{ formData.item.noticeFileName }}</div>
19 </el-col> 19 </el-col>
20 </el-row> 20 </el-row>
21 </div> 21 </div>
...@@ -26,14 +26,14 @@ export default { ...@@ -26,14 +26,14 @@ export default {
26 return { 26 return {
27 }; 27 };
28 }, 28 },
29 components: { }, 29 components: {},
30 props: { 30 props: {
31 formData: { 31 formData: {
32 type: Object, 32 type: Object,
33 default: () => {} 33 default: () => { }
34 }, 34 },
35 }, 35 },
36 created(){ 36 created () {
37 console.log(this.formData); 37 console.log(this.formData);
38 }, 38 },
39 computed: { 39 computed: {
...@@ -46,8 +46,7 @@ export default { ...@@ -46,8 +46,7 @@ export default {
46 }; 46 };
47 </script> 47 </script>
48 <style scoped lang='scss'> 48 <style scoped lang='scss'>
49 @import "~@/styles/public.scss";
50 .margin-top-middle { 49 .margin-top-middle {
51 margin-top:10px 50 margin-top: 10px
52 } 51 }
53 </style> 52 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
39 <script> 39 <script>
40 import table from "@/utils/mixin/table"; 40 import table from "@/utils/mixin/table";
41 import { datas, sendThis } from "./xttzdata"; 41 import { datas, sendThis } from "./xttzdata";
42 import { getSysNoticeList,deleteSysNotice,publishNotice,unPublishNotice } from "@/api/notice.js" 42 import { getSysNoticeList, deleteSysNotice, publishNotice, unPublishNotice } from "@/api/notice.js"
43 import addDialog from "./components/addDialog.vue"; 43 import addDialog from "./components/addDialog.vue";
44 export default { 44 export default {
45 name: "xttz", 45 name: "xttz",
46 components: { addDialog}, 46 components: { addDialog },
47 mixins: [table], 47 mixins: [table],
48 mounted () { 48 mounted () {
49 sendThis(this); 49 sendThis(this);
...@@ -58,8 +58,8 @@ export default { ...@@ -58,8 +58,8 @@ export default {
58 noticeStatus: '' 58 noticeStatus: ''
59 }, 59 },
60 noticeStatusList: [ 60 noticeStatusList: [
61 {"label": '未发布','value':'1'}, 61 { "label": '未发布', 'value': '1' },
62 {'label': '已发布','value':'2'} 62 { 'label': '已发布', 'value': '2' }
63 ], 63 ],
64 tableData: { 64 tableData: {
65 total: 0, 65 total: 0,
...@@ -83,11 +83,11 @@ export default { ...@@ -83,11 +83,11 @@ export default {
83 }) 83 })
84 }, 84 },
85 //打开新增弹窗 85 //打开新增弹窗
86 openDialog() { 86 openDialog () {
87 this.isDialog = true; 87 this.isDialog = true;
88 }, 88 },
89 //删除 89 //删除
90 delNotice(item){ 90 delNotice (item) {
91 this.$confirm('是否确定删除', '提示', { 91 this.$confirm('是否确定删除', '提示', {
92 confirmButtonText: '确定', 92 confirmButtonText: '确定',
93 cancelButtonText: '取消', 93 cancelButtonText: '取消',
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
109 }); 109 });
110 }, 110 },
111 //发布 111 //发布
112 toPublish(item){ 112 toPublish (item) {
113 this.$confirm('是否确定发布', '提示', { 113 this.$confirm('是否确定发布', '提示', {
114 confirmButtonText: '确定', 114 confirmButtonText: '确定',
115 cancelButtonText: '取消', 115 cancelButtonText: '取消',
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
131 }); 131 });
132 }, 132 },
133 //取消发布 133 //取消发布
134 toUnPublish(item){ 134 toUnPublish (item) {
135 this.$confirm('是否确定取消发布', '提示', { 135 this.$confirm('是否确定取消发布', '提示', {
136 confirmButtonText: '确定', 136 confirmButtonText: '确定',
137 cancelButtonText: '取消', 137 cancelButtonText: '取消',
...@@ -152,11 +152,11 @@ export default { ...@@ -152,11 +152,11 @@ export default {
152 }); 152 });
153 }); 153 });
154 }, 154 },
155 downloadFile(item){ 155 downloadFile (item) {
156 const href = item.noticeFileUrl 156 const href = item.noticeFileUrl
157 window.open(href, '_blank'); 157 window.open(href, '_blank');
158 }, 158 },
159 viewDetail(e){ 159 viewDetail (e) {
160 this.$popup("错误日志", "system/xttz/components/viewDialog", { 160 this.$popup("错误日志", "system/xttz/components/viewDialog", {
161 formData: { 161 formData: {
162 item: e 162 item: e
......
...@@ -11,8 +11,9 @@ export default { ...@@ -11,8 +11,9 @@ export default {
11 this.isSearch = true 11 this.isSearch = true
12 }, 12 },
13 getSearch (val) { 13 getSearch (val) {
14 console.log(val, 222222222222); 14 if (!val) return
15 this.otherForm = val 15 this.otherForm = val
16 this.queryClick()
16 let obj = { ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', qlrmc: '权利人', ywrmc: '义务人', slsj: '受理时间' } 17 let obj = { ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', qlrmc: '权利人', ywrmc: '义务人', slsj: '受理时间' }
17 this.searchList = Object.entries({ ...this.searchForm, ...val }).map((item) => { 18 this.searchList = Object.entries({ ...this.searchForm, ...val }).map((item) => {
18 const [name, value] = item 19 const [name, value] = item
......
...@@ -70,8 +70,7 @@ export default { ...@@ -70,8 +70,7 @@ export default {
70 this.$refs['ruleForm'].resetFields() 70 this.$refs['ruleForm'].resetFields()
71 }, 71 },
72 submitForm () { 72 submitForm () {
73 this.$emit('getSearch', this.ruleForm) 73 this.$emit('getSearch', _.cloneDeep(this.ruleForm))
74 console.log(this.ruleForm);
75 this.$emit('input', false) 74 this.$emit('input', false)
76 this.$refs['ruleForm'].resetFields() 75 this.$refs['ruleForm'].resetFields()
77 } 76 }
......
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
126 queryClick () { 126 queryClick () {
127 this.$startLoading() 127 this.$startLoading()
128 this.searchForm.ywh = this.queryForm.ywh 128 this.searchForm.ywh = this.queryForm.ywh
129 this.getSearch() 129 console.log(this.otherForm);
130 searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => { 130 searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => {
131 this.$endLoading() 131 this.$endLoading()
132 if (res.code === 200) { 132 if (res.code === 200) {
......