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
7a068263
authored
2022-12-02 15:16:21 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改规则设置
1 parent
7d6e79c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
230 additions
and
0 deletions
src/views/system/sqywgz/sqywDetail.js
src/views/system/sqywgz/sqywDetail.js
0 → 100644
View file @
7a06826
import
filter
from
'@/utils/filter.js'
let
vm
=
null
const
sendThis
=
(
_this
)
=>
{
vm
=
_this
}
class
data
extends
filter
{
constructor
()
{
super
()
}
djqxCol
(){
return
[
{
width
:
'60'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
vm
.
handleAdd
()
}}
style
=
"color:#409EFF"
><
/i
>
},
render
:
(
h
,
scope
)
=>
{
return
(
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
vm
.
handleMinus
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
)
}
},
{
width
:
'60'
,
label
:
'序号'
,
type
:
'index'
},
{
prop
:
'nodecode'
,
width
:
'105'
,
label
:
'登记情形编码'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
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
=
{()
=>
{
vm
.
nodecodeBlur
(
scope
.
$index
,
scope
.
row
)
}}
maxlength
=
"8"
>
<
/el-input
>
<
/div
>
)
}
},
{
prop
:
'nodename'
,
label
:
'登记情形名称'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
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
>
)
}
},
{
label
:
'是否启用登记情形'
,
width
:
'141'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
radio
-
group
v
-
model
=
{
scope
.
row
.
enabled
}
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
>
<
el
-
radio
label
=
{
'1'
}
>
启用
<
/el-radio
>
<
el
-
radio
label
=
{
'0'
}
>
禁用
<
/el-radio
>
<
/el-radio-group
>
)
}
},
{
prop
:
'djyy'
,
label
:
'登记原因模板'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
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
>
)
}
},
{
label
:
'是否启用模板'
,
width
:
'140'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
radio
-
group
v
-
model
=
{
scope
.
row
.
sfqydjyymb
}
disabled
=
{
scope
.
row
.
sftsdjqx
==
'1'
}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
>
<
el
-
radio
label
=
{
'1'
}
>
启用
<
/el-radio
>
<
el
-
radio
label
=
{
'0'
}
>
禁用
<
/el-radio
>
<
/el-radio-group
>
)
}
},
{
label
:
'移动'
,
width
:
'100'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
'text'
disabled
=
{
scope
.
$index
==
0
}
onClick
=
{()
=>
{
vm
.
moveUpward
(
scope
.
$index
,
scope
.
row
,
'djqx'
)
}}
>
上移
<
/el-button
>
<
el
-
button
type
=
'text'
disabled
=
{(
scope
.
$index
+
1
)
==
vm
.
form
.
djqx
.
length
}
onClick
=
{()
=>
{
vm
.
moveDown
(
scope
.
$index
,
scope
.
row
,
'djqx'
)
}}
>
下移
<
/el-button
>
<
/div
>
)
}
}
]
}
clxxCol
(){
return
[
{
width
:
'60'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
vm
.
handleAdd
()
}}
style
=
"color:#409EFF"
><
/i
>
},
render
:
(
h
,
scope
)
=>
{
return
(
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
vm
.
handleMinus
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
)
}
},
{
width
:
'60'
,
label
:
'序号'
,
type
:
'index'
},
{
label
:
'是否必填'
,
width
:
'100'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
radio
-
group
v
-
model
=
{
scope
.
row
.
isrequired
}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
>
<
el
-
radio
label
=
{
'1'
}
>
是
<
/el-radio
>
<
el
-
radio
label
=
{
'0'
}
>
否
<
/el-radio
>
<
/el-radio-group
>
)
}
},
{
prop
:
'clbm'
,
label
:
'材料编码'
,
width
:
'100'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
placeholder
=
"材料编码"
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
maxlength
=
"8"
><
/el-input
>
)
}
},
{
prop
:
'clmc'
,
label
:
'材料名称'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
placeholder
=
"材料名称"
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
},
{
prop
:
'cllx'
,
label
:
'材料类型'
,
width
:
'115'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
clearable
>
{
vm
.
dictData
[
'A40'
].
map
(
option
=>
{
return
(
<
el
-
option
label
=
{
option
.
dname
}
value
=
{
option
.
dcode
}
><
/el-option
>
)
})
}
<
/el-select
>
)
}
},
{
label
:
'是否公共材料'
,
width
:
'110'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
radio
-
group
v
-
model
=
{
scope
.
row
.
sfggcl
}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
;
vm
.
handleSelectGgcl
(
scope
.
row
)
}}
>
<
el
-
radio
label
=
{
'1'
}
>
是
<
/el-radio
>
<
el
-
radio
label
=
{
'0'
}
>
否
<
/el-radio
>
<
/el-radio-group
>
)
}
},
{
prop
:
'djqxbm'
,
label
:
'登记情形'
,
width
:
'180'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
disabled
=
{
scope
.
row
.
sfggcl
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
clearable
>
{
vm
.
form
.
djqx
.
map
(
option
=>
{
return
(
<
el
-
option
label
=
{
option
.
nodename
}
value
=
{
option
.
nodecode
}
><
/el-option
>
)
})
}
<
/el-select
>
)
}
},
{
label
:
'移动'
,
width
:
'90'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
'text'
disabled
=
{
scope
.
$index
==
0
}
onClick
=
{()
=>
{
vm
.
moveUpward
(
scope
.
$index
,
scope
.
row
,
'clxx'
)
}}
>
上移
<
/el-button
>
<
el
-
button
type
=
'text'
disabled
=
{(
scope
.
$index
+
1
)
==
vm
.
form
.
clxx
.
length
}
onClick
=
{()
=>
{
vm
.
moveDown
(
scope
.
$index
,
scope
.
row
,
'clxx'
)
}}
>
下移
<
/el-button
>
<
/div
>
)
}
}
]
}
}
let
datas
=
new
data
()
export
{
datas
,
sendThis
}
Please
register
or
sign in
to post a comment