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
472fad99
Commit
472fad99
authored
Nov 22, 2021
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三生三世
parent
12c183b4
Pipeline
#7243
passed with stage
in 11 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
15 deletions
+40
-15
src/views/checked/problem/note/edit/index.vue
src/views/checked/problem/note/edit/index.vue
+0
-2
src/views/checkedConfirm/confirmNote/index.vue
src/views/checkedConfirm/confirmNote/index.vue
+1
-1
src/views/notice/noticeList/detail/index.vue
src/views/notice/noticeList/detail/index.vue
+16
-2
src/views/notice/noticeList/edit/index.vue
src/views/notice/noticeList/edit/index.vue
+22
-9
src/views/notice/noticeList/index.vue
src/views/notice/noticeList/index.vue
+1
-1
No files found.
src/views/checked/problem/note/edit/index.vue
View file @
472fad99
...
...
@@ -95,7 +95,6 @@ export default {
mounted
()
{
if
(
this
.
$route
.
query
.
name
==
'
note
'
){
this
.
editObj
=
JSON
.
parse
(
this
.
$route
.
query
.
obj
)
console
.
log
()
var
pictures
=
[]
var
videos
=
[]
this
.
editObj
.
pictures
.
forEach
((
item
)
=>
{
...
...
@@ -114,7 +113,6 @@ export default {
pictures
:
pictures
,
//图片
videos
:
videos
//视频
}
console
.
log
(
this
.
editObj
)
this
.
ids
=
this
.
editObj
.
deptIds
}
this
.
init
()
...
...
src/views/checkedConfirm/confirmNote/index.vue
View file @
472fad99
...
...
@@ -96,6 +96,7 @@ export default {
if
(
sessionStorage
.
getItem
(
'
ConfirmFinish
'
)){
this
.
finish
=
sessionStorage
.
getItem
(
'
ConfirmFinish
'
)
}
this
.
problem
()
}
//判断是否从电子签名跳转过来-获取图片是否显示的布尔值
if
(
this
.
$route
.
query
.
name
==
'
callbackSign
'
){
...
...
@@ -108,7 +109,6 @@ export default {
}
}
}
this
.
problem
()
},
mounted
()
{
//刷新页面时候,从session中获取确认id
...
...
src/views/notice/noticeList/detail/index.vue
View file @
472fad99
...
...
@@ -13,7 +13,7 @@
<LHeader
v-bind:text=
"text"
></LHeader>
<div
class=
"card"
>
<div>
问题位置:
{{
list
.
address
}}
</div>
<div>
责任单位:
{{
list
.
deptNames
.
join
(
'
/
'
)
}}
</div>
<div>
责任单位:
{{
list
.
deptNames
}}
</div>
<div>
问题描述:
{{
list
.
context
}}
</div>
<div>
法律依据:
{{
list
.
checkBasis
}}
</div>
<div>
图片展示:
<van-uploader
multiple
:deletable=
"false"
:show-upload=
"false"
v-model=
"list.pictures"
/></div>
...
...
@@ -49,7 +49,21 @@ export default {
init
(){
this
.
list
=
{}
getFun
(
'
check/notify/trouble/
'
+
this
.
id
).
then
((
Response
)
=>
{
this
.
list
=
Response
.
data
this
.
list
=
JSON
.
parse
(
JSON
.
stringify
(
Response
.
data
))
//数据处理
this
.
list
.
deptNames
=
this
.
list
.
deptNames
.
join
(
'
/
'
)
this
.
list
.
pictures
=
[]
this
.
list
.
videos
=
[]
Response
.
data
.
pictures
.
forEach
((
item
)
=>
{
this
.
list
.
pictures
.
push
({
url
:
item
})
});
Response
.
data
.
videos
.
forEach
((
item
)
=>
{
this
.
list
.
videos
.
push
({
url
:
item
})
});
})
}
}
...
...
src/views/notice/noticeList/edit/index.vue
View file @
472fad99
...
...
@@ -21,10 +21,10 @@
/>
<van-field
v-model=
"editObj.checkBasis"
name=
"
法律
依据"
label=
"
法律
依据"
placeholder=
"
法律
依据"
:
rules=
"[
{ required: true, message: '请填写法律依据' }]
"
name=
"
判定
依据"
label=
"
判定
依据"
placeholder=
"
判定
依据"
:
disabled=
"true
"
/>
<van-field
v-model=
"editObj.address"
...
...
@@ -96,14 +96,22 @@ export default {
if
(
this
.
$route
.
query
.
name
==
'
noticeList
'
){
this
.
editObj
=
JSON
.
parse
(
this
.
$route
.
query
.
obj
)
var
pictures
=
[]
var
videos
=
[]
this
.
editObj
.
pictures
.
forEach
((
item
)
=>
{
pictures
.
push
({
url
:
item
})
})
this
.
editObj
.
videos
.
forEach
((
item
)
=>
{
videos
.
push
({
url
:
item
})
})
this
.
editObj
=
{
id
:
this
.
editObj
.
id
,
//问题ID
address
:
this
.
editObj
.
address
,
//问题位置
value
:
this
.
editObj
.
deptNames
.
join
(
'
/
'
),
//责任单位
context
:
this
.
editObj
.
context
,
//问题描述
checkBasis
:
this
.
editObj
.
checkBasis
,
//法律依据
pictures
:
this
.
editObj
.
pictures
,
//图片
videos
:
this
.
editObj
.
videos
//视频
pictures
:
pictures
,
//图片
videos
:
videos
//视频
}
this
.
ids
=
this
.
editObj
.
deptIds
...
...
@@ -138,16 +146,20 @@ export default {
/* 问题提交 */
onSubmit
(
value
){
var
pictures
=
[];
console
.
log
(
value
)
value
.
uploader
.
forEach
((
item
)
=>
{
if
(
item
.
content
){
pictures
.
push
(
item
.
content
)}
else
if
(
item
){
pictures
.
push
(
item
)}
else
if
(
item
.
url
){
pictures
.
push
(
item
.
url
)}
});
var
videos
=
[];
value
.
uploader2
.
forEach
((
item
)
=>
{
if
(
item
.
content
){
videos
.
push
(
item
.
content
)}
else
if
(
item
){
videos
.
push
(
item
)}
else
if
(
item
.
url
){
videos
.
push
(
item
.
url
)}
});
if
(
this
.
editObj
.
videos
){
this
.
editObj
.
videos
.
forEach
((
item
)
=>
{
videos
.
push
(
item
.
url
)
})
}
var
obj
=
{
id
:
this
.
editObj
.
id
,
//列表ID
pictures
:
pictures
,
//图片
...
...
@@ -157,6 +169,7 @@ export default {
context
:
value
[
'
问题描述
'
],
//问题描述
checkBasis
:
value
[
'
法律依据
'
]
//法律依据
}
console
.
log
(
obj
)
this
.
$dialog
.
confirm
({
title
:
'
提示
'
,
message
:
'
确定提交检查问题?
'
,
...
...
src/views/notice/noticeList/index.vue
View file @
472fad99
...
...
@@ -60,7 +60,7 @@
<van-checkbox
:name=
"item.id"
:disabled=
"finish=='true'?true:item.checkSubmitId?true:false"
>
问题
{{
index
+
1
}}
</van-checkbox>
<div
@
click=
"cardClick(item)"
>
<div>
负责人姓名:
{{
item
.
realName
}}
</div>
<
div>
问题名称:
{{
item
.
title
}}
</div
>
<
!--
<div>
问题名称:
{{
item
.
title
}}
</div>
--
>
<div>
问题位置:
{{
item
.
address
}}
</div>
<div>
问题内容:
{{
item
.
context
}}
</div>
<div>
发现时间:
{{
item
.
checkTime
}}
</div>
...
...
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