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
51f28d83
Commit
51f28d83
authored
Jul 13, 2023
by
wei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ll
parent
962395a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
src/views/riskProject/add/addInherent.vue
src/views/riskProject/add/addInherent.vue
+1
-1
src/views/riskProject/add/addPresent.vue
src/views/riskProject/add/addPresent.vue
+13
-13
No files found.
src/views/riskProject/add/addInherent.vue
View file @
51f28d83
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
readonly
readonly
required
required
name=
"projectId"
name=
"projectId"
:value=
"form.project
Name
"
:value=
"form.project
Id
"
label=
"所属项目"
label=
"所属项目"
placeholder=
"请输入"
placeholder=
"请输入"
/>
/>
...
...
src/views/riskProject/add/addPresent.vue
View file @
51f28d83
...
@@ -627,24 +627,24 @@ export default {
...
@@ -627,24 +627,24 @@ export default {
this
.
form
.
projectId
=
"
测试项目
"
;
this
.
form
.
projectId
=
"
测试项目
"
;
},
},
mounted
()
{
mounted
()
{
this
.
getFloor
();
//
this.getFloor();
this
.
getFXYS
();
this
.
getFXYS
();
this
.
getZSGLX
();
this
.
getZSGLX
();
},
},
methods
:
{
methods
:
{
getFloor
()
{
//
getFloor() {
getFun
(
`/risk/plan/floor/list/
${
this
.
form
.
buildingIds
}
`
)
//
getFun(`/risk/plan/floor/list/${this.form.buildingIds}`)
.
then
(
res
=>
{
//
.then(res => {
// this.$toast.clear();
//
// this.$toast.clear();
// this.showSource = true;
//
// this.showSource = true;
let
newArr
=
this
.
renameKeyInTree
(
res
.
data
,
"
name
"
,
"
text
"
);
//
let newArr = this.renameKeyInTree(res.data, "name", "text");
this
.
floorSource
=
newArr
;
//
this.floorSource = newArr;
})
//
})
.
catch
(()
=>
{
//
.catch(() => {
this
.
$toast
.
fail
(
"
加载失败,请稍后再试
"
);
//
this.$toast.fail("加载失败,请稍后再试");
});
//
});
},
//
},
getFXYS
()
{
getFXYS
()
{
getFun
(
`/risk/plan/dict/data/list?dictType=risk_plan_factor`
)
getFun
(
`/risk/plan/dict/data/list?dictType=risk_plan_factor`
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
...
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