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
e745c30f
Commit
e745c30f
authored
Aug 07, 2023
by
p-wanping.song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改准事故类型等显示数据有问题
parent
f2e0b7c6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
10 deletions
+20
-10
src/views/riskProject/add/addCurrent.vue
src/views/riskProject/add/addCurrent.vue
+2
-0
src/views/riskProject/add/addProject.vue
src/views/riskProject/add/addProject.vue
+4
-1
src/views/riskProject/add/index.vue
src/views/riskProject/add/index.vue
+9
-3
vue.config.js
vue.config.js
+5
-6
No files found.
src/views/riskProject/add/addCurrent.vue
View file @
e745c30f
...
...
@@ -802,6 +802,7 @@
:style=
"{ height: '100%' }"
>
<selectList
v-if=
"showCheckSelect"
:listdata=
"columnsCheckData"
@
closeSlect=
"showCheckSelect = false"
@
saveSlect=
"saveCheckSelect"
...
...
@@ -1209,6 +1210,7 @@ export default {
this
.
columnsCheckData
=
res
.
data
;
this
.
showCheckSelect
=
true
;
}
console
.
log
(
this
.
showSelect
);
})
.
catch
(()
=>
{
this
.
$toast
.
fail
(
"
加载失败,请稍后再试
"
);
...
...
src/views/riskProject/add/addProject.vue
View file @
e745c30f
...
...
@@ -368,7 +368,10 @@ export default {
this
.
form
.
projectId
=
this
.
projectId
;
}
postFun
(
this
.
initData
[
this
.
type
].
fetchUrl
,
this
.
form
)
.
then
(()
=>
{
.
then
((
res
)
=>
{
if
(
this
.
type
===
'
project
'
){
this
.
form
.
projectId
=
res
.
data
}
setTimeout
(()
=>
{
this
.
loadingStatus
=
false
;
this
.
$toast
(
"
保存成功
"
);
...
...
src/views/riskProject/add/index.vue
View file @
e745c30f
...
...
@@ -337,7 +337,7 @@ export default {
return
{
createComponentData
:
{
visible
:
false
,
type
:
""
,
type
:
""
,
//project||building
close
:
this
.
projectComponentClose
,
confirm
:
this
.
projectComponentConfirm
},
...
...
@@ -441,8 +441,14 @@ export default {
this
.
createComponentData
.
type
=
""
;
},
projectComponentConfirm
(
data
)
{
// this.createComponentData.visible = false;
// this.createComponentData.type = '';
// 如果是关联项目添加对应的项目名称和项目id
if
(
this
.
createComponentData
.
type
===
'
project
'
){
this
.
form
.
projectName
=
data
.
name
this
.
form
.
projectId
=
data
.
projectId
this
.
form
.
buildingNames
=
''
this
.
form
.
buildingIds
=
''
}
this
.
createComponentData
.
close
()
},
getDetail
(
id
)
{
this
.
$toast
.
loading
({
...
...
vue.config.js
View file @
e745c30f
...
...
@@ -12,16 +12,15 @@ module.exports = {
target
:
"
http://192.168.4.232:8080/
"
,
//这里是后台的地址
// target: "http://192.168.10.137:8080/", //这里是后台的地址
// target: 'http://192.168.15.124:8080/', //这里是杨帆的地址
// target: 'http://192.168.10.137:8080/', //这里是昊哥的地址
// target: 'http://192.168.10.36:8080/', //这里是昊哥的地址
// target: "http://192.168.10.137:8080/", //这里是昊哥的地址
// target: 'http://localhost:8081/', //这里是后台的地址
ws
:
true
,
changOrigin
:
true
//允许跨域
changOrigin
:
true
,
//允许跨域
// logLevel: 'debug', // 显示代理调试信息
// pathRewrite: {
// '^/app-api': '' //请求的时候使用这个api就可以
// }
}
}
,
// '/ps_ceninss': {
// target: 'http://192.168.3.80:8080', //这里是后台的地址
// ws: true,
...
...
@@ -30,6 +29,6 @@ module.exports = {
// '^/ps_ceninss': 'ps_ceninss' //请求的时候使用这个api就可以
// }
// }
}
}
}
,
}
,
};
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