Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
37b859d8
authored
2022-11-17 09:52:44 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style;样式
1 parent
d1ddb7ce
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
167 additions
and
153 deletions
src/views/home/index.scss
src/views/home/index.vue
src/views/system/flfg/components/addDialog.vue
src/views/system/flfg/flfg.vue
src/views/system/xttz/components/addDialog.vue
src/views/system/xttz/components/viewDialog.vue
src/views/system/xttz/xttz.vue
src/views/ywbl/components/mixin/index.js
src/views/ywbl/components/search.vue
src/views/ywbl/dbx/dbx.vue
src/views/home/index.scss
View file @
37b859d
...
...
@@ -70,13 +70,13 @@
.box-mountNode
{
flex
:
1
;
height
:
calc
(
100%
-
500
px
);
height
:
calc
(
100%
-
485
px
);
}
.home-right
{
padding-left
:
4px
;
width
:
30%
;
.list-title
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
...
...
@@ -86,7 +86,7 @@
ul
{
li
{
line-height
:
36px
;
p
{
white-space
:
nowrap
;
}
...
...
src/views/home/index.vue
View file @
37b859d
...
...
@@ -14,7 +14,7 @@
</el-card>
</el-col>
<el-col
:span=
"12"
>
<el-card
shadow=
"hover"
style=
"height:245
px"
>
<el-card
shadow=
"hover"
style=
"height:243
px"
>
<div
slot=
"header"
class=
"flexst"
>
<h5
class=
"title"
>
系统通知
</h5>
<i
class=
"el-icon-s-unfold pointer"
></i>
...
...
@@ -22,7 +22,7 @@
<ul>
<li
v-for=
"(item, index) in noticeList"
:key=
"index"
@
click=
"handleNotice"
class=
"flexst pointer"
>
<p
class=
"list-title"
>
{{
item
.
noticeTitle
}}
</p>
<p
class=
"marginZL15"
>
{{
item
.
createtime
}}
</p>
<p
class=
"marginZL15"
>
{{
item
.
createtime
.
substring
(
0
,
10
)
}}
</p>
<p
v-if=
"item.userBrowse == '1'"
style=
"color:red"
>
未读
</p>
<p
v-else
>
已读
</p>
</li>
...
...
@@ -32,29 +32,30 @@
</el-row>
<el-row
:gutter=
"8"
class=
"marginTop10"
>
<el-col
:span=
"12"
>
<el-card
shadow=
"hover"
style=
"height:280px"
>
<el-card
shadow=
"hover"
>
<div
slot=
"header"
class=
"flexst"
>
<h5
class=
"title"
>
待办事项
</h5>
<i
class=
"el-icon-s-unfold pointer"
></i>
</div>
<ul>
<li
v-for=
"(item, index) in todoList"
:key=
"index"
class=
"flexst"
>
<p
class=
"right15"
>
{{
item
.
dealTime
}}
</p>
<p
class=
"list-title"
>
{{
item
.
dealBusiness
}}
(
{{
item
.
dealStep
+
'环节'
}}
)
</p>
<p
class=
"right15"
>
{{
item
.
dealTime
.
substring
(
0
,
10
)
}}
</p>
<p
class=
"list-title"
>
{{
item
.
dealBusiness
}}
(
{{
item
.
dealStep
+
'环节'
}}
)
</p>
</li>
</ul>
</el-card>
</el-col>
<el-col
:span=
"12"
>
<el-card
shadow=
"hover"
style=
"height:2
80
px"
>
<el-card
shadow=
"hover"
style=
"height:2
25
px"
>
<div
slot=
"header"
class=
"flexst"
>
<h5
class=
"title"
>
法律法规
</h5>
<i
class=
"el-icon-s-unfold pointer"
></i>
</div>
<ul>
<li
v-for=
"(item, index) in policyList"
@
click=
"handleView(item.noticeFileUrl)"
:key=
"index"
class=
"flexst pointer"
>
<li
v-for=
"(item, index) in policyList"
@
click=
"handleView(item.noticeFileUrl)"
:key=
"index"
class=
"flexst pointer"
>
<p
class=
"right15"
>
{{
item
.
noticeTitle
}}
</p>
<p
class=
"list-title"
>
{{
item
.
createtime
}}
</p>
<p
class=
"list-title"
>
{{
item
.
createtime
.
substring
(
0
,
10
)
}}
</p>
</li>
</ul>
</el-card>
...
...
@@ -74,8 +75,8 @@
</div>
<ul>
<li
v-for=
"(item, index) in doneList"
:key=
"index"
class=
"flexst"
>
<p
class=
"right15"
>
{{
item
.
dealTime
}}
</p>
<p
class=
"list-title"
>
{{
item
.
dealBusiness
}}
(
{{
item
.
dealStep
+
'环节'
}}
)
</p>
<p
class=
"right15"
>
{{
item
.
dealTime
.
substring
(
0
,
10
)
}}
</p>
<p
class=
"list-title"
>
{{
item
.
dealBusiness
}}
(
{{
item
.
dealStep
+
'环节'
}}
)
</p>
</li>
</ul>
</el-card>
...
...
@@ -143,9 +144,6 @@ export default {
year
:
'1996'
,
value
:
31056
},
{
year
:
'1995'
,
value
:
17000
},
{
year
:
'1996'
,
value
:
31056
}],
...
...
@@ -167,30 +165,42 @@ export default {
window
.
open
(
href
,
'_blank'
);
},
//获取待办事项列表
queryTodoList
()
{
queryTodoList
()
{
getHomeTodoList
().
then
(
res
=>
{
if
(
res
.
result
)
{
this
.
todoList
=
res
.
result
if
(
res
.
result
)
{
this
.
todoList
=
res
.
result
.
slice
(
0
,
4
)
}
})
},
//获取已办事项列表
queryDoneList
()
{
queryDoneList
()
{
getHomeDoneList
().
then
(
res
=>
{
if
(
res
.
result
)
{
if
(
res
.
result
)
{
this
.
doneList
=
res
.
result
}
})
},
//获取通知列表
queryNoticeList
()
{
queryNoticeList
()
{
getHomeNoticeList
().
then
(
res
=>
{
if
(
res
.
result
){
this
.
noticeList
=
res
.
result
.
noticeList
this
.
policyList
=
res
.
result
.
policyList
if
(
res
.
result
)
{
this
.
noticeList
=
res
.
result
.
noticeList
this
.
noticeList
.
forEach
(
item
=>
{
})
this
.
policyList
=
res
.
result
.
policyList
}
})
},
_timedate
(
date
)
{
let
time_str
=
""
;
if
(
new
Date
(
date
).
getDate
()
===
new
Date
().
getDate
())
{
time_str
=
"今天"
;
}
else
if
(
new
Date
(
date
).
getDate
()
===
(
new
Date
().
getDate
()
-
1
))
{
time_str
=
"昨天"
;
}
return
time_str
;
},
buildChart
()
{
let
height
=
document
.
getElementById
(
"mountNodeCon"
).
offsetHeight
-
20
var
chart
=
new
G2
.
Chart
({
...
...
@@ -231,4 +241,8 @@ export default {
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"./index.scss"
;
/
deep
/
.el-card__body
{
padding
:
10px
;
}
</
style
>
\ No newline at end of file
...
...
src/views/system/flfg/components/addDialog.vue
View file @
37b859d
<
template
>
<dialogBox
title=
"新增法律法规"
@
submitForm=
"submitForm"
saveButton=
"保存"
:isFullscreen=
"false"
width=
"50%"
@
closeDialog=
"closeDialog"
v-model=
"value"
>
@
closeDialog=
"closeDialog"
v-model=
"value"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
:rules=
"rules"
>
<el-row>
<el-col
:span=
"12"
>
...
...
@@ -11,13 +11,13 @@
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"附件:"
prop=
"noticeFileUrl"
>
<el-upload
action=
""
:file-list=
"fileList"
multiple
:auto-upload=
"false"
:limit=
"1"
:on-change=
"handleChange"
:before-upload=
"beforeUpload"
>
<el-button
icon=
"el-icon-upload"
type=
"primary"
>
上传
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
支持上传doc、docx、xls、xlsx、pdf文件,大小不超过20MB
</div>
</el-upload>
</el-form-item>
<el-form-item
label=
"附件:"
prop=
"noticeFileUrl"
>
<el-upload
action=
""
:file-list=
"fileList"
multiple
:auto-upload=
"false"
:limit=
"1"
:on-change=
"handleChange"
:before-upload=
"beforeUpload"
>
<el-button
icon=
"el-icon-upload"
type=
"primary"
>
上传
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
支持上传doc、docx、xls、xlsx、pdf文件,大小不超过20MB
</div>
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-form>
...
...
@@ -26,8 +26,8 @@
<
script
>
import
'@/styles/package/theme/index.scss'
import
{
addSysNotice
}
from
"@/api/notice.js"
import
{
upload
}
from
"@/api/system.js"
import
{
addSysNotice
}
from
"@/api/notice.js"
import
{
upload
}
from
"@/api/system.js"
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
...
...
@@ -50,32 +50,33 @@ export default {
methods
:
{
submitForm
()
{
let
that
=
this
;
that
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
addSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
$emit
(
"input"
,
false
);
this
.
$parent
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
)
}})
let
that
=
this
;
that
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
addSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
$emit
(
"input"
,
false
);
this
.
$parent
.
queryClick
();
}
else
{
// console.log('error submit!!');
return
false
;
this
.
$message
.
error
(
res
.
message
)
}
});
})
}
else
{
// console.log('error submit!!');
return
false
;
}
});
},
//关闭窗口
closeDialog
()
{
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
resetRuleForm
();
},
//
resetRuleForm
()
{
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
ruleForm
.
noticeType
=
'2'
resetRuleForm
()
{
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
ruleForm
.
noticeType
=
'2'
},
beforeUpload
(
file
)
{
return
true
;
...
...
@@ -84,12 +85,12 @@ export default {
var
formdata
=
new
FormData
();
formdata
.
append
(
"file"
,
file
.
raw
);
upload
(
formdata
).
then
(
res
=>
{
this
.
ruleForm
.
noticeFileUrl
=
res
.
message
this
.
ruleForm
.
noticeFileUrl
=
res
.
message
})
},
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
</
style
>
\ No newline at end of file
...
...
src/views/system/flfg/flfg.vue
View file @
37b859d
...
...
@@ -24,18 +24,18 @@
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
<addDialog
ref=
"addDialog"
v-model=
"isDialog"
/>
</div>
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./flfgdata"
;
import
{
getSysPolicyList
,
deleteSysNotice
}
from
"@/api/notice.js"
import
{
getSysPolicyList
,
deleteSysNotice
}
from
"@/api/notice.js"
import
addDialog
from
"./components/addDialog.vue"
;
export
default
{
name
:
"
xttz
"
,
components
:
{
addDialog
},
name
:
"
flfg
"
,
components
:
{
addDialog
},
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
...
...
@@ -46,7 +46,7 @@ export default {
isDialog
:
false
,
viewDialog
:
false
,
ruleForm
:
{
noticeTitle
:
''
noticeTitle
:
''
},
tableData
:
{
total
:
0
,
...
...
@@ -70,34 +70,34 @@ export default {
})
},
//打开新增弹窗
openDialog
()
{
openDialog
()
{
this
.
isDialog
=
true
;
},
downloadFile
(
item
)
{
downloadFile
(
item
)
{
const
href
=
item
.
noticeFileUrl
window
.
open
(
href
,
'_blank'
);
},
//删除
delNotice
(
item
){
this
.
$confirm
(
'是否确定删除'
,
'提示'
,
{
delNotice
(
item
)
{
this
.
$confirm
(
'是否确定删除'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
deleteSysNotice
({
"bsmNotice"
:
item
.
bsmNotice
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
queryClick
();
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
}
})
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
type
:
'info'
,
message
:
'已取消删除'
});
});
});
},
},
};
...
...
src/views/system/xttz/components/addDialog.vue
View file @
37b859d
<
template
>
<dialogBox
title=
"新增系统通知"
@
submitForm=
"submitForm"
saveButton=
"保存"
:isFullscreen=
"false"
width=
"50%"
@
closeDialog=
"closeDialog"
v-model=
"value"
>
@
closeDialog=
"closeDialog"
v-model=
"value"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
:rules=
"rules"
>
<el-row>
<el-col
:span=
"12"
>
...
...
@@ -18,13 +18,13 @@
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"附件:"
prop=
"noticeFileUrl"
>
<el-upload
action=
""
:file-list=
"fileList"
multiple
:auto-upload=
"false"
:limit=
"1"
:on-change=
"handleChange"
:before-upload=
"beforeUpload"
>
<el-button
icon=
"el-icon-upload"
type=
"primary"
>
上传
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
文件大小不超过20MB
</div>
</el-upload>
</el-form-item>
<el-form-item
label=
"附件:"
prop=
"noticeFileUrl"
>
<el-upload
action=
""
:file-list=
"fileList"
multiple
:auto-upload=
"false"
:limit=
"1"
:on-change=
"handleChange"
:before-upload=
"beforeUpload"
>
<el-button
icon=
"el-icon-upload"
type=
"primary"
>
上传
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
文件大小不超过20MB
</div>
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-form>
...
...
@@ -32,9 +32,8 @@
</
template
>
<
script
>
import
'@/styles/package/theme/index.scss'
import
{
addSysNotice
}
from
"@/api/notice.js"
import
{
upload
}
from
"@/api/system.js"
import
{
addSysNotice
}
from
"@/api/notice.js"
import
{
upload
}
from
"@/api/system.js"
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
...
...
@@ -60,32 +59,33 @@ export default {
methods
:
{
submitForm
()
{
let
that
=
this
;
that
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
addSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
$emit
(
"input"
,
false
);
this
.
$parent
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
)
}})
let
that
=
this
;
that
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
addSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
$emit
(
"input"
,
false
);
this
.
$parent
.
queryClick
();
}
else
{
// console.log('error submit!!');
return
false
;
this
.
$message
.
error
(
res
.
message
)
}
});
})
}
else
{
// console.log('error submit!!');
return
false
;
}
});
},
//关闭窗口
closeDialog
()
{
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
resetRuleForm
();
},
//
resetRuleForm
()
{
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
ruleForm
.
noticeType
=
'1'
resetRuleForm
()
{
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
ruleForm
.
noticeType
=
'1'
},
beforeUpload
(
file
)
{
return
true
...
...
@@ -94,12 +94,12 @@ export default {
var
formdata
=
new
FormData
();
formdata
.
append
(
"file"
,
file
.
raw
);
upload
(
formdata
).
then
(
res
=>
{
this
.
ruleForm
.
noticeFileUrl
=
res
.
message
this
.
ruleForm
.
noticeFileUrl
=
res
.
message
})
},
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
</
style
>
\ No newline at end of file
...
...
src/views/system/xttz/components/viewDialog.vue
View file @
37b859d
<
template
>
<div>
<el-row
:gutter=
"8"
>
<el-col
:span=
"16"
>
通知标题:
<el-input
v-model=
"formData.item.noticeTitle"
></el-input>
</el-col>
<el-col
:span=
"16"
>
通知标题:
<el-input
v-model=
"formData.item.noticeTitle"
></el-input>
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
通知内容:
<el-input
type=
"textarea"
:rows=
"20"
v-model=
"formData.item.noticeContent"
></el-input>
</el-col>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
通知内容:
<el-input
type=
"textarea"
:rows=
"20"
v-model=
"formData.item.noticeContent"
></el-input>
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
附件:
<div
@
click=
"handleView(formData.item.noticeFileUrl)"
class=
"pointer"
>
{{
formData
.
item
.
noticeFileName
}}
</div>
</el-col>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
附件:
<div
@
click=
"handleView(formData.item.noticeFileUrl)"
class=
"pointer"
>
{{
formData
.
item
.
noticeFileName
}}
</div>
</el-col>
</el-row>
</div>
</
template
>
...
...
@@ -26,28 +26,27 @@ export default {
return
{
};
},
components
:
{
},
components
:
{},
props
:
{
formData
:
{
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{
}
},
},
created
()
{
console
.
log
(
this
.
formData
);
created
()
{
console
.
log
(
this
.
formData
);
},
computed
:
{
},
methods
:
{
},
};
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
.margin-top-middle
{
margin-top
:
10px
margin-top
:
10px
}
</
style
>
\ No newline at end of file
...
...
src/views/system/xttz/xttz.vue
View file @
37b859d
...
...
@@ -32,18 +32,18 @@
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
<addDialog
ref=
"addDialog"
v-model=
"isDialog"
/>
</div>
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./xttzdata"
;
import
{
getSysNoticeList
,
deleteSysNotice
,
publishNotice
,
unPublishNotice
}
from
"@/api/notice.js"
import
{
getSysNoticeList
,
deleteSysNotice
,
publishNotice
,
unPublishNotice
}
from
"@/api/notice.js"
import
addDialog
from
"./components/addDialog.vue"
;
export
default
{
name
:
"xttz"
,
components
:
{
addDialog
},
components
:
{
addDialog
},
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
...
...
@@ -54,12 +54,12 @@ export default {
isDialog
:
false
,
viewDialog
:
false
,
ruleForm
:
{
noticeTitle
:
''
,
noticeStatus
:
''
noticeTitle
:
''
,
noticeStatus
:
''
},
noticeStatusList
:
[
{
"label"
:
'未发布'
,
'value'
:
'1'
},
{
'label'
:
'已发布'
,
'value'
:
'2'
}
{
"label"
:
'未发布'
,
'value'
:
'1'
},
{
'label'
:
'已发布'
,
'value'
:
'2'
}
],
tableData
:
{
total
:
0
,
...
...
@@ -83,11 +83,11 @@ export default {
})
},
//打开新增弹窗
openDialog
()
{
openDialog
()
{
this
.
isDialog
=
true
;
},
//删除
delNotice
(
item
){
delNotice
(
item
)
{
this
.
$confirm
(
'是否确定删除'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -95,10 +95,10 @@ export default {
}).
then
(()
=>
{
deleteSysNotice
({
"bsmNotice"
:
item
.
bsmNotice
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
queryClick
();
this
.
$message
.
success
(
'删除成功'
)
this
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
)
this
.
$message
.
error
(
res
.
message
)
}
})
}).
catch
(()
=>
{
...
...
@@ -109,7 +109,7 @@ export default {
});
},
//发布
toPublish
(
item
)
{
toPublish
(
item
)
{
this
.
$confirm
(
'是否确定发布'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -117,10 +117,10 @@ export default {
}).
then
(()
=>
{
publishNotice
({
"bsmNotice"
:
item
.
bsmNotice
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'发布成功'
)
this
.
queryClick
();
this
.
$message
.
success
(
'发布成功'
)
this
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
)
this
.
$message
.
error
(
res
.
message
)
}
})
}).
catch
(()
=>
{
...
...
@@ -131,7 +131,7 @@ export default {
});
},
//取消发布
toUnPublish
(
item
)
{
toUnPublish
(
item
)
{
this
.
$confirm
(
'是否确定取消发布'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -139,10 +139,10 @@ export default {
}).
then
(()
=>
{
unPublishNotice
({
"bsmNotice"
:
item
.
bsmNotice
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
queryClick
();
this
.
$message
.
success
(
'删除成功'
)
this
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
)
this
.
$message
.
error
(
res
.
message
)
}
})
}).
catch
(()
=>
{
...
...
@@ -152,16 +152,16 @@ export default {
});
});
},
downloadFile
(
item
)
{
downloadFile
(
item
)
{
const
href
=
item
.
noticeFileUrl
window
.
open
(
href
,
'_blank'
);
},
viewDetail
(
e
)
{
viewDetail
(
e
)
{
this
.
$popup
(
"错误日志"
,
"system/xttz/components/viewDialog"
,
{
formData
:
{
item
:
e
}
})
formData
:
{
item
:
e
}
})
}
},
};
...
...
src/views/ywbl/components/mixin/index.js
View file @
37b859d
...
...
@@ -11,8 +11,9 @@ export default {
this
.
isSearch
=
true
},
getSearch
(
val
)
{
console
.
log
(
val
,
222222222222
);
if
(
!
val
)
return
this
.
otherForm
=
val
this
.
queryClick
()
let
obj
=
{
ywlymc
:
'业务来源'
,
qllxmc
:
'权利类型'
,
djlxmc
:
'登记类型'
,
ywh
:
'业务号'
,
sqywmc
:
'申请业务名称'
,
qlrmc
:
'权利人'
,
ywrmc
:
'义务人'
,
slsj
:
'受理时间'
}
this
.
searchList
=
Object
.
entries
({
...
this
.
searchForm
,
...
val
}).
map
((
item
)
=>
{
const
[
name
,
value
]
=
item
...
...
src/views/ywbl/components/search.vue
View file @
37b859d
...
...
@@ -70,8 +70,7 @@ export default {
this
.
$refs
[
'ruleForm'
].
resetFields
()
},
submitForm
()
{
this
.
$emit
(
'getSearch'
,
this
.
ruleForm
)
console
.
log
(
this
.
ruleForm
);
this
.
$emit
(
'getSearch'
,
_
.
cloneDeep
(
this
.
ruleForm
))
this
.
$emit
(
'input'
,
false
)
this
.
$refs
[
'ruleForm'
].
resetFields
()
}
...
...
src/views/ywbl/dbx/dbx.vue
View file @
37b859d
...
...
@@ -126,7 +126,7 @@ export default {
queryClick
()
{
this
.
$startLoading
()
this
.
searchForm
.
ywh
=
this
.
queryForm
.
ywh
this
.
getSearch
()
console
.
log
(
this
.
otherForm
);
searchTaskToDo
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
this
.
$endLoading
()
if
(
res
.
code
===
200
)
{
...
...
Please
register
or
sign in
to post a comment