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
ba4ae044
authored
2023-06-26 11:13:12 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
材料分屏
1 parent
df3a5b34
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
64 deletions
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
src/views/djbworkflow/mixin/index.js
src/views/djbworkflow/workFrame.vue
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
View file @
ba4ae04
...
...
@@ -76,22 +76,22 @@
<el-input
v-model=
"ruleForm.qlxx.zl"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
v-if=
"ruleForm.fdcq2.ftjzmj"
>
<el-form-item
label=
"土地使用权人:"
>
<el-input
v-model=
"ruleForm.fdcq2.tdsyqr"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
v-if=
"ruleForm.fdcq2.ftjzmj"
>
<el-form-item
label=
"独用土地面积:"
>
<el-input
v-model=
"ruleForm.fdcq2.dytdmj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
v-if=
"ruleForm.fdcq2.ftjzmj"
>
<el-form-item
label=
"分摊土地面积:"
>
<el-input
v-model=
"ruleForm.fdcq2.fttdmj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
v-if=
"ruleForm.fdcq2.ftjzmj"
>
<!-- 下拉框 -->
<el-form-item
label=
"土地性质:"
style=
"margin-bottom:3px"
>
<treeselect
v-model=
"ruleForm.fdcq2.jedw"
placeholder=
""
...
...
@@ -99,7 +99,7 @@
:show-count=
"true"
:options=
"dictData['A45']"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
v-if=
"ruleForm.fdcq2.ftjzmj"
>
<el-form-item
label=
"房地产交易价格:"
>
<div
style=
"display:flex"
>
<el-input
v-model=
"ruleForm.fdcq2.qjjg"
style=
"width:500%"
></el-input>
...
...
@@ -164,7 +164,7 @@
<el-input
v-model=
"ruleForm.fdcq2.zyjzmj"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
v-if=
"ruleForm.fdcq2.ftjzmj"
>
<el-form-item
label=
"分摊建筑面积:"
>
<el-input
v-model=
"ruleForm.fdcq2.ftjzmj"
></el-input>
</el-form-item>
...
...
@@ -320,6 +320,7 @@ export default {
init
(
this
.
propsParam
.
bsmRepair
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ruleForm
=
res
.
result
;
console
.
log
(
"this.ruleForm"
,
this
.
ruleForm
);
this
.
isShow
=
true
;
}
});
...
...
src/views/djbworkflow/mixin/index.js
View file @
ba4ae04
...
...
@@ -79,20 +79,16 @@ export default {
})
break
;
case
"B2"
:
//材料分屏按钮
this
.
splitScreen
=
this
.
splitScreen
?
false
:
true
;
this
.
$store
.
dispatch
(
"app/set1tScreen"
,
this
.
splitScreen
);
if
(
this
.
splitScreen
)
{
//如果当前选项卡为材料信息内容,递减到上一个选项卡内容
if
(
this
.
tabName
==
this
.
clxxTab
.
value
)
{
this
.
tabName
=
this
.
tabList
[
this
.
clxxIndex
-
1
].
value
;
this
.
getFromRouter
(
this
.
tabList
[
this
.
clxxIndex
-
1
].
value
);
}
//删除材料信息选项卡数据
this
.
tabList
.
splice
(
this
.
clxxIndex
,
1
);
}
else
{
//新增材料信息选项卡数据
this
.
tabList
.
splice
(
this
.
clxxIndex
,
0
,
this
.
clxxTab
);
}
this
.
closefp
()
// if (this.splitScreen) {
// //如果当前选项卡为材料信息内容,递减到上一个选项卡内容
// if (this.tabName == this.clxxTab.value) {
// this.tabName = this.tabList[0].value;
// this.getFromRouter(this.tabList[0].value);
// }
// }
break
;
case
"B3"
:
//材料导入
document
.
getElementById
(
"cldr"
).
click
();
...
...
src/views/djbworkflow/workFrame.vue
View file @
ba4ae04
...
...
@@ -73,7 +73,7 @@
<
script
>
import
WorkFlow
from
"./mixin/index"
;
import
{
getForm
}
from
"./flowform"
;
import
{
getStepFormInfo
}
from
"@/api/fqsq.js"
import
{
getStepFormInfo
}
from
"@/api/fqsq.js"
;
import
NoticeBar
from
"@/components/NoticeBar/index"
;
import
ProcessViewer
from
"./components/processViewer.vue"
;
// 引入左侧菜单
...
...
@@ -118,12 +118,9 @@ export default {
//设置表单传递数据
currentSelectProps
:
{},
// 首次拿到的业务信息
oneSelectProps
:{},
oneSelectProps
:
{},
//材料信息选择卡索引
clxxIndex
:
""
,
//材料信息选项卡对象
clxxTab
:
{},
oneget
:
true
,
oneget
:
true
,
//页面监听时间
_beforeUnload_time
:
""
,
treedata
:
{},
...
...
@@ -132,21 +129,20 @@ export default {
};
},
mounted
()
{
// this.getleftMenubl()
// this.getleftMenubl()
},
methods
:
{
stepForm
(
qllx
)
{
this
.
oneSelectProps
.
qllx
=
qllx
if
(
this
.
$refs
.
Menu
.
supplementarylist
.
length
){
stepForm
(
qllx
)
{
this
.
oneSelectProps
.
qllx
=
qllx
;
if
(
this
.
$refs
.
Menu
.
supplementarylist
.
length
)
{
getStepFormInfo
(
this
.
oneSelectProps
).
then
((
res
)
=>
{
this
.
$nextTick
(
function
()
{
this
.
tabList
=
res
.
result
this
.
tabName
=
this
.
tabList
[
0
].
value
;
this
.
getFromRouter
(
this
.
tabName
)
this
.
tabList
=
res
.
result
;
this
.
tabName
=
this
.
tabList
[
0
].
value
;
this
.
getFromRouter
(
this
.
tabName
);
});
});
})
}
},
// 获取右侧菜单
...
...
@@ -156,7 +152,7 @@ export default {
// })
// },
getQllxByBdcdyid
()
{
if
(
this
.
currentSelectProps
.
bdcdyid
)
{
if
(
this
.
currentSelectProps
.
bdcdyid
)
{
getQllxByBdcdyid
({
bdcdyid
:
this
.
currentSelectProps
.
bdcdyid
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -166,26 +162,22 @@ export default {
}
);
}
},
// 获取右侧选项卡
getCurrentSelectProps
(
val
)
{
if
(
val
.
bdcdyid
)
{
if
(
val
.
bdcdyid
)
{
this
.
oneSelectProps
=
val
;
}
this
.
currentSelectProps
=
val
;
if
(
this
.
currentSelectProps
.
bsmRepair
)
{
this
.
stepForm
(
this
.
currentSelectProps
.
qllx
)
}
else
if
(
!
this
.
oneget
)
{
this
.
stepForm
(
this
.
currentSelectProps
.
qllx
);
}
else
if
(
!
this
.
oneget
)
{
this
.
getdjblist
();
}
if
(
this
.
oneget
){
this
.
oneget
=
false
this
.
stepForm
(
this
.
currentSelectProps
.
qllx
)
if
(
this
.
oneget
)
{
this
.
oneget
=
false
;
this
.
stepForm
(
this
.
currentSelectProps
.
qllx
);
}
},
// 获取渲染登记簿列表
getdjblist
()
{
...
...
@@ -196,10 +188,11 @@ export default {
if
(
res
.
code
===
200
)
{
this
.
treedata
=
loadTreeData
(
res
.
result
,
this
.
bdcdyh
);
this
.
$nextTick
(
function
()
{
this
.
defaultNode
=
getNode
(
this
.
currentSelectProps
.
qllx
,
{
linShi
:
0
,
xianShi
:
0
,
liShi
:
0
},
);
this
.
defaultNode
=
getNode
(
this
.
currentSelectProps
.
qllx
,
{
linShi
:
0
,
xianShi
:
0
,
liShi
:
0
,
});
this
.
tabName
=
this
.
defaultNode
.
id
;
//data[0].id为默认选中的节点
});
let
settree
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
treedata
));
...
...
@@ -221,11 +214,18 @@ export default {
},
//切换选项卡内容组件
getFromRouter
(
tabname
)
{
console
.
log
(
"tabname"
,
tabname
);
this
.
componentTag
=
getForm
(
tabname
);
},
closefp
()
{
console
.
log
(
"点击分屏"
);
this
.
splitScreen
=
this
.
splitScreen
?
false
:
true
;
this
.
$store
.
dispatch
(
"app/set1tScreen"
,
this
.
splitScreen
);
this
.
getFromRouter
(
this
.
tabList
[
0
].
value
);
this
.
clxxForm
=
getForm
(
this
.
tabList
[
1
].
value
);
},
// 增加补录记录
addRepairRecord
(
row
,
del
)
{
addRepairRecord
(
row
,
del
)
{
let
from
=
{
bsmQlxx
:
""
,
bsmSlsq
:
this
.
bsmSlsq
,
...
...
@@ -235,15 +235,16 @@ export default {
};
if
(
row
)
{
from
.
bsmQlxx
=
row
.
bsmQlxx
;
if
(
del
)
{
if
(
del
)
{
from
.
operate
=
del
;
}
else
{
}
else
{
from
.
operate
=
row
.
bsmQlxx
?
"U"
:
"C"
;
}
from
.
qllx
=
row
.
qllx
;
}
addRepairRecord
(
from
).
then
((
res
)
=>
{
if
(
res
.
code
==
'200'
){
addRepairRecord
(
from
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
"200"
)
{
this
.
$refs
.
qllxlist
.
dialogVisible
=
false
;
this
.
$nextTick
(()
=>
{
this
.
$refs
.
Menu
.
getleftMenubl
(
res
.
result
);
...
...
@@ -252,16 +253,16 @@ export default {
message
:
"补录成功!"
,
});
});
}
else
{
this
.
$alert
(
res
.
message
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'warning'
}
else
{
this
.
$alert
(
res
.
message
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"warning"
,
});
}
}).
catch
((
res
)
=>
{
console
.
log
(
"错"
,
res
);
});
;
})
.
catch
((
res
)
=>
{
console
.
log
(
"错"
,
res
);
});
},
},
};
...
...
Please
register
or
sign in
to post a comment