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
cad8ca6b
authored
2024-02-20 13:53:03 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改受理申请对应的子组件移动
1 parent
5d257f47
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
386 deletions
src/views/workflow/components/dyaqTable.vue
src/views/workflow/components/fdcqxmTable.vue
src/views/workflow/main/slsqxx/diyaq/batchSlxx.vue
src/views/workflow/main/slsqxx/fdcq1/slxx.vue
src/views/workflow/components/dyaqTable.vue
deleted
100644 → 0
View file @
5d257f4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-17 13:51:29
-->
<
template
>
<lb-table
:column=
"column"
:maxHeight=
"200"
:heightNumSetting=
"true"
:pagination=
"false"
:key=
"key"
:data=
"tableData"
>
</lb-table>
</
template
>
<
script
>
import
addQlr
from
'./dialog/addQlr.vue'
import
{
mapGetters
}
from
'vuex'
export
default
{
components
:
{
addQlr
},
computed
:
{
...
mapGetters
([
"dictData"
]),
},
props
:
{
tableData
:
{
type
:
Array
,
default
:
function
()
{
return
[]
}
},
gyfs
:
{
type
:
String
,
default
:
'1'
}
},
data
()
{
return
{
key
:
0
,
dataIndex
:
0
,
dialog
:
false
,
details
:
{},
tableDataList
:
[],
qlrCommonTable
:
[
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
$index
+
1
}
<
/div
>
)
}
},
{
prop
:
"qlrmc"
,
label
:
"抵押权人"
},
{
prop
:
"ywrmc"
,
label
:
"抵押人"
},
{
prop
:
"bdcqzh"
,
label
:
"不动产登记证明号"
},
{
prop
:
"dyjelx"
,
label
:
"抵押金额类型"
},
{
prop
:
"dyfsmc"
,
label
:
"抵押方式"
},
{
prop
:
"qdjgmc"
,
label
:
"抵押金额"
},
{
prop
:
"qlmjmc"
,
label
:
"抵押面积"
},
{
prop
:
"zwlxqssj"
,
label
:
"债务履行开始时间"
},
{
prop
:
"zwlxjssj"
,
label
:
"债务履行结束时间"
},
{
prop
:
"bdcdyh"
,
label
:
"不动产单元号"
},
{
prop
:
"zl"
,
label
:
"坐落"
},
],
column
:
this
.
qlrCommonTable
}
},
watch
:
{
tableData
:
{
handler
:
function
(
val
,
oldVal
)
{
let
that
=
this
if
(
val
.
length
==
0
||
!
val
)
{
that
.
tableDataList
=
_
.
cloneDeep
([{
sqrmc
:
''
,
dlrzjlx
:
''
,
dlrzjh
:
''
,
fr
:
''
}])
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
}
},
immediate
:
true
,
deep
:
true
},
gyfs
:
{
handler
(
newVal
,
oldValue
)
{
let
dataList
=
_
.
cloneDeep
(
this
.
qlrCommonTable
)
if
(
newVal
==
'1'
)
{
this
.
column
=
_
.
cloneDeep
(
dataList
).
slice
(
1
,
dataList
.
length
)
}
else
if
((
newVal
==
'2'
))
{
this
.
column
=
dataList
}
else
{
this
.
column
=
_
.
cloneDeep
(
dataList
)
this
.
column
.
splice
(
2
,
0
,
{
prop
:
"qlbl"
,
label
:
"份数"
})
}
},
immediate
:
true
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
/
deep
/
.el-table
th
{
height
:
30px
!important
;
}
/
deep
/
.el-table--small
.el-table__cell
{
padding
:
5px
;
}
</
style
>
src/views/workflow/components/fdcqxmTable.vue
deleted
100644 → 0
View file @
5d257f4
<!--
* @Description: 房屋多幢明细
* @Autor:
* @LastEditTime: 2023-09-01 13:29:29
-->
<
template
>
<div>
<el-table
:data=
"tableDataList"
border
:pagination=
"false"
:key=
"key"
:header-cell-style=
"
{ 'text-align': 'center' }"
:heightNumSetting="true"
:minHeight="150"
height="150"
style="width: 100%">
<el-table-column
prop=
"index"
width=
"50"
:render-header=
"renderHeader"
>
<template
slot-scope=
"scope"
>
<div
style=
"text-align: center"
>
{{
scope
.
$index
+
1
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"bdcdyh"
label=
"不动产单元号"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<div
style=
"text-align: center"
>
{{
scope
.
row
.
bdcdyh
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"xmmc"
label=
"项目名称"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-input
class=
"item"
:disabled=
"!ableOperation"
v-model=
"scope.row.xmmc"
placeholder=
"请输入内容"
@
input=
"updaterow(scope.row)"
>
</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
v-model=
"scope.row.ghyt"
:disabled=
"!ableOperation"
noOptionsText=
"暂无数据"
placeholder=
""
:show-count=
"true"
:options=
"dictData['A17']"
:normalizer=
"normalizer"
:appendToBody=
"true"
z-index=
"9999"
@
input=
"updaterow(scope.row)"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"fwjg"
label=
"房屋结构"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<treeselect
v-model=
"scope.row.fwjg"
:disabled=
"!ableOperation"
noOptionsText=
"暂无数据"
placeholder=
""
:show-count=
"true"
:options=
"dictData['A46']"
:normalizer=
"normalizer"
:appendToBody=
"true"
z-index=
"9999"
@
input=
"updaterow(scope.row)"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"jzmj"
label=
"建筑面积"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-input
maxlength=
"12"
class=
"item"
:disabled=
"!ableOperation"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
v-model="scope.row.jzmj"
placeholder="请输入内容"
@input="updaterow(scope.row)">
</el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"jgsj"
label=
"竣工时间"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-date-picker
v-model=
"scope.row.jgsj"
type=
"date"
:disabled=
"!ableOperation"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
format=
"yyyy-MM-dd"
@
input=
"updaterow(scope.row)"
>
</el-date-picker>
</
template
>
</el-table-column>
<el-table-column
prop=
"zcs"
label=
"总层数"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-input
class=
"item"
:disabled=
"!ableOperation"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
v-model="scope.row.zcs"
placeholder="请输入内容"
@input="updaterow(scope.row)">
</el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"zts"
label=
"总套数"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-input
class=
"item"
:disabled=
"!ableOperation"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,2})/g)[0]) || null"
v-model="scope.row.zts"
placeholder="请输入内容"
@input="updaterow(scope.row)">
</el-input>
</
template
>
</el-table-column>
</el-table>
</div>
</template>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
export
default
{
computed
:
{
...
mapGetters
([
"dictData"
]),
},
props
:
{
tableData
:
{
type
:
Array
,
default
:
function
()
{
return
[];
},
},
ableOperation
:
{
type
:
Boolean
,
default
:
false
,
},
},
data
()
{
return
{
// 键名转换,方法默认是label和children进行树状渲染
key
:
0
,
tableDataList
:
[],
normalizer
(
node
)
{
if
(
node
.
children
==
null
||
node
.
children
==
"null"
)
{
delete
node
.
children
;
}
return
{
id
:
node
.
dcode
,
label
:
node
.
dname
,
children
:
node
.
children
,
};
},
};
},
mounted
()
{
},
watch
:
{
tableData
:
{
handler
:
function
(
val
,
oldVal
)
{
let
that
=
this
;
this
.
$nextTick
(()
=>
{
if
(
val
.
length
==
0
||
!
val
)
{
that
.
tableDataList
=
_
.
cloneDeep
([
{
yt
:
null
,
qssj
:
""
,
jssj
:
""
,
tdsyqx
:
""
,
},
]);
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
);
}
});
},
immediate
:
true
,
deep
:
true
,
},
},
methods
:
{
/**
* @description: renderHeader
* @author: renchao
*/
renderHeader
()
{
return
(
<
div
>
{
"序号"
}
<
/div
>
);
},
updaterow
(
a
)
{
this
.
$emit
(
"updateFdcwxmList"
,
this
.
tableDataList
);
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.el-input
{
border
:
none
!important
;
}
/
deep
/
.el-table__row
{
border
:
none
!important
;
}
.el-date-editor.el-input
{
width
:
100%
;
}
/
deep
/
.el-table
th
{
height
:
30px
!important
;
}
</
style
>
src/views/workflow/main/slsqxx/diyaq/batchSlxx.vue
View file @
cad8ca6
...
...
@@ -304,7 +304,7 @@
</
template
>
<
script
>
import
qlxxTable
from
"../commonTable/qlxxTable.vue"
;
import
dyaqTable
from
"@/views/workflow/components
/dyaqTable"
;
import
dyaqTable
from
"../commonTable
/dyaqTable"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
{
batchInit
,
saveBatchData
}
from
"@/api/workflow/diyaqFlow.js"
;
import
{
mapGetters
}
from
"vuex"
;
...
...
src/views/workflow/main/slsqxx/fdcq1/slxx.vue
View file @
cad8ca6
...
...
@@ -296,7 +296,7 @@
import
ywmix
from
"@/views/ywbl/mixin/index"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
ywrCommonTable
from
"@/views/workflow/components/ywrCommonTable"
;
import
fdcqxmTable
from
"
@/views/workflow/components
/fdcqxmTable"
;
import
fdcqxmTable
from
"
../commonTable
/fdcqxmTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/fwsyq1Flow.js"
;
import
{
mapGetters
}
from
"vuex"
;
...
...
Please
register
or
sign in
to post a comment