Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1f8226f9
authored
2022-09-14 17:00:10 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
a32e5e4b
feddca71
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
66 deletions
src/views/system/sqywgz/components/clgzsd.vue
src/views/system/sqywgz/components/djqxsd.vue
src/views/system/sqywgz/components/editDialog.vue
src/views/ywbl/fqsq/fqsq.vue
src/views/ywbl/ywsq/components/fqsqDialog/fqsqDialog.vue
src/views/system/sqywgz/components/clgzsd.vue
View file @
1f8226f
...
...
@@ -190,6 +190,7 @@ export default {
sfggcl
:
'1'
}
)
this
.
key
++
},
handleSelectGgcl
(
item
)
{
if
(
item
.
sfggcl
==
'1'
)
{
...
...
src/views/system/sqywgz/components/djqxsd.vue
View file @
1f8226f
...
...
@@ -72,13 +72,8 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"登记情形编码"
v
-
show
=
{
scope
.
row
.
nodecodeShow
}
v
-
fo
class
=
{{
repeat
:
scope
.
row
.
repeat
}}
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
nodecodeShow
=
true
;
}}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
onBlur
=
{()
=>
{
this
.
nodecodeBlur
(
scope
.
$index
,
scope
.
row
)
}}
maxlength
=
"8"
>
<
/el-input
>
<
el
-
input
placeholder
=
"登记情形编码"
v
-
show
=
{
!
scope
.
row
.
nodecodeShow
}
class
=
{{
repeat
:
scope
.
row
.
repeat
}}
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
nodecodeShow
=
true
;
}}
<
el
-
input
placeholder
=
"登记情形编码"
class
=
{{
repeat
:
scope
.
row
.
repeat
}}
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
onBlur
=
{()
=>
{
this
.
nodecodeBlur
(
scope
.
$index
,
scope
.
row
)
}}
maxlength
=
"8"
>
<
/el-input
>
<
/div
>
...
...
@@ -91,11 +86,8 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"登记情形名称"
v
-
show
=
{
scope
.
row
.
nodenameShow
}
v
-
fo
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
nodenameShow
=
true
;
}}
><
/el-input
>
<
el
-
input
placeholder
=
"登记情形名称"
v
-
show
=
{
!
scope
.
row
.
nodenameShow
}
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
nodenameShow
=
true
;
}}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
<
el
-
input
placeholder
=
"登记情形名称"
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
/div
>
)
...
...
@@ -119,12 +111,8 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
input
placeholder
=
"登记原因模板"
v
-
show
=
{
scope
.
row
.
djyyShow
}
v
-
fo
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
djyyShow
=
true
;
}}
><
/el-input
>
<
el
-
input
placeholder
=
"登记原因模板"
v
-
show
=
{
!
scope
.
row
.
djyyShow
}
v
-
fo
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
onFocus
=
{()
=>
{
this
.
itemShowFalse
();
scope
.
row
.
djyyShow
=
true
;
}}
><
/el-input
>
<
el
-
input
placeholder
=
"登记原因模板"
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
<
/div
>
)
...
...
@@ -193,60 +181,25 @@ export default {
// 添加索引
addIndexes
(
data
=
this
.
tableData
,
isAdd
=
true
)
{
data
.
forEach
((
item
,
index
)
=>
{
if
(
index
==
0
)
{
item
.
nodecodeShow
=
true
item
.
nodenameShow
=
false
item
.
djyyShow
=
false
}
else
{
item
.
nodecodeShow
=
false
item
.
nodenameShow
=
false
item
.
djyyShow
=
false
}
if
(
isAdd
)
{
item
.
index
=
index
+
1
}
})
},
itemShowFalse
()
{
this
.
tableData
.
length
>
0
&&
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
.
nodecodeShow
=
true
item
.
nodenameShow
=
false
item
.
djyyShow
=
false
})
},
handleAdd
()
{
this
.
$nextTick
(()
=>
{
let
container
=
this
.
$el
.
querySelector
(
'.el-table__body-wrapper'
);
container
.
scrollTop
=
container
.
scrollHeight
;
})
if
(
this
.
djqx
.
length
>
0
)
{
let
code
=
this
.
tableData
.
slice
(
-
1
)[
0
].
nodecode
let
codeQ
=
code
.
slice
(
0
,
6
)
let
len
=
''
if
(
this
.
tableData
.
length
+
1
<
9
)
{
len
=
0
+
String
(
this
.
tableData
.
length
+
1
)
}
else
{
len
=
this
.
tableData
.
length
+
1
}
this
.
tableData
.
push
(
{
nodecode
:
codeQ
+
len
,
nodecode
:
''
,
nodename
:
''
,
enabled
:
'1'
,
djyy
:
''
,
sfqydjyymb
:
'0'
}
)
}
else
{
this
.
tableData
.
push
(
{
nodename
:
''
,
enabled
:
'1'
,
djyy
:
''
,
sfqydjyymb
:
'0'
}
)
}
this
.
addIndexes
()
this
.
key
++
},
...
...
src/views/system/sqywgz/components/editDialog.vue
View file @
1f8226f
...
...
@@ -240,13 +240,13 @@ export default {
this
.
getSqdjywDetail
(
obj
.
bsmSqyw
)
},
getDjqxValue
(
val
)
{
if
(
_
.
isEqual
(
val
.
djqx
,
this
.
subData
.
djqx
))
{
if
(
!
_
.
isEqual
(
val
.
djqx
,
this
.
subData
.
djqx
))
{
this
.
subData
.
djqx
=
val
.
djqx
this
.
btnDisabled
=
val
.
btnDisabled
}
},
getClgzValue
(
val
)
{
if
(
_
.
isEqual
(
val
,
this
.
subData
.
clxx
))
{
if
(
!
_
.
isEqual
(
val
,
this
.
subData
.
clxx
))
{
this
.
subData
.
clxx
=
val
}
},
...
...
src/views/ywbl/fqsq/fqsq.vue
View file @
1f8226f
...
...
@@ -270,7 +270,7 @@ export default {
@include
flex;
width
:
100%
;
height
:
80px
;
background-color
:
#
10CCB8
;
background-color
:
#
3498DB
;
color
:
#ffffff
;
justify-content
:
space-between
;
padding-left
:
15px
;
...
...
@@ -294,11 +294,11 @@ export default {
li
:hover
{
border
:
1px
solid
#ffffff
;
border-radius
:
5px
;
color
:
$
light-blue
;
//
color
:
$
light-blue
;
.svg-icon
{
color
:
$
light-blue
;
//
color
:
$
light-blue
;
}
}
}
...
...
src/views/ywbl/ywsq/components/fqsqDialog/fqsqDialog.vue
View file @
1f8226f
...
...
@@ -4,13 +4,13 @@
</dialogBox>
</
template
>
<
script
>
import
{
queueDjywmc
}
from
'./fqsqdata.js'
;
import
{
queueDjywmc
}
from
'./fqsqdata.js'
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
true
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
djywbm
:
{
type
:
String
,
default
:
''
},
djqxObj
:
{
type
:
Object
,
default
:
''
}
djqxObj
:
{
type
:
Object
,
default
:
''
}
},
data
()
{
return
{
...
...
@@ -23,9 +23,7 @@ export default {
this
.
myValue
=
val
},
djywbm
(
val
)
{
//let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' };
// this.editItem = this.loadView(itemObj[val]);
let
dd
=
queueDjywmc
(
val
);
let
dd
=
queueDjywmc
(
val
);
this
.
editItem
=
this
.
loadView
(
dd
);
},
},
...
...
@@ -37,13 +35,13 @@ export default {
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
}
},
}
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
/
deep
/
.submit_button
{
text-align
:
center
;
padding
:
10px
;
...
...
Please
register
or
sign in
to post a comment