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
8daad855
authored
2022-08-17 16:52:12 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:申请业务规则配置
1 parent
0fb2eec1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
382 additions
and
1 deletions
src/views/system/sqywgz/components/clgzsd.vue
src/views/system/sqywgz/components/dyztsd.vue
src/views/system/sqywgz/components/editDialog.vue
src/views/system/sqywgz/components/clgzsd.vue
0 → 100644
View file @
8daad85
<!--
功能:登记情形设定
-->
<
template
>
<div
class=
'该组件名称'
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
label-width=
"135px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"登记业务编码"
prop=
"djywbm"
>
<el-input
v-model=
"ruleForm.djywbm"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
<el-form-item
label=
"登记业务名称"
prop=
"djywmc"
>
<el-input
v-model=
"ruleForm.djywmc"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<lb-table
:column=
"column"
border
:key=
"key"
:heightNum=
"390"
:pagination=
"false"
heightNumSetting
:data=
"tableData"
>
</lb-table>
</div>
</
template
>
<
script
>
import
{
upward
,
down
}
from
'@/utils/operation'
export
default
{
data
()
{
return
{
key
:
0
,
ruleForm
:
{
djywbm
:
''
,
djywmc
:
''
},
cllxOptions
:
[
{
name
:
'买卖'
,
value
:
'1'
},
{
name
:
'买卖继承'
,
value
:
'2'
}
],
rules
:
{
djywbm
:
[
{
required
:
true
,
message
:
'登记业务编码'
,
trigger
:
'blur'
},
],
djywmc
:
[
{
required
:
true
,
message
:
'登记业务名称'
,
trigger
:
'blur'
},
],
},
column
:
[
{
width
:
'60'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
style
=
"color:#409EFF"
><
/i
>
},
render
:
(
h
,
scope
)
=>
{
return
(
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
handleMinus
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
)
}
},
{
width
:
'60'
,
label
:
'序号'
,
type
:
'index'
},
{
prop
:
'sfbx'
,
label
:
'是否必须'
,
width
:
'80'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
},
{
prop
:
'djqx'
,
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
:
'clbm'
,
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
:
'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
:
'材料类型'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
>
{
this
.
cllxOptions
.
map
(
option
=>
{
return
(
<
el
-
option
label
=
{
option
.
name
}
value
=
{
option
.
value
}
><
/el-option
>
)
})
}
<
/el-select
>
)
}
},
{
label
:
'移动'
,
width
:
'90'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
i
class
=
"el-icon-top pointer"
disabled
=
{
scope
.
$index
==
0
}
style
=
"color:#409EFF"
onClick
=
{()
=>
{
this
.
moveUpward
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
<
i
class
=
"el-icon-bottom pointer"
disabled
=
{(
scope
.
$index
+
1
)
==
this
.
tableData
.
length
}
style
=
"color:#409EFF"
onClick
=
{()
=>
{
this
.
moveDown
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
<
/div
>
)
}
}
],
tableData
:
[
{
sfbx
:
''
,
djqx
:
''
,
clbm
:
''
,
clmc
:
''
,
cllx
:
''
}
]
}
},
watch
:
{
tableData
:
{
handler
(
newValue
,
oldValue
)
{
this
.
$emit
(
'updateValue'
,
newValue
)
},
deep
:
true
}
},
methods
:
{
handleAdd
()
{
this
.
tableData
.
push
(
{
sfbx
:
''
,
djqx
:
''
,
clbm
:
''
,
clmc
:
''
,
cllx
:
''
}
)
},
handleMinus
()
{
},
// 上移下移
moveUpward
(
index
,
row
)
{
upward
(
index
,
this
.
tableData
)
this
.
key
++
},
moveDown
(
index
,
row
)
{
down
(
index
,
this
.
tableData
)
this
.
key
++
},
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
src/views/system/sqywgz/components/dyztsd.vue
0 → 100644
View file @
8daad85
<!--
功能:单元状态设定
-->
<
template
>
<div
class=
'该组件名称'
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
label-width=
"135px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"登记业务编码"
prop=
"djywbm"
>
<el-input
v-model=
"ruleForm.djywbm"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
<el-form-item
label=
"登记业务名称"
prop=
"djywmc"
>
<el-input
v-model=
"ruleForm.djywmc"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
class=
"dyztsd-title"
>
<b>
请勾选需要查询的权利信息
</b>
<div>
<el-button
type=
"text"
@
click=
"handleSelectall"
>
选择全部
</el-button>
<el-button
type=
"text"
@
click=
"handleInvert"
>
清除全部
</el-button>
</div>
</div>
<el-divider></el-divider>
<ul
class=
"qlxx-list"
>
<li
v-for=
"(item, index) in dataList.qlxxList"
:key=
"index"
>
<el-checkbox
v-model=
"item.checked"
>
{{
item
.
name
}}
</el-checkbox>
</li>
</ul>
<ul
class=
"screen-list"
>
<li
v-for=
"(item, index) in dataList.screenList"
:key=
"index"
>
<div
class=
"screen-list-left"
>
<el-switch
v-model=
"item.checked"
>
</el-switch>
{{
item
.
name
}}
</div>
<el-radio-group
v-model=
"item.radio"
>
<el-radio
:label=
"1"
>
正在办理
</el-radio>
<el-radio
:label=
"2"
>
未办理
</el-radio>
</el-radio-group>
</li>
</ul>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
ruleForm
:
{
djywbm
:
''
,
djywmc
:
''
},
rules
:
{
djywbm
:
[
{
required
:
true
,
message
:
'登记业务编码'
,
trigger
:
'blur'
},
],
djywmc
:
[
{
required
:
true
,
message
:
'登记业务名称'
,
trigger
:
'blur'
},
],
},
dataList
:
{
qlxxList
:
[
{
checked
:
false
,
name
:
'国有建设用地使用权'
},
{
checked
:
false
,
name
:
'宅基地使用权'
},
{
checked
:
false
,
name
:
'国有建设用地使用权'
},
{
checked
:
false
,
name
:
'宅基地使用权/房屋所有权'
},
{
checked
:
false
,
name
:
'国有建设用地使用权'
},
{
checked
:
false
,
name
:
'国有建设用地使用权'
},
],
screenList
:
[
{
checked
:
true
,
name
:
'筛选单元办理状态条件'
,
radio
:
1
},
{
checked
:
true
,
name
:
'筛选单元办理状态条件'
,
radio
:
1
},
{
checked
:
true
,
name
:
'筛选单元办理状态条件'
,
radio
:
1
},
{
checked
:
true
,
name
:
'筛选单元办理状态条件'
,
radio
:
1
}
]
},
}
},
watch
:
{
dataList
:
{
handler
(
newValue
,
oldValue
)
{
this
.
$emit
(
'updateValue'
,
newValue
)
},
deep
:
true
}
},
methods
:
{
handleSelectall
()
{
this
.
qlxxList
.
forEach
(
item
=>
{
item
.
checked
=
true
})
},
handleInvert
()
{
this
.
qlxxList
.
forEach
(
item
=>
{
item
.
checked
=
false
})
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/mixin.scss"
;
.dyztsd-title
{
@include
flex;
align-items
:
center
;
justify-content
:
space-between
;
padding-left
:
20px
;
}
.qlxx-list
{
@include
flex;
flex-wrap
:
wrap
;
padding-left
:
20px
;
li
{
width
:
20%
;
margin-bottom
:
15px
;
}
}
.screen-list
{
@include
flex;
align-items
:
center
;
flex-wrap
:
wrap
;
border
:
1px
solid
$
borderColor
;
border-bottom
:
none
;
li
{
@include
flex;
align-items
:
center
;
width
:
50%
;
line-height
:
50px
;
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
20px
;
}
&
-left
{
margin-right
:
20px
;
}
li
:nth-child
(
odd
)
{
border-right
:
1px
solid
$
borderColor
;
}
}
</
style
>
\ No newline at end of file
src/views/system/sqywgz/components/editDialog.vue
View file @
8daad85
...
...
@@ -108,6 +108,8 @@
</el-row>
</el-form>
<djqxsd
v-else-if=
"n == 1"
@
updateValue=
"getValue"
/>
<clgzsd
v-else-if=
"n == 2"
@
updateValue=
"getClValue"
/>
<dyztsd
v-else
/>
</div>
</div>
</dialogBox>
...
...
@@ -116,9 +118,14 @@
<
script
>
import
fileController
from
'@/api/fileController'
import
djqxsd
from
'./djqxsd.vue'
import
clgzsd
from
'./clgzsd.vue'
import
dyztsd
from
'./dyztsd.vue'
export
default
{
components
:
{
djqxsd
djqxsd
,
clgzsd
,
dyztsd
},
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
...
...
@@ -210,6 +217,9 @@ export default {
getValue
(
val
)
{
console
.
log
(
val
);
},
getClValue
(
val
)
{
console
.
log
(
val
);
},
submitForm
()
{
this
.
$refs
[
'ruleForm'
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
...
...
Please
register
or
sign in
to post a comment