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
99afa86e
authored
2023-08-23 13:26:33 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
into dev
2 parents
0874a2e9
09e81f08
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
10 deletions
src/views/workflow/components/dialog/zslq.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/fdcqxmTable.vue
src/views/workflow/components/dialog/zslq.vue
View file @
99afa86
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
7-28 15:45:56
* @LastEditTime: 2023-0
8-22 16:58:24
-->
<
template
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
...
...
@@ -23,7 +23,8 @@
</el-col>
</el-row>
<lb-table
:column=
"tableData.columns"
@
row-dblclick=
"handleRowClick"
ref=
"table"
@
selection-change=
"handleSelectionChange"
:data=
"tableData.data"
<lb-table
:column=
"tableData.columns"
@
row-dblclick=
"handleRowClick"
ref=
"table"
@
selection-change=
"handleSelectionChange"
:data=
"tableData.data"
:pagination=
"false"
:calcHeight=
"300"
>
</lb-table>
...
...
@@ -114,15 +115,20 @@
})
},
methods
:
{
//列表初始化
/**
* @description: 列表初始化
* @author: renchao
*/
loadGrid
()
{
let
that
=
this
getUnclaimedBdcqz
({
bsmSlsq
:
Vue
.
prototype
.
$currentRoute
.
query
.
bsmSlsq
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
.
data
=
res
.
result
.
list
;
this
.
$nextTick
(()
=>
{
this
.
tableData
.
data
.
forEach
(
item
=>
{
that
.
$refs
.
table
.
toggleRowSelection
(
item
)
})
})
this
.
ruleForm
.
fzrmc
=
res
.
result
.
fzrmc
this
.
ruleForm
.
fzsj
=
res
.
result
.
fzsj
this
.
ruleForm
.
fzsl
=
res
.
result
.
fzsl
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
99afa86
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-22 16:
15:45
* @LastEditTime: 2023-08-22 16:
37:00
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -151,7 +151,7 @@
const
maxWidth
=
336
;
// 最大宽度限制
let
lines
=
this
.
bdcqz
.
qlqtzk
?
this
.
bdcqz
.
qlqtzk
.
split
(
'\n'
)
:
[];
lines
.
forEach
((
line
,
index
)
=>
{
const
y
=
463
+
(
index
*
30
);
// 每行文本的垂直位置
const
y
=
463
+
(
index
*
45
);
// 每行文本的垂直位置
let
currentLine
=
''
;
let
arr
=
[];
for
(
let
word
of
line
)
{
...
...
@@ -169,9 +169,9 @@
context
.
fillText
(
line
,
129
,
y
+
(
index
*
20
));
// 调整行高
})
})
let
lines1
=
this
.
bdcqz
.
fj
?
this
.
bdcqz
.
fj
.
split
(
'
'
)
:
[];
let
lines1
=
this
.
bdcqz
.
fj
?
this
.
bdcqz
.
fj
.
split
(
'
\n
'
)
:
[];
lines1
.
forEach
((
line
,
index
)
=>
{
const
y
=
100
+
(
index
*
27
);
// 每行文本的垂直位置
const
y
=
100
+
(
index
*
30
);
// 每行文本的垂直位置
let
currentLine
=
''
;
let
arr
=
[];
for
(
let
word
of
line
)
{
...
...
@@ -186,7 +186,7 @@
}
arr
.
push
(
currentLine
);
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
580
,
y
+
(
index
*
20
));
// 调整行高
context
.
fillText
(
line
,
580
,
y
+
(
index
*
16
));
// 调整行高
})
})
let
lines3
=
this
.
bdcqz
.
syqx
?
this
.
bdcqz
.
syqx
.
split
(
' '
)
:
[];
...
...
@@ -337,7 +337,7 @@
})
// fj
let
lines1
=
this
.
bdcqz
.
fj
?
this
.
bdcqz
.
fj
.
split
(
'
'
)
:
[];
let
lines1
=
this
.
bdcqz
.
fj
?
this
.
bdcqz
.
fj
.
split
(
'
\n
'
)
:
[];
lines1
.
forEach
((
line
,
index
)
=>
{
const
y
=
590
+
(
index
*
27
);
// 每行文本的垂直位置
let
currentLine
=
''
;
...
...
src/views/workflow/components/fdcqxmTable.vue
View file @
99afa86
...
...
@@ -38,7 +38,22 @@
</el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"fwxz"
label=
"房屋性质"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<treeselect
v-model=
"scope.row.fwxz"
:disabled=
"!ableOperation"
noOptionsText=
"暂无数据"
placeholder=
""
:show-count=
"true"
:options=
"dictData['A19']"
:normalizer=
"normalizer"
:appendToBody=
"true"
z-index=
"9999"
@
input=
"updaterow(scope.row)"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"ghyt"
label=
"房屋用途"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<treeselect
...
...
Please
register
or
sign in
to post a comment