Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zghywpc-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李苏
zghywpc-vue
Commits
849e87e7
Commit
849e87e7
authored
Sep 10, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
647099e9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
37 deletions
+74
-37
edit.vue
src/views/sbxxgl/sbxx/edit.vue
+21
-13
index.vue
src/views/sbxxgl/sbxx/index.vue
+34
-24
index.vue
src/views/yhlywsytst/yhlywsytst/index.vue
+19
-0
No files found.
src/views/sbxxgl/sbxx/edit.vue
View file @
849e87e7
...
...
@@ -39,20 +39,20 @@
data
()
{
return
{
editColItemList
:
[
{
label
:
'上层分类'
,
prop
:
'pid'
,
span
:
8
,
"type"
:
"RelSelect"
,
"typeConfig"
:
{
"src"
:
"sbgl/usbxx/queryroot"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
//
{
//
label: '上层分类',
//
prop: 'pid',
//
span: 8,
//
"type": "RelSelect",
//
"typeConfig": {
//
"src": "sbgl/usbxx/queryroot",
//
"match": {
//
"value": "id",
//
"label": "name"
//
}
//
}
},
//
},
{
label
:
'设备编码'
,
...
...
@@ -62,6 +62,7 @@
required
:
true
,
},
{
label
:
'设备名称'
,
prop
:
'name'
,
...
...
@@ -84,6 +85,13 @@
}
},
{
label
:
'材质'
,
prop
:
'cz'
,
span
:
8
,
type
:
'input'
,
required
:
true
,
},
{
required
:
false
,
label
:
'风险等级'
,
...
...
src/views/sbxxgl/sbxx/index.vue
View file @
849e87e7
...
...
@@ -8,8 +8,9 @@
</div>
<div
class=
"min_full"
style=
"width: calc(100% - 380px);border-top: 0px;height: 140vh;"
>
<div
style=
"height:477px;width: 100%;"
>
<BasePage
@
getRow=
'getRow'
:power=
'power'
class=
"min_full"
style=
"height: 477px;border: 0px;border-bottom: 5px solid #eee;"
@
delSuccess=
'delSuccess'
:autoQuery=
'false'
ref=
"basePage"
:config=
"config"
>
<BasePage
@
getRow=
'getRow'
:power=
'power'
class=
"min_full"
style=
"height: 477px;border: 0px;border-bottom: 5px solid #eee;"
@
delSuccess=
'delSuccess'
:autoQuery=
'false'
ref=
"basePage"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
</
template
>
...
...
@@ -17,7 +18,7 @@
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
}" :url="'sbgl/usbxx/import'" />
<AttachFileShow
style=
"margin-left: 10px;"
:app=
'ctx.basePage'
></AttachFileShow>
<AttachFileShow
style=
"margin-left: 10px;"
:app=
'ctx.basePage'
></AttachFileShow>
</
template
>
</BasePage>
</div>
...
...
@@ -70,8 +71,7 @@
config
:
{
/* 基本配置*/
url
:
'sbgl/usbxx'
,
tableTitle
:
[
{
tableTitle
:
[{
title
:
"设备编码"
,
field
:
"code"
,
width
:
140
...
...
@@ -96,6 +96,11 @@
"value"
:
"code"
}
},
{
title
:
"材质"
,
field
:
"cz"
,
width
:
140
,
},
{
title
:
"机组编码"
,
field
:
"jzbm"
,
...
...
@@ -139,7 +144,7 @@
{
title
:
"创建人"
,
field
:
"cjr"
,
width
:
120
width
:
120
},
{
title
:
"创建时间"
,
...
...
@@ -150,7 +155,7 @@
title
:
"维护人"
,
field
:
"whr"
,
hidden
:
true
,
width
:
120
width
:
120
},
{
title
:
"维护时间"
,
...
...
@@ -161,15 +166,13 @@
],
queryParams
:
[
[
{
[{
label
:
'设备信息'
,
prop
:
'sbxxInfo'
,
span
:
6
,
type
:
'input'
,
value
:
''
}
]
}]
],
/* 默认启停用 */
showqt
:
false
,
...
...
@@ -179,9 +182,9 @@
},
methods
:
{
getRow
(
row
){
this
.
$refs
.
sbbg
.
$refs
.
basePage
.
queryParams
.
sbxxCode
=
row
.
code
||
'null'
this
.
$refs
.
sbbg
.
$refs
.
basePage
.
refresh
()
getRow
(
row
)
{
//
this.$refs.sbbg.$refs.basePage.queryParams.sbxxCode = row.code||'null'
//
this.$refs.sbbg.$refs.basePage.refresh()
},
delSuccess
(
obj
)
{
/* let id = obj.params.master.id
...
...
@@ -197,12 +200,19 @@
this
.
$refs
.
basePage
.
treeInfo
=
e
this
.
$refs
.
basePage
.
queryParams
.
pid
=
e
.
id
this
.
$refs
.
basePage
.
refresh
()
if
(
e
.
pid
==
'root'
){
this
.
$refs
.
sbbg
.
$refs
.
basePage
.
queryParams
.
sbxxCode
=
e
.
code
||
'null'
this
.
$refs
.
sbbg
.
$refs
.
basePage
.
refresh
()
}
},
},
components
:
{
Edit
,
Sbbg
,
Sblxgx
Edit
,
Sbbg
,
Sblxgx
}
}
...
...
src/views/yhlywsytst/yhlywsytst/index.vue
View file @
849e87e7
...
...
@@ -300,7 +300,26 @@
</div>
</div>
</div>
<!-- 设备流向-->
<div
class=
"sylb"
>
<div
class=
"full data-box1"
style=
"position: relative;"
>
<i
@
click=
"sylbshow=false"
style=
"position: absolute;right: 1px;top: 2px;color: #68D8FE;cursor: pointer;z-index: 999;"
class=
"el-icon-error"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"bottomL"
></i>
<i
class=
"bottomR"
></i>
<div
class=
"data-title1"
>
<b
class=
"data-title-left"
>
[
</b>
<span>
设备流向
</span>
<b
class=
"data-title-right"
>
]
</b>
</div>
<div
class=
"full"
style=
"padding: 10px;;padding-top: 15px;height: calc(100% - 14px);"
>
</div>
</div>
</div>
<!-- 右侧操作边框-->
<!--
<div
class=
"rightOpt"
ref=
"rightOpt"
>
<div
class=
"full padding5"
style=
"height: 100%;"
>
...
...
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