Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-APP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
首开风险隐患双控平台
BCDH-APP
Commits
9773cbf3
Commit
9773cbf3
authored
Oct 29, 2021
by
王李辉
Browse files
Options
Browse Files
Download
Plain Diff
风险上报
parents
d77f16b3
81c7a69f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
17 deletions
+35
-17
src/service/risk.js
src/service/risk.js
+10
-1
src/views/checked/problem/list/index.vue
src/views/checked/problem/list/index.vue
+3
-8
src/views/notice/noticeList/index.vue
src/views/notice/noticeList/index.vue
+7
-3
src/views/notice/noticeList/sign/index.vue
src/views/notice/noticeList/sign/index.vue
+13
-2
src/views/risk/riskAccount/riskBigDetail.vue
src/views/risk/riskAccount/riskBigDetail.vue
+2
-2
src/views/risk/riskAdd/index.vue
src/views/risk/riskAdd/index.vue
+0
-1
No files found.
src/service/risk.js
View file @
9773cbf3
...
...
@@ -106,7 +106,16 @@ export function postriskBook(url,data) {
}
// 风险详情
export
function
riskDetail
(
url
,
data
)
{
export
function
postriskDetail
(
url
,
data
)
{
return
request
({
url
:
url
,
method
:
'
post
'
,
data
})
}
// 风险详情
export
function
postRiskShowMeasures
(
url
,
data
)
{
return
request
({
url
:
url
,
method
:
'
post
'
,
...
...
src/views/checked/problem/list/index.vue
View file @
9773cbf3
...
...
@@ -124,7 +124,6 @@ export default {
init
(){
getFun
(
'
check/dept/tree
'
).
then
((
Response
)
=>
{
this
.
columns
=
Response
.
data
console
.
log
(
this
.
columns
)
})
},
/* 下拉框文本溢出动画效果 */
...
...
@@ -147,7 +146,6 @@ export default {
},
/* 问题提交 */
onSubmit
(
value
){
console
.
log
(
value
)
var
pictures
=
[];
value
.
uploader
.
forEach
((
item
)
=>
{
pictures
.
push
(
item
.
content
)
...
...
@@ -203,15 +201,12 @@ export default {
//获取回显的部门值和部门id数组
this
.
value
=
""
this
.
ids
=
[]
var
valueList
=
this
.
$refs
.
apicker
.
get
Index
es
()
var
valueList
=
this
.
$refs
.
apicker
.
get
Valu
es
()
valueList
.
forEach
((
item
)
=>
{
console
.
log
(
item
)
this
.
ids
.
push
(
item
.
id
)
this
.
value
+=
item
.
text
this
.
value
+=
item
.
text
+
'
/
'
})
console
.
log
(
this
.
ids
)
console
.
log
(
this
.
value
)
// this.value = v
// this.valueId=v.value
this
.
showPicker
=
false
;
}
}
...
...
src/views/notice/noticeList/index.vue
View file @
9773cbf3
...
...
@@ -107,13 +107,17 @@ export default {
this
.
init
()
//从session中获取签名生成的图片
if
(
sessionStorage
.
getItem
(
'
resultImg
'
)){
console
.
log
(
sessionStorage
.
getItem
(
'
resultImg
'
))
this
.
resultImg
=
sessionStorage
.
getItem
(
'
resultImg
'
)
}
//获取图片是否显示的布尔值
if
(
this
.
$route
.
query
.
isImg
){
console
.
log
(
this
.
$route
.
query
)
this
.
istext
=
false
this
.
isImg
=
true
this
.
active
=
1
this
.
value
=
this
.
$route
.
query
.
value
this
.
checkedAll
=
this
.
$route
.
query
.
checkedAll
this
.
result
=
this
.
$route
.
query
.
result
}
},
methods
:
{
...
...
@@ -178,7 +182,6 @@ export default {
/* 时间戳转换 */
onConfirm
(
date
)
{
this
.
value
=
`
${
date
.
getFullYear
()}
-
${
date
.
getMonth
()
+
1
}
-
${
date
.
getDate
()}
`
;
console
.
log
(
this
.
value
)
this
.
showCalendar
=
false
;
},
cancel
(){
...
...
@@ -202,8 +205,9 @@ export default {
},
//电子签名
sign
(){
//点击电子签名,保存用户选择的日期和复选框回显值
if
(
this
.
finish
==
'
false
'
){
this
.
$router
.
push
(
'
/sign
'
)
this
.
$router
.
push
(
{
name
:
'
sign
'
,
query
:{
value
:
this
.
value
,
result
:
this
.
result
,
checkedAll
:
this
.
checkedAll
}}
)
}
},
//提交问题记录
...
...
src/views/notice/noticeList/sign/index.vue
View file @
9773cbf3
...
...
@@ -27,9 +27,19 @@ export default {
lineColor
:
'
red
'
,
bgColor
:
''
,
resultImg
:
''
,
isCrop
:
false
isCrop
:
false
,
value
:
''
,
result
:[],
checkedAll
:
''
};
},
mounted
(){
if
(
this
.
$route
.
name
==
'
sign
'
){
this
.
value
=
this
.
$route
.
query
.
value
this
.
result
=
this
.
$route
.
query
.
result
this
.
checkedAll
=
this
.
$route
.
query
.
checkedAll
}
},
methods
:
{
handleReset
()
{
...
...
@@ -41,7 +51,8 @@ export default {
this
.
$refs
.
esign
.
generate
().
then
(
res
=>
{
this
.
resultImg
=
res
//把base64赋给img
//生成图片后存储到session中并跳转把图片是否显示的boolean带过去
this
.
$router
.
push
({
name
:
'
noticeList
'
,
query
:{
isImg
:
true
}})
console
.
log
(
this
.
value
)
this
.
$router
.
push
({
name
:
'
noticeList
'
,
query
:{
isImg
:
true
,
value
:
this
.
value
,
result
:
this
.
result
,
checkedAll
:
this
.
checkedAll
}})
sessionStorage
.
setItem
(
'
resultImg
'
,
this
.
resultImg
)
}).
catch
(
err
=>
{
// 画布没有签字时会执行这里
...
...
src/views/risk/riskAccount/riskBigDetail.vue
View file @
9773cbf3
...
...
@@ -184,7 +184,7 @@
<
script
>
import
LHeader
from
"
@/components/header.vue
"
;
import
{
riskDetail
}
from
"
@/service/risk
"
;
import
{
post
riskDetail
}
from
"
@/service/risk
"
;
export
default
{
components
:
{
...
...
@@ -242,7 +242,7 @@ export default {
loadingType
:
"
spinner
"
,
duration
:
0
});
riskDetail
(
`/riskMain/
riskDetailsApp/
${
this
.
id
}
`
)
postriskDetail
(
`/riskMain/post
riskDetailsApp/
${
this
.
id
}
`
)
.
then
(
res
=>
{
this
.
$toast
.
clear
();
this
.
riskMain
=
res
.
data
.
riskMain
...
...
src/views/risk/riskAdd/index.vue
View file @
9773cbf3
...
...
@@ -365,7 +365,6 @@ export default {
});
let
url
=
"
/riskMain/add
"
if
(
this
.
taskId
){
console
.
log
(
this
.
id
);
formdata
.
append
(
"
id
"
,
this
.
id
);
url
=
`/riskMain/editSave/
${
this
.
taskId
}
`
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment