Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-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
融通安全管理系统
rongtong-app
Commits
e1ca3828
Commit
e1ca3828
authored
Jul 08, 2023
by
wei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into dev-lv
parents
357cbd89
046e8203
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
589 additions
and
395 deletions
+589
-395
src/components/selectDept/index.vue
src/components/selectDept/index.vue
+1
-6
src/views/riskProject/add/index.vue
src/views/riskProject/add/index.vue
+17
-5
src/views/riskProject/add/taskList.vue
src/views/riskProject/add/taskList.vue
+251
-72
src/views/riskProject/assess/index.vue
src/views/riskProject/assess/index.vue
+0
-11
src/views/riskProject/assess/riskBigDetail.vue
src/views/riskProject/assess/riskBigDetail.vue
+320
-301
No files found.
src/components/selectDept/index.vue
View file @
e1ca3828
<
template
>
<div
style=
"width:100%"
>
<LHeader
:text=
"text"
></LHeader>
<!-- 搜索 -->
<div
class=
"content-wrap"
>
<!--
<div
class=
"search-wrap"
>
...
...
@@ -70,7 +69,6 @@
</template>
<
script
>
import
LHeader
from
"
@/components/header.vue
"
;
import
{
getFun
,
postFun
}
from
"
@/service/table
"
;
import
{
getUserInfo
}
from
"
@/utils/userInfo
"
;
import
{
debounce
}
from
"
@/utils/common.js
"
;
...
...
@@ -78,9 +76,6 @@ import { Toast } from "vant";
export
default
{
name
:
"
select-people
"
,
components
:
{
LHeader
},
created
()
{
this
.
getInsideUser
(
getUserInfo
().
secondaryUnit
);
},
...
...
@@ -106,7 +101,7 @@ export default {
this
.
resultName
=
this
.
allDeptList
.
find
(
item
=>
item
.
deptId
==
this
.
result
).
deptName
;
this
.
$emit
(
"
changeDept
"
,
this
.
result
);
this
.
$emit
(
"
changeDept
"
,
this
.
result
,
this
.
resultName
);
},
// 查询内部人员
getInsideUser
(
id
,
val
)
{
...
...
src/views/riskProject/add/index.vue
View file @
e1ca3828
...
...
@@ -86,8 +86,8 @@
<van-field
required
clickable
name=
"dept
Id
"
:value=
"form.dept
Id
"
name=
"dept
Name
"
:value=
"form.dept
Name
"
label=
"评估小组选择"
placeholder=
"请选择"
@
click=
"selectDept()"
...
...
@@ -196,6 +196,7 @@
<div
style=
"display:flex;margin-top: 44px;"
>
<van-checkbox-group
v-model=
"riskList"
ref=
"checkboxGroup"
style=
"width: 100%;font-size: 18px;"
>
<van-checkbox
...
...
@@ -207,6 +208,10 @@
>
{{
item
[
filedName
]
}}
</van-checkbox
>
</van-checkbox-group>
<div>
<van-button
type=
"primary"
@
click=
"checkAll"
>
全选
</van-button>
<van-button
type=
"info"
@
click=
"toggleAll"
>
反选
</van-button>
</div>
</div>
</van-popup>
...
...
@@ -361,6 +366,12 @@ export default {
// this.getList();
},
methods
:
{
checkAll
()
{
this
.
$refs
.
checkboxGroup
.
toggleAll
(
true
);
},
toggleAll
()
{
this
.
$refs
.
checkboxGroup
.
toggleAll
();
},
// 确定时间的方法
onConTime
(
date
)
{
console
.
log
(
...
...
@@ -393,7 +404,7 @@ export default {
loadingType
:
"
spinner
"
,
duration
:
0
});
getFun
(
`/risk/plan/user/list/
${
this
.
form
.
projec
tId
}
`
).
then
(
res
=>
{
getFun
(
`/risk/plan/user/list/
${
this
.
form
.
dep
tId
}
`
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
columnsTrouble
=
res
.
data
;
// 对数据进行赋值
...
...
@@ -429,9 +440,10 @@ export default {
selectDept
()
{
this
.
projectDept
=
true
;
},
changeDept
(
id
)
{
changeDept
(
id
,
name
)
{
console
.
log
(
id
);
this
.
form
.
deptId
=
id
;
this
.
form
.
deptName
=
name
;
},
closeDept
()
{
console
.
log
(
this
.
form
.
deptId
);
...
...
@@ -453,7 +465,7 @@ export default {
loadingType
:
"
spinner
"
,
duration
:
0
});
getFun
(
`/risk/plan/user/list/
${
this
.
form
.
projec
tId
}
`
).
then
(
res
=>
{
getFun
(
`/risk/plan/user/list/
${
this
.
form
.
dep
tId
}
`
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
riskModelList
=
res
.
data
;
// 对数据进行赋值
...
...
src/views/riskProject/add/taskList.vue
View file @
e1ca3828
This diff is collapsed.
Click to expand it.
src/views/riskProject/assess/index.vue
View file @
e1ca3828
...
...
@@ -281,17 +281,6 @@ export default {
sessionStorage
.
setItem
(
"
buildingId
"
,
item
.
buildingId
);
this
.
showIndex
=
false
;
},
// 详情
goDetail
(
data
)
{
this
.
$router
.
push
({
name
:
"
riskBigDetail
"
,
params
:
{
id
:
data
.
businessId
||
data
.
id
}
});
this
.
showIndex
=
false
;
},
// 确认
goConfirm
(
data
)
{
this
.
$router
.
push
({
...
...
src/views/riskProject/assess/riskBigDetail.vue
View file @
e1ca3828
This diff is collapsed.
Click to expand it.
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