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
8cf9a8dc
authored
2023-09-22 09:59:42 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登记薄模块功能的完善
1 parent
3b89eb5f
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
219 additions
and
250 deletions
src/views/components/ywdialog.vue
src/views/printdjb/components/fdcq1.vue
src/views/printdjb/components/ldsyq.vue
src/views/printdjb/components/qlxxCommon.scss
src/views/registerBook/cfdj.vue
src/views/registerBook/comparison.vue
src/views/registerBook/components/djbDetail.vue
src/views/registerBook/components/printTemplate.vue
src/views/registerBook/diyaq.vue
src/views/registerBook/diyiq.vue
src/views/registerBook/djbFrameall.vue
src/views/registerBook/djbfm.vue
src/views/registerBook/fdcq2.vue
src/views/registerBook/jsydsyq.vue
src/views/registerBook/ldsyq.vue
src/views/registerBook/nydsyq.vue
src/views/registerBook/qlxxCommon.scss
src/views/registerBook/sllmsyq.vue
src/views/registerBook/tdsyq.vue
src/views/registerBook/ygdj.vue
src/views/registerBook/yydj.vue
src/views/components/ywdialog.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
19 15:52:4
4
* @LastEditTime: 2023-09-
22 09:30:3
4
-->
<
template
>
<div
class=
'ywdialog'
>
...
...
@@ -35,5 +35,6 @@
@import
"~@/styles/public.scss"
;
.ywdialog
{
min-width
:
230px
;
padding-bottom
:
20px
;
}
</
style
>
\ No newline at end of file
...
...
src/views/printdjb/components/fdcq1.vue
View file @
8cf9a8d
<
template
>
<div
class=
"all"
>
<div
class=
"all"
>
<div
class=
"tbalede"
>
<div
class=
"title"
>
{{
title
}}
...
...
@@ -44,7 +44,7 @@
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
<el-tooltip
v-if=
"['djyy','fj'].includes(item.prop)"
>
<el-tooltip
v-if=
"['djyy','fj'].includes(item.prop)"
>
<span>
{{
row
[
item
.
prop
]
}}
</span>
...
...
@@ -63,7 +63,7 @@
</tr>
</table>
</div>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -199,9 +199,9 @@
height
:
100%
;
margin
:
auto
;
background-color
:
rgb
(
255
,
255
,
255
);
overflow
:
hidden
}
.tbalede
{
overflow
:
hidden
;
}
.tbalede
{
width
:
794px
;
height
:
1123px
;
margin
:
auto
;
...
...
@@ -215,49 +215,48 @@ overflow: hidden
position
:
relative
;
margin
:
0
3px
;
}
}
.top
{
}
.top
{
width
:
80%
;
height
:
100px
;
margin
:
auto
;
display
:
flex
;
position
:
relative
;
}
p
{
}
p
{
position
:
absolute
;
bottom
:
10px
;
right
:
10px
;
}
table
{
}
table
{
width
:
80%
;
border
:
1px
solid
black
;
margin
:
0
auto
;
border-collapse
:
collapse
;
}
.head
{
}
.head
{
font-size
:
20px
;
width
:
100%
;
height
:
40px
;
margin
:
auto
;
}
.dyh
{
}
.dyh
{
padding
:
10px
;
font-size
:
12px
;
text-align
:
left
;
}
}
.content
{
.content
{
height
:
40px
;
}
.slash-wrap
{
}
.slash-wrap
{
position
:
relative
;
box-sizing
:
border-box
;
width
:
150px
;
height
:
40px
;
}
/* 斜线 */
.slash1
{
}
/* 斜线 */
.slash1
{
position
:
absolute
;
display
:
block
;
top
:
0
;
...
...
@@ -267,27 +266,25 @@ table {
background-color
:
#949393
;
transform
:
rotate
(
17.93010235415598deg
);
transform-origin
:
top
left
;
}
/* 左下角文字 */
.left
{
}
/* 左下角文字 */
.left
{
position
:
absolute
;
left
:
30px
;
bottom
:
5px
;
}
}
/* 右上角文字 */
.mid
{
/* 右上角文字 */
.mid
{
position
:
absolute
;
/* 右上角 right:0; top: 0; */
right
:
29px
;
top
:
4px
;
}
}
.xxTable
{
width
:
100%
;
border-collapse
:
collapse
;
tr
td
{
border
:
2px
solid
rgb
(
227
,
226
,
226
);
text-align
:
center
;
...
...
@@ -299,25 +296,22 @@ table {
//
justify-content
:
center
;
min-width
:
80px
;
z-index
:
1
;
.ooo{
width
:
190px
!important
;
.ooo
{
width
:
190px
!important
;
}
}
td
:first-child
{
td
:first-child
{
flex
:
inherit
!important
;
//
width
:
200px
!important
;
min-width
:
180px
!important
;
//
min-width
:
180px
!important
;
}
}
.ellipsis-line
{
display
:
inline-block
;
width
:
300px
;
height
:
100px
!important
;
line-height
:
20px
!important
;
height
:
100px
!important
;
line-height
:
20px
!important
;
word-break
:
break-all
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
}
</
style
>
...
...
src/views/printdjb/components/ldsyq.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
8-25 17:16:32
* @LastEditTime: 2023-0
9-22 09:56:51
-->
<
template
>
<div
class=
"all"
>
...
...
@@ -156,54 +156,53 @@
height
:
100%
;
margin
:
auto
;
background-color
:
rgb
(
255
,
255
,
255
);
}
.tbalede
{
}
.tbalede
{
width
:
794px
;
height
:
1123px
;
margin
:
auto
;
}
.top
{
}
.top
{
width
:
80%
;
height
:
100px
;
margin
:
auto
;
display
:
flex
;
position
:
relative
;
}
p
{
}
p
{
position
:
absolute
;
bottom
:
10px
;
right
:
10px
;
}
table
{
}
table
{
width
:
80%
;
border
:
1px
solid
black
;
margin
:
0
auto
;
border-collapse
:
collapse
;
}
.head
{
}
.head
{
font-size
:
20px
;
width
:
100%
;
height
:
40px
;
margin
:
auto
;
}
.dyh
{
}
.dyh
{
padding
:
10px
;
font-size
:
12px
;
text-align
:
left
;
}
}
.content
{
.content
{
height
:
40px
;
}
.slash-wrap
{
}
.slash-wrap
{
position
:
relative
;
box-sizing
:
border-box
;
width
:
150px
;
height
:
40px
;
}
/* 斜线 */
.slash1
{
}
/* 斜线 */
.slash1
{
position
:
absolute
;
display
:
block
;
top
:
0
;
...
...
@@ -213,46 +212,44 @@ table {
background-color
:
#949393
;
transform
:
rotate
(
17.93010235415598deg
);
transform-origin
:
top
left
;
}
/* 左下角文字 */
.left
{
}
/* 左下角文字 */
.left
{
position
:
absolute
;
left
:
30px
;
bottom
:
5px
;
}
}
/* 右上角文字 */
.mid
{
/* 右上角文字 */
.mid
{
position
:
absolute
;
/* 右上角 right:0; top: 0; */
right
:
29px
;
top
:
4px
;
}
}
.xxTable
{
width
:
100%
;
border-collapse
:
collapse
;
table-layout
:
fixed
;
table-layout
:
fixed
;
td
{
border
:
1px
solid
rgb
(
0
,
0
,
0
);
text-align
:
center
;
height
:
40px
;
width
:
80px
!important
;
word-wrap
:
break-word
width
:
80px
!important
;
word-wrap
:
break-word
;
}
td
:first-child
{
min-width
:
180px
!important
;
td
:first-child
{
//
min-width
:
180px
!important
;
}
}
.ellipsis-line
{
display
:
inline-block
;
width
:
300px
;
height
:
100px
!important
;
line-height
:
20px
!important
;
height
:
100px
!important
;
line-height
:
20px
!important
;
word-break
:
break-all
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
}
</
style
>
...
...
src/views/printdjb/components/qlxxCommon.scss
View file @
8cf9a8d
...
...
@@ -236,8 +236,7 @@
td
:first-child
{
flex
:
inherit
!
important
;
// width: 200px !important;
min-width
:
180px
!
important
;
// min-width: 180px !important;
}
>
tr
:nth-child
(
odd
)
td
{
...
...
src/views/registerBook/cfdj.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
18 15:07:4
4
* @LastEditTime: 2023-09-
22 09:49:2
4
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -40,14 +40,14 @@
* @description: loadData
* @author: renchao
*/
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
}
getCfdjList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
src/views/registerBook/comparison.vue
View file @
8cf9a8d
...
...
@@ -27,8 +27,7 @@
{{
index
?
"变化后"
:
"变化前"
}}
</div>
<div
v-if=
"item.prop == 'cz' && row.sjlx != '系统数据'"
></div>
v-if=
"item.prop == 'cz' && row.sjlx != '系统数据'"
></div>
<span
v-if=
"item.prop == 'qszt'"
:class=
"item.co"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
...
...
@@ -42,17 +41,17 @@
</
template
>
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDjbQlxxDiff
}
from
"@/api/djbDetail.js"
;
export
default
{
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getDjbQlxxDiff
}
from
"@/api/djbDetail.js"
;
export
default
{
props
:
{
formData
:
{
type
:
Object
,
default
:
{},
},
},
data
()
{
data
()
{
return
{
radio
:
1
,
title
:
"变化情况对比"
,
...
...
@@ -63,11 +62,11 @@ export default {
emptycolNum
:
1
,
//列名称对象
columns
:
[],
columnsall
:
[],
columnsum
:
[]
columnsall
:
[],
columnsum
:
[]
};
},
created
()
{
created
()
{
switch
(
this
.
formData
.
dqqllx
)
{
case
"JSYDSYQ"
:
this
.
columns
=
datas
.
columns
().
JSYDSYQ
;
...
...
@@ -97,16 +96,16 @@ export default {
this
.
getdata
();
},
methods
:
{
getArrDifference
:
function
(
arr1
,
arr2
)
{
return
arr1
.
concat
(
arr2
).
filter
(
function
(
value
,
i
,
arr
)
{
getArrDifference
:
function
(
arr1
,
arr2
)
{
return
arr1
.
concat
(
arr2
).
filter
(
function
(
value
,
i
,
arr
)
{
return
arr
.
indexOf
(
value
)
===
arr
.
lastIndexOf
(
value
);
})
},
},
/**
* @description: checkChange
* @author: renchao
*/
getdata
()
{
getdata
()
{
getDjbQlxxDiff
(
this
.
formData
.
bsmQlxx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
.
push
(
res
.
result
.
ssQlxx
)
...
...
@@ -116,12 +115,12 @@ export default {
item
.
sjlx
=
getSjlx
(
item
.
sjlx
);
});
for
(
let
key
in
this
.
tableData
[
0
])
{
this
.
columnsum
=
this
.
columns
.
filter
((
item
,
index
)
=>
{
if
(
this
.
tableData
[
1
][
key
]
!==
this
.
tableData
[
0
][
key
]
&&
this
.
columns
[
index
].
prop
==
key
)
{
this
.
columns
[
index
].
bt
=
"bgc"
this
.
columns
[
index
].
co
=
"red"
this
.
columnsum
=
this
.
columns
.
filter
((
item
,
index
)
=>
{
if
(
this
.
tableData
[
1
][
key
]
!==
this
.
tableData
[
0
][
key
]
&&
this
.
columns
[
index
].
prop
==
key
)
{
this
.
columns
[
index
].
bt
=
"bgc"
this
.
columns
[
index
].
co
=
"red"
}
return
this
.
columns
[
index
].
bt
==
"bgc"
return
this
.
columns
[
index
].
bt
==
"bgc"
})
}
this
.
columns
.
unshift
({
...
...
@@ -132,7 +131,7 @@ export default {
prop
:
"bhqk"
,
label
:
""
})
this
.
columnsall
=
this
.
columns
this
.
columnsall
=
this
.
columns
...
...
@@ -144,7 +143,7 @@ export default {
* @param {*} code
* @author: renchao
*/
,
getQsztName
(
code
)
{
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
...
...
@@ -155,37 +154,33 @@ export default {
return
name
;
},
checkChange
()
{
if
(
this
.
radio
==
2
)
{
this
.
columnsall
=
this
.
columnsum
checkChange
()
{
if
(
this
.
radio
==
2
)
{
this
.
columnsall
=
this
.
columnsum
}
else
{
this
.
columnsall
=
this
.
columns
}
else
{
this
.
columnsall
=
this
.
columns
}
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
.bgc
{
td{
@import
"./qlxxCommon.scss"
;
.bgc
{
td
{
//
background-color
:
rgb
(
182
,
203
,
207
)
!important
;
}
}
.xxTable
tr
td
{
min-width
:
520px
!important
;
}
.red
{
.xxTable
tr
td
{
min-width
:
520px
!important
;
}
.red
{
color
:
red
;
}
.setbut
{
.setbut
{
font-size
:
18px
;
font-weight
:
700
;
}
...
...
src/views/registerBook/components/djbDetail.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-2
1 10:53:44
* @LastEditTime: 2023-09-2
2 09:47:08
-->
<
template
>
<div
class=
"tableBox"
>
...
...
@@ -172,7 +172,7 @@
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
}
else
{
this
.
$parent
.
loadData
();
this
.
$parent
.
loadData
(
this
.
checkList
);
}
},
/**
...
...
src/views/registerBook/components/printTemplate.vue
View file @
8cf9a8d
...
...
@@ -9,8 +9,7 @@
class=
"tbalede"
v-for=
"(el, indexx) in datass"
:key=
"indexx"
style=
"page-break-after: always"
>
style=
"page-break-after: always"
>
<div
class=
"title"
>
{{
title
}}
</div>
<div
class=
"num"
>
共
{{
datass
.
length
}}
页,第
{{
indexx
+
1
}}
页
</div>
<table
class=
"xxTable"
>
...
...
@@ -25,8 +24,7 @@
<td
v-show=
"el.emptycolNum"
v-for=
"count in emptycolNum"
:key=
"count"
></td>
:key=
"count"
></td>
</tr>
</table>
</div>
...
...
@@ -34,12 +32,12 @@
</
template
>
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getFieldListByQlxx
}
from
"@/api/SysDjbFieldDO.js"
;
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getFieldListByQlxx
}
from
"@/api/SysDjbFieldDO.js"
;
export
default
{
data
()
{
export
default
{
data
()
{
return
{
title
:
this
.
$parent
.
title
,
//列表数据
...
...
@@ -60,17 +58,17 @@ export default {
default
:
false
,
},
},
created
()
{
},
created
()
{
},
watch
:
{
tableData
:
{
handler
(
newValue
,
oldValue
)
{
handler
(
newValue
,
oldValue
)
{
this
.
tableData
=
newValue
;
},
},
render
:
{
handler
(
newValue
,
oldValue
)
{
console
.
log
(
"newValue"
,
newValue
);
console
.
log
(
"columns"
,
this
.
columns
);
handler
(
newValue
,
oldValue
)
{
console
.
log
(
"newValue"
,
newValue
);
console
.
log
(
"columns"
,
this
.
columns
);
if
(
newValue
)
{
this
.
loadData
();
}
...
...
@@ -84,13 +82,13 @@ export default {
* @description: loadData
* @author: miaofang
*/
loadData
()
{
loadData
()
{
getFieldListByQlxx
({
qllx
:
this
.
tableData
[
0
].
qllx
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
columns
=
res
.
result
;
console
.
log
(
"columnssssssssssss"
,
this
.
columns
);
console
.
log
(
"columnssssssssssss"
,
this
.
columns
);
}
});
if
(
this
.
tableData
.
length
&&
this
.
datass
.
length
==
0
)
{
...
...
@@ -107,11 +105,11 @@ export default {
}
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
.tbalede
{
.tbalede
{
width
:
100%
;
margin
:
auto
;
position
:
relative
;
...
...
@@ -147,13 +145,7 @@ export default {
td
{
width
:
20px
!important
;
word-break
:
break-all
;
//
/* 方法一:使用 word-break */
//
word-break
:
break-all
;
//
//
/* 方法二:使用 white-space */
//
//
white-space
:
pre-wrap
;
//
//
/* 方法三:使用 overflow-wrap */
//
//
overflow-wrap
:
break-word
;
}
}
}
}
</
style
>
...
...
src/views/registerBook/diyaq.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
18 15:04:3
2
* @LastEditTime: 2023-09-
22 09:50:1
2
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -40,14 +40,14 @@
* @description: loadData
* @author: renchao
*/
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
}
getDiyaqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
src/views/registerBook/diyiq.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 15:04:54
* @LastEditTime: 2023-09-
22 09:50:28
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -36,14 +36,14 @@
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
}
getDiyiqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
src/views/registerBook/djbFrameall.vue
View file @
8cf9a8d
...
...
@@ -14,8 +14,7 @@
:default-expand-all=
"true"
:expand-on-click-node=
"false"
node-key=
"id"
:default-checked-keys=
"[showTab]"
>
:default-checked-keys=
"[showTab]"
>
</el-tree>
<el-collapse
v-model=
"activeName"
accordion
>
<el-collapse-item
...
...
@@ -23,8 +22,7 @@
ref=
"sfq"
v-for=
"(item, index) in sfqdata"
:key=
"index"
:name=
"index"
>
:name=
"index"
>
<template
slot=
"title"
>
<span
class=
"text"
@
click=
"tap(item)"
>
<span>
...
...
@@ -37,8 +35,7 @@
:re=
"item"
:key=
"index"
:class=
"[isActive == index ? activeCls : '', errorCls]"
@
click=
"taplist(item, index)"
>
@
click=
"taplist(item, index)"
>
<span>
{{ item.label }}
</span>
...
...
@@ -53,18 +50,17 @@
<component
:is=
"componentTag"
@
getBdcdyh=
"getBdcdyh"
v-bind=
"currentSelectProps"
/>
v-bind=
"currentSelectProps"
/>
</div>
</div>
</template>
<
script
>
import
{
getBdcqljqtsx
}
from
"@/api/djbDetail.js"
;
import
{
loadTreeData
,
loadsfqData
,
getNode
}
from
"./djbFrameData.js"
;
import
{
searchTaskToDo
}
from
"@/api/workflow/search.js"
;
import
{
leftMenu
}
from
"@/api/workFlow.js"
;
export
default
{
data
()
{
import
{
getBdcqljqtsx
}
from
"@/api/djbDetail.js"
;
import
{
loadTreeData
,
loadsfqData
,
getNode
}
from
"./djbFrameData.js"
;
import
{
searchTaskToDo
}
from
"@/api/workflow/search.js"
;
import
{
leftMenu
}
from
"@/api/workFlow.js"
;
export
default
{
data
()
{
return
{
//接收参数
// propsParam: this.$attrs,
...
...
@@ -95,7 +91,7 @@ export default {
showTab
:
"bdcqldjml"
,
// 选中状态,根据表格中权利类型判断
};
},
mounted
()
{
mounted
()
{
this
.
getdata
();
},
methods
:
{
...
...
@@ -105,7 +101,7 @@ export default {
* @param {*} obj
* @author: renchao
*/
getCaption
(
obj
)
{
getCaption
(
obj
)
{
let
index
=
obj
.
lastIndexOf
(
"="
);
obj
=
obj
.
substring
(
index
+
1
,
obj
.
length
);
return
obj
;
...
...
@@ -115,7 +111,7 @@ export default {
* @description: 通过不动产业务号获取参数
* @author: renchao
*/
getdata
()
{
getdata
()
{
this
.
queryForm
=
{
bdcdyh
:
this
.
getCaption
(
window
.
location
.
href
),
currentPage
:
1
,
...
...
@@ -147,7 +143,7 @@ export default {
* @param {*} b
* @author: renchao
*/
loadBdcdylist
(
a
,
b
)
{
loadBdcdylist
(
a
,
b
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
a
);
formdata
.
append
(
"bestepid"
,
b
);
...
...
@@ -166,14 +162,14 @@ export default {
* @author: miaofang
* 点击不动产单元号事件
*/
getBdcdyh
(
val
)
{
getBdcdyh
(
val
)
{
this
.
addloadData
(
val
);
},
/**
* @description: addloadData
* @author: miaofang
*/
addloadData
(
val
)
{
addloadData
(
val
)
{
getBdcqljqtsx
({
bdcdyid
:
val
.
bdcdyid
,
bdcdyh
:
val
.
bdcdyh
,
...
...
@@ -201,7 +197,7 @@ export default {
* @description: loadData
* @author: renchao
*/
loadData
(
val
)
{
loadData
(
val
)
{
getBdcqljqtsx
({
bdcdyid
:
this
.
currentSelectProps
.
bdcdyid
,
bdcdyh
:
val
,
...
...
@@ -215,7 +211,7 @@ export default {
this
.
defaultNode
=
getNode
(
this
.
currentSelectProps
.
qllx
,
{
linShi
:
0
,
xianShi
:
0
,
liShi
:
0
},
res
.
result
.
bdcdylx
||
""
res
.
result
.
bdcdylx
||
""
);
this
.
sfqdata
[
0
].
children
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
id
==
this
.
defaultNode
.
id
)
{
...
...
@@ -247,16 +243,16 @@ export default {
* @param {*} data
* @author: renchao
*/
handleNodeClick
(
data
)
{
handleNodeClick
(
data
)
{
this
.
loadComponent
(
data
.
form
);
},
/**
* @description: setstyle
* @param {*} data
* @author: renchao
* 设置样式和点击定位到当前功能
*/
* @description: setstyle
* @param {*} data
* @author: renchao
* 设置样式和点击定位到当前功能
*/
// setstyle (newindex, index, key) {
// if (key != undefined || this.keyy == index) {
// if (key != undefined) {
...
...
@@ -280,7 +276,7 @@ export default {
* @author: renchao
* 新增列表功能
*/
tap
(
data
,
index
)
{
tap
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
},
/**
...
...
@@ -289,7 +285,7 @@ export default {
* @author: renchao
* 新增列表功能
*/
taplist
(
data
,
index
)
{
taplist
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
this
.
isActive
=
index
;
},
...
...
@@ -298,19 +294,19 @@ export default {
* @param {*} form
* @author: renchao
*/
loadComponent
(
form
)
{
loadComponent
(
form
)
{
this
.
componentTag
=
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
"@/views/registerBook/"
+
form
)));
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
/
deep
/
.rollTable
{
/
deep
/
.rollTable
{
height
:
calc
(
120vh
-
254px
)
!important
;
}
}
.content
{
.content
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
...
...
@@ -331,34 +327,34 @@ export default {
background-color
:
#f5f5f5
;
border
:
1px
solid
rgb
(
228
,
228
,
228
);
}
}
}
/
deep
/
.expanded.el-tree-node__expand-icon
,
/
deep
/
.el-tree-node__expand-icon
{
/
deep
/
.expanded.el-tree-node__expand-icon
,
/
deep
/
.el-tree-node__expand-icon
{
visibility
:
hidden
;
}
}
/
deep
/
.el-tree-node__content
{
/
deep
/
.el-tree-node__content
{
border
:
1px
solid
rgb
(
228
,
228
,
228
);
height
:
45px
;
}
}
/
deep
/
.el-tree-node
:focus
>
.el-tree-node__content
{
/
deep
/
.el-tree-node
:focus
>
.el-tree-node__content
{
//
background-color
:
#f5f5f5
;
//
color
:
#0079fe
;
//
border-right
:
4px
solid
#0079fe
;
}
}
/
deep
/
.el-tree-node
{
/
deep
/
.el-tree-node
{
white-space
:
pre-wrap
;
}
}
/
deep
/
.is-current
>
.el-tree-node__content
{
/
deep
/
.is-current
>
.el-tree-node__content
{
//
background-color
:
#f5f5f5
;
//
color
:
#0079fe
;
//
border-right
:
4px
solid
#0079fe
;
}
/
deep
/
.el-collapse-item__header
{
}
/
deep
/
.el-collapse-item__header
{
width
:
100%
;
cursor
:
pointer
;
position
:
relative
;
...
...
@@ -383,11 +379,11 @@ export default {
display
:
inline-block
;
line-height
:
45px
;
border
:
1px
solid
rgb
(
228
,
228
,
228
);
}
/
deep
/
.el-collapse-item__content
{
}
/
deep
/
.el-collapse-item__content
{
padding-bottom
:
5px
;
}
/
deep
/
.unselected
{
}
/
deep
/
.unselected
{
//
white-space
:
wrap
;
border
:
none
;
cursor
:
pointer
;
...
...
@@ -404,9 +400,9 @@ export default {
justify-content
:
center
;
align-items
:
center
;
}
}
}
.select
{
.select
{
border
:
none
;
cursor
:
pointer
;
width
:
250px
;
...
...
@@ -423,5 +419,5 @@ export default {
justify-content
:
center
;
align-items
:
center
;
}
}
}
</
style
>
...
...
src/views/registerBook/djbfm.vue
View file @
8cf9a8d
...
...
@@ -35,7 +35,7 @@
</p>
</div>
</div>
</div>
</div>
</
template
>
...
...
@@ -78,18 +78,15 @@
width
:
100%
;
height
:
100%
;
position
:
relative
;
.print{
.print
{
//
background-color
:
#0079fe
;
z-index
:
10
;
position
:
absolute
;
left
:
11px
;
top
:
5px
;
}
}
.fm
{
.fm
{
width
:
100%
;
height
:
100%
;
background
:
#fff
;
...
...
src/views/registerBook/fdcq2.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 15:01:13
* @LastEditTime: 2023-09-
22 09:49:44
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -39,14 +39,14 @@
* @description: loadData
* @author: miaofang
*/
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
}
getFdcq2List
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
src/views/registerBook/jsydsyq.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 13:43:36
* @LastEditTime: 2023-09-
22 09:49:31
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -40,11 +40,11 @@
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
(
checkList
=
[]
)
{
getJsydsyqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
src/views/registerBook/ldsyq.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 13:44:0
4
* @LastEditTime: 2023-09-
22 09:53:5
4
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -40,7 +40,7 @@
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
...
...
@@ -50,7 +50,7 @@
getLqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
src/views/registerBook/nydsyq.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 13:44:35
* @LastEditTime: 2023-09-
22 09:53:31
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -46,7 +46,7 @@
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
...
...
@@ -56,7 +56,7 @@
getNydsyqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
@@ -68,13 +68,13 @@
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
this
.
emptycolNum
=
0
}
}
});
})
}
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
src/views/registerBook/qlxxCommon.scss
View file @
8cf9a8d
...
...
@@ -104,7 +104,6 @@
left
:
0
;
z-index
:
2
;
margin-left
:
-2px
;
width
:
200px
;
&
:before
{
content
:
""
;
...
...
@@ -236,8 +235,7 @@
td
:first-child
{
flex
:
inherit
!
important
;
// width: 200px !important;
min-width
:
180px
!
important
;
// min-width: 180px !important;
}
>
tr
:nth-child
(
odd
)
td
{
...
...
src/views/registerBook/sllmsyq.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 13:45:03
* @LastEditTime: 2023-09-
22 09:53:19
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -36,7 +36,7 @@
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
...
...
@@ -46,7 +46,7 @@
getLqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
src/views/registerBook/tdsyq.vue
View file @
8cf9a8d
...
...
@@ -44,7 +44,7 @@
* @description: loadData
* @author: miaofang
*/
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
...
...
@@ -54,7 +54,7 @@
getTdsyqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
src/views/registerBook/ygdj.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 13:40:33
* @LastEditTime: 2023-09-
22 09:52:50
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -36,7 +36,7 @@
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
(
checkList
=
[]
)
{
// 判断是否在登记簿补录调的子页面
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
...
...
@@ -47,7 +47,7 @@
getYgdjList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
@@ -60,7 +60,7 @@
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
}
else
{
this
.
emptycolNum
=
0
;
this
.
emptycolNum
=
0
}
}
})
...
...
src/views/registerBook/yydj.vue
View file @
8cf9a8d
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 15:06:35
* @LastEditTime: 2023-09-
22 09:52:37
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -36,7 +36,7 @@
this
.
loadData
();
},
methods
:
{
loadData
()
{
loadData
(
checkList
=
[]
)
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
...
...
@@ -46,7 +46,7 @@
getYydjList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
qllx
:
this
.
propsParam
.
qllx
,
qszt
:
this
.
checkList
,
qszt
:
checkList
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
...
...
Please
register
or
sign in
to post a comment