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
156a53a1
authored
2023-06-25 08:55:22 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
a38313b6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
86 deletions
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
src/views/djbworkflow/workFrame.vue
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
View file @
156a53a
...
...
@@ -32,8 +32,6 @@
<div>
<p
v-if=
"item.operate=='D'"
>
{{
item
.
qllxmc
}}
<span
class=
"tpcolor"
>
(删除)
</span></p>
<p
v-else
>
{{
item
.
qllxmc
}}
<span
class=
"tpcolor"
>
(
{{
item
.
operate
==
"U"
?
"编辑"
:
"新增"
}}
)
</span></p>
<!--
<p
class=
"title-detail"
>
{{
item
.
zl
}}
</p>
-->
</div>
<i
class=
"el-icon-delete"
...
...
@@ -106,9 +104,10 @@ export default {
};
},
mounted
()
{
this
.
loadBdcdylist
();
this
.
getleftMenubl
();
this
.
loadBdcdylist
();
this
.
getleftMenubl
();
},
computed
:
{
// ...mapGetters(["isRefresh"]),
...
...
@@ -130,7 +129,6 @@ export default {
leftMenu
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
currentSelectProps
=
res
.
result
[
0
];
console
.
log
(
"读取申请单元信息"
);
this
.
$emit
(
"getCurrentSelectProps"
,
this
.
currentSelectProps
);
if
(
add
){
this
.
$parent
.
getQllxByBdcdyid
()
...
...
@@ -143,8 +141,6 @@ export default {
getleftMenubl
(
row
)
{
leftMenubl
(
this
.
bsmSlsq
).
then
((
res
)
=>
{
this
.
supplementarylist
=
res
.
result
;
console
.
log
(
"获取右侧菜单"
);
this
.
unitClick
(
0
)
if
(
row
){
this
.
supplementarylist
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
bsmRepair
==
row
.
bsmRepair
){
...
...
@@ -154,6 +150,11 @@ export default {
}
})
}
if
(
this
.
supplementarylist
.
length
){
this
.
unitClick
(
0
)
}
else
{
this
.
$emit
(
"getCurrentSelectProps"
,
this
.
currentSelectProps
);
}
});
},
handleNodeClick
(
data
,
node
,
elem
)
{
...
...
@@ -162,7 +163,6 @@ export default {
},
//申请单元点击事件
unitClick
(
index
)
{
console
.
log
(
"申请单元点击事件"
);
this
.
currentSelectProps
=
this
.
supplementarylist
[
index
];
this
.
$emit
(
"getCurrentSelectProps"
,
this
.
currentSelectProps
);
},
...
...
@@ -185,6 +185,11 @@ export default {
});
this
.
$nextTick
(()
=>
{
this
.
getleftMenubl
();
this
.
blxxClick
()
if
(
!
this
.
supplementarylist
.
length
){
getdjblist
()
}
});
});
})
...
...
@@ -197,7 +202,10 @@ export default {
},
//补录信息点击事件默认展示第一条补录记录
blxxClick
()
{
this
.
unitClick
(
0
);
if
(
this
.
supplementarylist
.
length
){
this
.
unitClick
(
0
);
}
},
},
};
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
View file @
156a53a
...
...
@@ -332,12 +332,11 @@ export default {
mounted
()
{},
methods
:
{
loadData
()
{
console
.
log
(
"房地产权"
);
console
.
log
(
"房地产权"
,
this
.
propsParam
);
init
(
this
.
propsParam
.
bsmRepair
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
ruleForm
=
res
.
result
;
console
.
log
(
"this.ruleFormssssssssssssssssssssssssssssss"
,
this
.
ruleForm
);
this
.
isShow
=
true
;
// this.tableData = res.result;
// if (this.tableData.length < datas.columns().emptycolNum) {
...
...
src/views/djbworkflow/workFrame.vue
View file @
156a53a
...
...
@@ -77,6 +77,7 @@ import { getStepFormInfo } from "@/api/fqsq.js"
import
NoticeBar
from
"@/components/NoticeBar/index"
;
import
ProcessViewer
from
"./components/processViewer.vue"
;
// 引入左侧菜单
import
{
leftMenubl
}
from
"@/api/djbbl.js"
;
import
ordinaryMenu
from
"./components/leftmenu/ordinaryMenu.vue"
;
import
qllxDailog
from
"./djbBook/components/qllxDailog"
;
import
selectBdc
from
"@/views/ywbl/ywsq/selectBdc.vue"
;
...
...
@@ -131,22 +132,29 @@ export default {
};
},
mounted
()
{
// this.getleftMenubl()
},
methods
:
{
stepForm
(
qllx
)
{
this
.
oneSelectProps
.
qllx
=
qllx
getStepFormInfo
(
this
.
oneSelectProps
).
then
((
res
)
=>
{
this
.
tabList
=
res
.
result
if
(
this
.
$refs
.
Menu
.
supplementarylist
.
length
)
{
getStepFormInfo
(
this
.
oneSelectProps
).
then
((
res
)
=>
{
this
.
$nextTick
(
function
()
{
this
.
tabList
=
res
.
result
this
.
tabName
=
this
.
tabList
[
0
].
value
;
console
.
log
(
"this.tabName"
,
this
.
tabName
);
});
this
.
getFromRouter
(
this
.
tabName
)
});
})
}
},
// 获取右侧菜单
// getleftMenubl() {
// leftMenubl(this.bsmSlsq).then((res) => {
// this.supplementarylist = res.result;
// })
// },
getQllxByBdcdyid
()
{
if
(
this
.
currentSelectProps
.
bdcdyid
){
getQllxByBdcdyid
({
bdcdyid
:
this
.
currentSelectProps
.
bdcdyid
}).
then
(
...
...
@@ -162,25 +170,19 @@ export default {
},
// 获取右侧选项卡
getCurrentSelectProps
(
val
)
{
console
.
log
(
"vallllllllllllllllll"
,
val
);
if
(
val
.
bdcdyid
){
this
.
oneSelectProps
=
val
;
}
console
.
log
(
"this.oneSelectProps"
,
this
.
oneSelectProps
);
this
.
currentSelectProps
=
val
;
if
(
this
.
currentSelectProps
.
bsmRepair
)
{
console
.
log
(
"进入补录"
);
this
.
tabset
(
val
);
this
.
stepForm
(
this
.
currentSelectProps
.
qllx
)
}
else
if
(
!
this
.
oneget
){
console
.
log
(
"进入登记簿"
);
this
.
getdjblist
();
}
if
(
this
.
oneget
){
console
.
log
(
"进入补录"
);
this
.
oneget
=
false
this
.
tabset
(
val
);
this
.
stepForm
(
this
.
currentSelectProps
.
qllx
)
}
...
...
@@ -197,15 +199,10 @@ export default {
this
.
defaultNode
=
getNode
(
this
.
currentSelectProps
.
qllx
,
{
linShi
:
0
,
xianShi
:
0
,
liShi
:
0
},
""
);
this
.
tabName
=
this
.
defaultNode
.
id
;
//data[0].id为默认选中的节点
});
}
});
setTimeout
(()
=>
{
let
settree
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
treedata
));
let
settree
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
treedata
));
this
.
tabdata
=
[
...
settree
,
...
settree
[
1
].
children
[
0
].
children
[
0
].
children
,
...
...
@@ -215,66 +212,15 @@ export default {
arr
[
index
].
value
=
item
.
id
;
});
this
.
tabList
=
this
.
tabdata
;
},
200
);
},
tabset
(
val
)
{
console
.
log
(
"valsweqweqrfwqerqweq"
,
val
);
// console.log("this.currentSelectProps2222222222222",this.currentSelectProps);
this
.
stepForm
(
this
.
currentSelectProps
.
qllx
)
// this.tabList = [
// {
// name: val.qllxmc + "补录信息",
// value: "slxx",
// sort: 1,
// },
// {
// name: "审批意见",
// value: "spyj",
// sort: 2,
// },
// {
// name: "材料信息",
// value: "clxx",
// sort: 2,
// },
// ];
}
});
},
// tabset(val) {
// this.tabName = "";
// this.tabList = [
// {
// name: val.qllxmc + "补录信息",
// value: "slxx",
// sort: 1,
// },
// {
// name: "审批意见",
// value: "spyj",
// sort: 2,
// },
// {
// name: "材料信息",
// value: "clxx",
// sort: 2,
// },
// ];
// this.$nextTick(function () {
// this.tabName = "slxx";
// });
// },
//右侧表单选项卡事件
beforeLeave
(
activeName
,
oldActiveName
)
{
console
.
log
(
"右侧表单选项卡事件"
,
activeName
);
beforeLeave
(
activeName
)
{
if
(
activeName
&&
activeName
!=
0
)
this
.
getFromRouter
(
activeName
);
},
//切换选项卡内容组件
getFromRouter
(
tabname
)
{
console
.
log
(
"tabnameaaaaaaaaaaaaaaaaaaaa"
,
tabname
);
this
.
componentTag
=
getForm
(
tabname
);
},
...
...
@@ -314,7 +260,7 @@ export default {
}
}).
catch
((
res
)
=>
{
console
.
log
(
"错
i了哦
"
,
res
);
console
.
log
(
"错"
,
res
);
});;
},
},
...
...
Please
register
or
sign in
to post a comment