Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
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
2254e166
authored
2020-11-21 15:21:39 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
宗地和自然幢表单判断只有临时状态可以编辑
1 parent
262f684b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
12 deletions
src/assets/less/main.less
src/components/formMenu/qlr.vue
src/components/formMenu/qlxz.vue
src/views/systemZD/zddcb/index.vue
src/views/systemZRZ/zrzxx/index.vue
src/assets/less/main.less
View file @
2254e16
...
...
@@ -48,11 +48,13 @@ table,td,tr,.el-col,.title{
border: none;
color: #606764;
overflow: visible;
cursor: text;
text-align: left;
text-indent: 20px;
padding: 0;
}
input:disabled{
cursor: not-allowed;
}
.formInput:focus{
border: 1px solid #A0C5F6!important;
}
...
...
src/components/formMenu/qlr.vue
View file @
2254e16
...
...
@@ -8,14 +8,19 @@
<el-row>
<el-col
:span=
"16"
class=
"fl"
>
<el-radio-group
v-model=
"gyfs"
>
<el-radio
:label=
"item.bsm"
:key=
"item.bsm"
v-for=
"item in $store.state.gyfsList"
>
{{
item
.
mc
}}
</el-radio>
<el-radio
:label=
"item.bsm"
:
disabled=
"qszt!='0'"
:
key=
"item.bsm"
v-for=
"item in $store.state.gyfsList"
>
{{
item
.
mc
}}
</el-radio>
</el-radio-group>
</el-col>
<el-col
:span=
"4"
class=
"fr"
>
<el-col
:span=
"4"
class=
"fr"
v-show=
"qszt=='0'"
>
<span
class=
"span"
@
click=
"addRow"
>
新增
</span>
<span
class=
"span"
@
click=
"changeRow"
>
修改
</span>
<span
class=
"span"
@
click=
"delRow"
>
删除
</span>
</el-col>
<el-col
:span=
"4"
class=
"fr"
v-show=
"qszt!='0'"
>
<span
class=
"noEdit"
@
click=
"addRow"
>
新增
</span>
<span
class=
"noEdit"
@
click=
"changeRow"
>
修改
</span>
<span
class=
"noEdit"
@
click=
"delRow"
>
删除
</span>
</el-col>
</el-row>
</td>
</tr>
...
...
@@ -300,9 +305,9 @@
export
default
{
props
:
{
widtd
:
{
qszt
:
{
type
:
String
,
default
:
"
70%
"
,
default
:
"
0
"
,
},
title
:
{
type
:
String
,
...
...
@@ -539,6 +544,11 @@
margin-right
:
10px
;
cursor
:
pointer
;
}
.noEdit
{
color
:
#606266
;
margin-right
:
10px
;
cursor
:
not-allowed
;
}
.el-radio
{
margin-right
:
20px
!important
;
}
...
...
src/components/formMenu/qlxz.vue
View file @
2254e16
...
...
@@ -77,7 +77,7 @@
:default-expand-all=
"defaultExpandAll"
:multiple=
"multiple"
:placeholder=
"placeholder"
:disabled=
"
disabled
"
:disabled=
"
formData.qszt!='0'
"
:data=
"$store.state.tdytList"
:props=
"treeProps"
:check-strictly=
"checkStrictly"
...
...
@@ -92,7 +92,7 @@
:default-expand-all=
"defaultExpandAll"
:multiple=
"multiple"
:placeholder=
"placeholder"
:disabled=
"
disabled
"
:disabled=
"
formData.qszt!='0'
"
:data=
"$store.state.tdytList"
:props=
"treeProps"
:check-strictly=
"checkStrictly"
...
...
@@ -102,6 +102,7 @@
</li>
<li>
<el-date-picker
:disabled=
"formData.qszt!='0'"
v-model=
"childItem.tdsyqssj"
type=
"date"
value-format=
"yyyy-MM-dd"
...
...
@@ -131,6 +132,7 @@
<li>
<input
type=
"text"
:disabled=
"formData.qszt!='0'"
placeholder=
"请输入"
v-model=
"childItem.pzytdm"
class=
"formInput"
...
...
@@ -139,6 +141,7 @@
<li>
<input
type=
"text"
:disabled=
"formData.qszt!='0'"
placeholder=
"请输入"
v-model=
"childItem.sjytdm"
class=
"formInput"
...
...
@@ -147,6 +150,7 @@
<li>
<input
type=
"text"
:disabled=
"formData.qszt!='0'"
placeholder=
"请输入"
v-model=
"childItem.syqx"
class=
"formInput"
...
...
@@ -174,6 +178,7 @@
<ul>
<li>
<el-select
:disabled=
"formData.qszt!='0'"
class=
"formSelect percent30"
v-model=
"childItem.pzdjbsm"
>
...
...
@@ -188,6 +193,7 @@
</li>
<li>
<el-select
:disabled=
"formData.qszt!='0'"
class=
"formSelect percent30"
v-model=
"childItem.sjdjbsm"
>
...
...
@@ -202,6 +208,7 @@
</li>
<li>
<el-date-picker
:disabled=
"formData.qszt!='0'"
v-model=
"childItem.tdsyjssj"
type=
"date"
value-format=
"yyyy-MM-dd"
...
...
@@ -216,10 +223,10 @@
<div
class=
"title"
>
<el-select-tree
v-if=
"show"
:disabled=
"formData.qszt!='0'"
:default-expand-all=
"defaultExpandAll"
:multiple=
"multiple"
:placeholder=
"placeholder"
:disabled=
"disabled"
:data=
"$store.state.qlxzList"
:props=
"treeProps"
:check-strictly=
"checkStrictly"
...
...
@@ -235,10 +242,12 @@
import
{
getDdicByMC
}
from
"../../api/common"
;
export
default
{
props
:
{
// widtd: {
// type: String,
// default: "70%",
// },
formData
:
{
type
:
Object
,
default
:
()
=>
{
return
{};
},
},
},
data
()
{
return
{
...
...
@@ -290,6 +299,9 @@ export default {
};
},
created
()
{},
mounted
(){
console
.
log
(
this
.
formData
,
'formData'
);
},
methods
:
{
//外层操作
handleClick
(
ind
,
type
)
{
...
...
src/views/systemZD/zddcb/index.vue
View file @
2254e16
This diff is collapsed.
Click to expand it.
src/views/systemZRZ/zrzxx/index.vue
View file @
2254e16
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment