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
b1d09c72
authored
2023-09-18 11:05:05 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
2c771f97
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
68 additions
and
179 deletions
src/views/registerBook/tdsyq.vue
src/views/workflow/components/leftmenu/ordinaryMenu.vue
src/views/workflow/mixin/index.js
src/views/workflow/workFrameView.vue
src/views/ywbl/dbx/dbx.vue
src/views/ywbl/ybx/ybx.vue
src/views/zhcx/jdcx/jdcx.vue
src/views/registerBook/tdsyq.vue
View file @
b1d09c7
...
...
@@ -7,114 +7,19 @@
<div
class=
"djxxTable"
>
<djbDetail
:title=
"title"
:shows=
"shows"
:propsParam=
"propsParam"
:columns=
"columns"
:tableData=
"tableData"
/>
<!--
<div
v-show=
"false"
>
<printTemplate
id=
"boxtdsyq"
:tableData=
"tableData"
:render=
"render"
/>
</div>
<div
class=
"tableBox"
>
<div
class=
"title"
>
{{
title
}}
<el-button
class=
"print"
v-show=
"shows"
@
click=
"openPrint()"
>
打印
</el-button
>
<div
class=
"checkbox"
>
<el-checkbox-group
v-model=
"checkList"
@
change=
"checkChange"
>
<el-checkbox
v-for=
"item in qsztList"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox
>
</el-checkbox-group>
</div>
</div>
<div
class=
"xxTableBox rollTable"
>
<!-- 固定前三个 -->
<table
class=
"xxTable"
>
<tr
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
row.qlzt == '4' ? 'linshi' : '',
item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '',
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz' && row.sjlx != '系统数据'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row, 'D')"
>
删除
</el-button
>
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '1'"
>
有效
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '2'"
>
正在补录
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '3'"
>
正在申请
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '4'"
>
正在注销
</div>
<p
v-if=
"!['djyy', 'fj'].includes(item.prop)"
>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
</p>
<el-tooltip
v-else
effect=
"dark"
:content=
"row[item.prop]"
placement=
"top"
popper-class=
"tooltip-width"
>
<span
class=
"ellipsis-line"
>
{{
row
[
item
.
prop
]
}}
</span>
</el-tooltip>
</td>
<td
v-for=
"count in emptycolNum"
:key=
"~count"
></td>
</tr>
</table>
</div>
</div>
-->
</div>
</
template
>
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getTdsyqList
}
from
"@/api/djbDetail.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
export
default
{
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getTdsyqList
}
from
"@/api/djbDetail.js"
;
import
printTemplate
from
"./components/printTemplate.vue"
;
export
default
{
components
:
{
printTemplate
,
},
data
()
{
data
()
{
return
{
printObj
:
{
id
:
"box"
,
...
...
@@ -135,17 +40,17 @@ export default {
render
:
false
,
};
},
created
()
{
created
()
{
this
.
loadData
();
},
methods
:
{
openPrint
()
{
openPrint
()
{
this
.
render
=
true
;
setTimeout
(()
=>
{
this
.
prinsss
();
},
100
);
},
prinsss
()
{
prinsss
()
{
printJS
({
printable
:
"boxtdsyq"
,
// // 文档来源:pdf或图像的url,html元素的id或json数据的对象
type
:
"html"
,
...
...
@@ -164,7 +69,7 @@ export default {
* @description: loadData
* @author: miaofang
*/
loadData
()
{
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
...
...
@@ -195,7 +100,7 @@ export default {
* @description: checkChange
* @author: miaofang
*/
checkChange
()
{
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
...
...
@@ -208,7 +113,7 @@ export default {
* @param {*} code
* @author: miaofang
*/
getQsztName
(
code
)
{
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
...
...
@@ -225,7 +130,7 @@ export default {
* @param {*} del
* @author: miaofang
*/
editDialog
(
row
,
del
)
{
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
...
...
@@ -247,12 +152,12 @@ export default {
});
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
.title
{
@import
"./qlxxCommon.scss"
;
.title
{
position
:
relative
;
.print
{
//
background-color
:
#0079fe
;
...
...
@@ -261,5 +166,5 @@ export default {
left
:
11px
;
top
:
5px
;
}
}
}
</
style
>
...
...
src/views/workflow/components/leftmenu/ordinaryMenu.vue
View file @
b1d09c7
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-09-1
5 17:06:29
* @LastEditTime: 2023-09-1
8 11:00:38
-->
<
template
>
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
...
...
@@ -45,14 +45,12 @@
import
{
mapGetters
}
from
'vuex'
import
{
leftMenu
,
deleteSlbdcdy
,
jdcxLeftMenu
}
from
"@/api/workFlow.js"
export
default
{
props
:
{
paramData
:
{
type
:
Object
,
default
:
()
=>
{
}
}
},
data
()
{
return
{
//受理申请标识码
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
//当前流程所在环节
bestepid
:
this
.
$route
.
query
.
bestepid
,
// 默认选中
activeIndex
:
'0'
,
// 折叠
...
...
@@ -67,6 +65,9 @@
currentSelectProps
:
{}
}
},
mounted
()
{
this
.
loadBdcdylist
();
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
...
...
@@ -78,17 +79,8 @@
}
},
immediate
:
true
},
paramData
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
{
this
.
loadBdcdylist
()
}
},
immediate
:
true
,
deep
:
true
},
},
methods
:
{
/**
* @description: 读取申请单元信息
...
...
@@ -97,11 +89,13 @@
loadBdcdylist
()
{
let
that
=
this
var
formdata
=
new
FormData
();
// 受理申请标识码
formdata
.
append
(
"bsmSlsq"
,
this
.
paramData
.
bsmSlsq
);
// 当前流程所在环节
formdata
.
append
(
"bestepid"
,
this
.
paramData
.
bestepid
);
formdata
.
append
(
"bsmBusiness"
,
this
.
paramData
.
bsmBusiness
);
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
if
(
this
.
$route
.
query
.
bestepid
)
{
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
}
if
(
this
.
$route
.
query
.
bsmBusiness
)
{
formdata
.
append
(
"bsmBusiness"
,
this
.
$route
.
query
.
bsmBusiness
);
}
if
(
this
.
$route
.
query
.
type
==
'jdcx'
)
{
jdcxLeftMenu
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
...
...
src/views/workflow/mixin/index.js
View file @
b1d09c7
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-18
09:32:09
* @LastEditTime: 2023-09-18
10:46:56
*/
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
import
{
uploadUndo
}
from
"@/api/clxx"
;
import
{
getLodop
}
from
"@/utils/LodopFuncs"
import
{
getXtParamsByYwh
}
from
"@/api/djyw.js"
import
{
stepExpandInfo
,
record
,
...
...
@@ -39,19 +38,11 @@ export default {
batchButtonName
:
''
,
// 受理申请信息
slsq
:
{},
dqhj
:
""
,
// 业务流程需要的参数
paramData
:
{},
dqhj
:
""
}
},
created
()
{
// 根据业务号获取系统参数
getXtParamsByYwh
(
this
.
$route
.
query
.
ywh
).
then
(
res
=>
{
this
.
paramData
=
res
.
result
console
.
log
(
this
.
paramData
,
'this.paramData'
);
this
.
isShowMenu
=
true
mounted
()
{
this
.
flowInitParam
();
})
},
methods
:
{
/**
...
...
@@ -60,8 +51,8 @@ export default {
*/
flowInitParam
()
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
paramData
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
paramData
.
bestepid
);
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
if
(
this
.
type
)
{
formdata
.
append
(
"type"
,
"READ_ONLY"
);
}
...
...
@@ -171,7 +162,6 @@ export default {
this
.
$popupDialog
(
'楼盘表'
,
'lpb/index'
,
{
bsm
:
res
.
result
[
0
],
onlyShow
:
false
,
showSave
:
true
,
unitData
:
window
.
unitData
},
'90%'
,
true
)
}
else
{
...
...
@@ -321,7 +311,8 @@ export default {
width
:
"50%"
,
btnShow
:
false
,
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
dataList
:
this
.
unitData
,
})
},
/**
...
...
@@ -342,7 +333,6 @@ export default {
}
})
},
// 上传
/**
* @description: 上传
* @param {*} file
...
...
src/views/workflow/workFrameView.vue
View file @
b1d09c7
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
5 16:32:06
* @LastEditTime: 2023-09-1
8 10:49:50
-->
<
template
>
<div
class=
"container"
>
...
...
@@ -26,10 +26,8 @@
<!-- 内容框架 -->
<div
class=
"containerFrame"
>
<!-- 左侧菜单栏 区分业务-->
<div
v-if=
"isShowMenu"
>
<segmentMenu
:paramData=
"paramData"
v-if=
"['A0320099','A0330099' ].includes(slsq.djqxbm)"
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<ordinaryMenu
:paramData=
"paramData"
v-else
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
</div>
<segmentMenu
v-if=
"['A0320099','A0330099' ].includes(slsq.djqxbm)"
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<ordinaryMenu
v-else
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<div
class=
"leftCon"
>
<!-- 分屏左侧预览 -->
...
...
@@ -71,8 +69,6 @@
},
data
()
{
return
{
// 左侧是否显示,获取完成系统参数之后再显示
isShowMenu
:
false
,
// 流程图
imgSrc
:
""
,
// 折叠
...
...
src/views/ywbl/dbx/dbx.vue
View file @
b1d09c7
...
...
@@ -315,24 +315,19 @@
);
window
.
open
(
href
,
`djbworkFrame
${
item
.
bsmSlsq
}
`
);
}
else
{
// const { href } = this.$router.resolve(
// "/workFrame?bsmSlsq=" +
// item.bsmSlsq +
// "&bestepid=" +
// item.bestepid +
// "&bsmBusiness=" +
// "&sqywbm=" +
// item.djywbm +
// "&zbhj=" +
// item.zbhj
// );
// window.open(href, `workFrame${item.bsmSlsq}`);
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrame?ywh='
+
item
.
ywh
+
'&zbhj='
+
item
.
zbhj
)
window
.
open
(
href
,
`workFrame
${
item
.
ywh
}
`
)
const
{
href
}
=
this
.
$router
.
resolve
(
"/workFrame?bsmSlsq="
+
item
.
bsmSlsq
+
"&bestepid="
+
item
.
bestepid
+
"&bsmBusiness="
+
"&sqywbm="
+
item
.
djywbm
+
"&zbhj="
+
item
.
zbhj
);
window
.
open
(
href
,
`workFrame
${
item
.
bsmSlsq
}
`
);
}
localStorage
.
setItem
(
"ywbl"
,
JSON
.
stringify
(
item
));
//从待办箱进入的调取任务领取接口
...
...
src/views/ywbl/ybx/ybx.vue
View file @
b1d09c7
...
...
@@ -274,8 +274,15 @@
);
window
.
open
(
href
,
`djbworkFrameview
${
item
.
bsmSlsq
}
`
);
}
else
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?ywh='
+
item
.
ywh
+
'&type=jdcx'
)
window
.
open
(
href
,
`urlname
${
item
.
ywh
}
`
)
const
{
href
}
=
this
.
$router
.
resolve
(
"/workFrameView?bsmSlsq="
+
item
.
bsmSlsq
+
"&bestepid="
+
item
.
bestepid
+
"&sqywbm="
+
item
.
djywbm
+
'&type=jdcx'
);
window
.
open
(
href
,
`urlname
${
item
.
bsmSlsq
}
`
);
}
}
}
...
...
src/views/zhcx/jdcx/jdcx.vue
View file @
b1d09c7
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
9-15 15:06:50
* @LastEditTime: 2023-0
7-25 16:34:27
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -114,6 +114,7 @@
this
.
queryClick
()
},
methods
:
{
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
...
...
@@ -138,6 +139,7 @@
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
...
...
@@ -149,8 +151,8 @@
* @author: renchao
*/
openDialog
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?
ywh='
+
item
.
ywh
+
'&type=jdcx'
)
window
.
open
(
href
,
`urlname
${
item
.
ywh
}
`
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?
bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
item
.
bsmBusiness
+
'&viewtype=3'
+
'&type=jdcx'
)
window
.
open
(
href
,
`urlname
${
item
.
bsmSlsq
}
`
)
}
}
}
...
...
Please
register
or
sign in
to post a comment