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
ced81211
Commit
ced81211
authored
Nov 27, 2021
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
解润东 20211127
parent
dddee994
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
10 deletions
+22
-10
src/views/checked/problem/list/index.vue
src/views/checked/problem/list/index.vue
+11
-2
src/views/checked/problem/note/edit/index.vue
src/views/checked/problem/note/edit/index.vue
+2
-1
src/views/checked/problem/note/index.vue
src/views/checked/problem/note/index.vue
+2
-3
src/views/checkedConfirm/confirmNote/index.vue
src/views/checkedConfirm/confirmNote/index.vue
+1
-1
src/views/notice/noticeList/edit/index.vue
src/views/notice/noticeList/edit/index.vue
+2
-1
src/views/notice/noticeList/index.vue
src/views/notice/noticeList/index.vue
+4
-2
No files found.
src/views/checked/problem/list/index.vue
View file @
ced81211
...
...
@@ -26,6 +26,7 @@
placeholder=
"问题描述"
:rules=
"[
{ required: true, message: '请填写问题描述' }]"
:disabled="isFormwork"
@input="numInput"
/>
<van-field
v-if=
"islay"
...
...
@@ -167,7 +168,10 @@ export default {
},
/* 问题提交 */
onSubmit
(
value
){
console
.
log
(
value
)
if
(
value
[
'
问题描述
'
].
length
>
500
){
this
.
$toast
.
fail
(
'
字数过长不得超过500
'
)
return
}
var
pictures
=
[];
value
.
uploader
.
forEach
((
item
)
=>
{
pictures
.
push
(
item
.
content
)
...
...
@@ -187,7 +191,6 @@ export default {
context
:
value
[
'
问题描述
'
],
//问题描述
checkBasis
:
value
[
'
法律依据
'
]
//法律依据
}
console
.
log
(
obj
)
this
.
$dialog
.
confirm
({
title
:
'
提示
'
,
message
:
'
确定提交检查问题?
'
,
...
...
@@ -219,6 +222,12 @@ export default {
})
},
//监听字数
numInput
(
value
){
if
(
value
.
length
>
500
){
this
.
$toast
.
fail
(
'
字数过长不得超过500
'
)
}
},
/* 确认选择级联菜单的回显数据处理 */
onConfirm
(){
//获取回显的部门值和部门id数组
...
...
src/views/checked/problem/note/edit/index.vue
View file @
ced81211
...
...
@@ -111,7 +111,8 @@ export default {
context
:
this
.
editObj
.
context
,
//问题描述
checkBasis
:
this
.
editObj
.
checkBasis
,
//法律依据
pictures
:
pictures
,
//图片
videos
:
videos
//视频
videos
:
videos
,
//视频
deptIds
:
this
.
editObj
.
deptIds
//责任单位IDS
}
this
.
ids
=
this
.
editObj
.
deptIds
}
...
...
src/views/checked/problem/note/index.vue
View file @
ced81211
...
...
@@ -15,7 +15,7 @@
<div
class=
"card"
v-for=
"(item,index) in list"
:key=
"index"
>
<van-overlay
@
click.stop=
"close(item)"
:show=
"item.show"
>
<van-button
round
type=
"primary"
@
click.stop=
"detail(index,item)"
>
详情
</van-button>
<van-button
round
type=
"info"
v-show=
"!item.checkSubmitFlag"
@
click.stop=
"update(index,item)"
>
修改
</van-button>
<van-button
round
type=
"info"
@
click.stop=
"update(index,item)"
>
修改
</van-button>
<van-button
round
type=
"warning "
v-show=
"!item.checkSubmitFlag"
@
click.stop=
"Delete(item)"
>
删除
</van-button>
</van-overlay>
<van-checkbox
:name=
"item.id"
:disabled=
"finish?finish:item.checkSubmitId?true:false"
>
问题
{{
index
+
1
}}
</van-checkbox>
...
...
@@ -170,13 +170,12 @@ export default {
},
//修改卡片值
update
(
index
,
item
){
console
.
log
(
item
)
item
.
show
=
false
//向编辑页面传值做数据回显
var
obj
=
{
id
:
item
.
id
,
//问题ID
address
:
item
.
address
,
//问题位置
deptId
:
item
.
deptIds
,
//责任单位ID
deptId
s
:
item
.
deptIds
,
//责任单位ID
deptNames
:
item
.
deptNames
,
//责任单位名称
context
:
item
.
context
,
//问题描述
checkBasis
:
item
.
checkBasis
,
//法律依据
...
...
src/views/checkedConfirm/confirmNote/index.vue
View file @
ced81211
...
...
@@ -64,7 +64,7 @@ export default {
},
data
()
{
return
{
currentDate
:
new
Date
()
,
//当前默认时间
currentDate
:
''
,
//当前默认时间
istextl
:
true
,
//检查组签字是否显示文字
dialogShow
:
false
,
//弹框是否显示
istext
:
true
,
//是否显示文字
...
...
src/views/notice/noticeList/edit/index.vue
View file @
ced81211
...
...
@@ -111,7 +111,8 @@ export default {
context
:
this
.
editObj
.
context
,
//问题描述
checkBasis
:
this
.
editObj
.
checkBasis
,
//法律依据
pictures
:
pictures
,
//图片
videos
:
videos
//视频
videos
:
videos
,
//视频
deptIds
:
this
.
editObj
.
deptIds
//责任单位IDS
}
this
.
ids
=
this
.
editObj
.
deptIds
...
...
src/views/notice/noticeList/index.vue
View file @
ced81211
...
...
@@ -17,7 +17,7 @@
<div
class=
"card-status"
v-for=
"(item,index) in noticeTableList"
:key=
"index"
>
<van-row>
<van-col
span=
"5"
class=
"card-left"
>
<van-image
round
width=
"1.5rem"
height=
"1.5rem"
src=
"http://192.168.4.157:8096/hse/profile/upload/2021/10/27/8d91706250358ddad8499e3fec21578f.jpg
"
/>
<van-image
round
width=
"1.5rem"
height=
"1.5rem"
:src=
"item.avatar
"
/>
</van-col>
<van-col
span=
"7"
class=
"card-middle"
>
<div>
{{
item
.
realName
}}
</div>
...
...
@@ -418,6 +418,7 @@ export default {
title
:
'
提示
'
,
message
:
'
确定提交检查问题?
'
,
}).
then
(()
=>
{
if
(
checkedList
.
length
==
0
){
this
.
$toast
.
fail
(
'
提交失败,请至少选择一个问题
'
);
return
}
this
.
$toast
.
loading
({
message
:
'
提交中...
'
,
forbidClick
:
true
,
...
...
@@ -452,13 +453,14 @@ export default {
var
obj
=
{
id
:
item
.
id
,
//问题ID
address
:
item
.
address
,
//问题位置
deptId
:
item
.
deptIds
,
//责任单位ID
deptId
s
:
item
.
deptIds
,
//责任单位ID
deptNames
:
item
.
deptNames
,
//责任单位名称数组
context
:
item
.
context
,
//问题描述
checkBasis
:
item
.
checkBasis
,
//法律依据
pictures
:
item
.
pictures
,
//图片
videos
:
item
.
videos
//视频
}
console
.
log
(
obj
)
this
.
$forceUpdate
()
//强制刷新
this
.
$router
.
push
({
name
:
'
noticeListEdit
'
,
query
:{
name
:
'
noticeList
'
,
obj
:
JSON
.
stringify
(
obj
)}})
},
...
...
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