Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
b247e119
authored
2023-03-06 10:57:16 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:编辑修改
1 parent
da13b022
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
16 deletions
src/components/EditDialog/index.vue
src/views/sthj/components/editDialog.vue
src/components/EditDialog/index.vue
View file @
b247e11
...
...
@@ -22,7 +22,7 @@
</el-col>
<el-col
:span=
"6"
>
<span>
ASID:
</span>
<el-input
v-model=
"dataReport.ASID"
:disabled=
"$store.state.business.Edit"
></el-input>
<el-input
v-model=
"dataReport.ASID"
:disabled=
"$store.state.business.Edit"
maxLength=
"5"
></el-input>
</el-col>
<el-col
:span=
"6"
>
<span>
行政区划编码:
</span>
...
...
@@ -61,8 +61,7 @@
<el-row>
<el-col
:span=
"5"
>
<span>
创建时间:
</span>
<el-date-picker
v-model=
"dataReport.createDate"
clearable
:disabled=
"$store.state.business.Edit"
type=
"date"
value-format=
"yyyy-MM-dd"
>
<el-date-picker
v-model=
"dataReport.createDate"
clearable
disabled
type=
"date"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</el-col>
<el-col
:span=
"6"
>
...
...
src/views/sthj/components/editDialog.vue
View file @
b247e11
...
...
@@ -14,16 +14,15 @@
<el-row
class=
"dialog-from_header item-content-input"
>
<el-col
:span=
"8"
>
<span>
行政编码:
</span>
<el-input
v-model=
"accessLog.AREACODE"
maxlength=
"10"
></el-input>
<el-input
v-model=
"accessLog.AREACODE"
maxlength=
"10"
disabled
></el-input>
</el-col>
<el-col
:span=
"8"
>
<span>
行政名称:
</span>
<el-input
v-model=
"accessLog.AREANAME"
maxlength=
"20"
></el-input>
<el-input
v-model=
"accessLog.AREANAME"
maxlength=
"20"
disabled
></el-input>
</el-col>
<el-col
:span=
"8"
>
<span>
日期:
</span>
<el-date-picker
v-model=
"accessLog.CREATEDATE"
value-format=
"yyyy-MM-dd"
type=
"date"
>
</el-date-picker>
<el-input
v-model=
"accessLog.ACCESSDATE"
disabled
></el-input>
</el-col>
</el-row>
<el-row
class=
"dialog-from_header item-content-input"
>
...
...
@@ -39,8 +38,7 @@
<el-row
class=
"dialog-from_header item-content-input"
>
<el-col
:span=
"4"
>
<span>
当日登薄量:
</span>
<el-input
v-model=
"registerInfo.TOTALNUM"
oninput=
"if(value.length > 6) value=value.slice(0, 6)"
type=
"number"
></el-input>
<el-input
v-model=
"registerInfo.TOTALNUM"
disabled
type=
"number"
></el-input>
</el-col>
<el-col
:span=
"4"
>
<span>
首次登记量:
</span>
...
...
@@ -86,7 +84,7 @@
</el-col>
<el-col
:span=
"4"
>
<span>
其他登记:
</span>
<el-input
v-model=
"registerInfo.
OTHERREG
"
oninput=
"if(value.length > 6) value=value.slice(0, 6)"
<el-input
v-model=
"registerInfo.
otherReg
"
oninput=
"if(value.length > 6) value=value.slice(0, 6)"
type=
"number"
></el-input>
</el-col>
<el-col
:span=
"4"
>
...
...
@@ -104,8 +102,7 @@
<el-row
class=
"dialog-from_header item-content-input"
>
<el-col
:span=
"4"
>
<span>
当日上报量:
</span>
<el-input
v-model=
"accessInfo.TOTALNUM"
oninput=
"if(value.length > 6) value=value.slice(0, 6)"
type=
"number"
></el-input>
<el-input
v-model=
"accessInfo.TOTALNUM"
disabled
type=
"number"
></el-input>
</el-col>
<el-col
:span=
"4"
>
<span>
首次登记量:
</span>
...
...
@@ -151,7 +148,7 @@
</el-col>
<el-col
:span=
"4"
>
<span>
其他登记:
</span>
<el-input
v-model=
"accessInfo.
OTHERREG
"
oninput=
"if(value.length > 6) value=value.slice(0, 6)"
<el-input
v-model=
"accessInfo.
otherReg
"
oninput=
"if(value.length > 6) value=value.slice(0, 6)"
type=
"number"
></el-input>
</el-col>
<el-col
:span=
"4"
>
...
...
@@ -215,7 +212,7 @@ export default {
accessLog
:
{
AREACODE
:
''
,
AREANAME
:
''
,
CREATE
DATE
:
''
,
ACCESS
DATE
:
''
,
REMARK
:
''
},
// 当日登薄信息记录数
...
...
@@ -230,7 +227,7 @@ export default {
ADVANCEREG
:
''
,
// 预告登记数量
SEIZEREG
:
''
,
// 查封登记数量
EASEMENTREG
:
''
,
// 地役权登记数量
OTHERREG
:
''
,
// 其他登记数量
otherReg
:
''
,
// 其他登记数量
BUSINESSTYPECOUNT
:
''
,
// 业务类型总数
},
// 当日上报记录数
...
...
@@ -245,7 +242,7 @@ export default {
ADVANCEREG
:
''
,
// 预告登记数量
SEIZEREG
:
''
,
// 查封登记数量
EASEMENTREG
:
''
,
// 地役权登记数量
OTHERREG
:
''
,
// 其他登记数量
otherReg
:
''
,
// 其他登记数量
BUSINESSTYPECOUNT
:
''
,
// 业务类型总数
},
// 当日登薄详单
...
...
@@ -267,6 +264,24 @@ export default {
sendThis
(
this
);
sendThis1
(
this
);
},
watch
:
{
registerInfo
:
{
handler
:
function
(
newVal
,
oldVal
)
{
this
.
registerInfo
.
TOTALNUM
=
(
newVal
.
FIRSTREG
-
0
)
+
(
newVal
.
TRANSFERREG
-
0
)
+
(
newVal
.
CHANGEREG
-
0
)
+
(
newVal
.
LOGOUTREG
-
0
)
+
(
newVal
.
RIVISEREG
-
0
)
+
(
newVal
.
DISSENTINGREG
-
0
)
+
(
newVal
.
ADVANCEREG
-
0
)
+
(
newVal
.
SEIZEREG
-
0
)
+
(
newVal
.
otherReg
-
0
)
},
deep
:
true
},
accessInfo
:
{
handler
:
function
(
newVal
,
oldVal
)
{
this
.
accessInfo
.
TOTALNUM
=
(
newVal
.
FIRSTREG
-
0
)
+
(
newVal
.
TRANSFERREG
-
0
)
+
(
newVal
.
CHANGEREG
-
0
)
+
(
newVal
.
LOGOUTREG
-
0
)
+
(
newVal
.
RIVISEREG
-
0
)
+
(
newVal
.
DISSENTINGREG
-
0
)
+
(
newVal
.
ADVANCEREG
-
0
)
+
(
newVal
.
SEIZEREG
-
0
)
+
(
newVal
.
otherReg
-
0
)
},
deep
:
true
}
},
methods
:
{
closeDialog
()
{
this
.
dialogVisible
=
false
;
...
...
@@ -483,6 +498,10 @@ export default {
margin-right
:
5px
;
}
/
deep
/
.el-icon-circle-close
{
display
:
none
;
}
/
deep
/
.el-tabs__item.is-active
{
background
:
url("~@/image/tabitemse.png")
no-repeat
;
background-size
:
100%
100%
;
...
...
Please
register
or
sign in
to post a comment