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
9621e352
authored
2023-07-20 19:34:44 +0800
by
yuanbo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加注释
1 parent
311c676b
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
271 additions
and
6 deletions
src/api/dict.js
src/views/workflow/components/clxx/clxx.vue
src/views/workflow/components/clxx/clxxUnify.vue
src/views/workflow/components/dialog/addQlr.vue
src/views/workflow/components/dialog/clxxAddDialog.vue
src/views/workflow/components/dialog/clxxDetailDialog.vue
src/views/workflow/components/dialog/commonOpinion.vue
src/views/workflow/components/dialog/szRecord.vue
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zslq.vue
src/views/workflow/components/dialog/zsyl.vue
src/api/dict.js
View file @
9621e35
...
...
@@ -17,6 +17,11 @@ export function getAllDict () {
method
:
'post'
})
}
/**
* @description: getQlxxDictList
* @param {*} data
* @author: renchao
*/
export
function
getQlxxDictList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/sys/dict/getQlxxDictList'
,
...
...
src/views/workflow/components/clxx/clxx.vue
View file @
9621e35
...
...
@@ -221,6 +221,10 @@
},
methods
:
{
// 自动预览
/**
* @description: 自动预览
* @author: renchao
*/
nextPriview
()
{
if
(
this
.
treeCheckIndex
<
this
.
tableData
.
length
)
{
this
.
treeCheckIndex
++
...
...
@@ -230,6 +234,10 @@
this
.
previewImg
.
bsmSj
=
this
.
tableData
[
this
.
treeCheckIndex
].
bsmSj
}
},
/**
* @description: prevPriview
* @author: renchao
*/
prevPriview
()
{
if
(
this
.
treeCheckIndex
>=
1
)
{
this
.
treeCheckIndex
--
...
...
@@ -240,6 +248,10 @@
}
},
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList
()
{
return
new
Promise
(
resolve
=>
{
this
.
unitData
=
this
.
$parent
.
unitData
;
...
...
@@ -265,6 +277,11 @@
})
})
},
/**
* @description: updateList
* @param {*} val
* @author: renchao
*/
updateList
(
val
)
{
let
that
=
this
if
(
val
!=
null
)
{
//删除最后一张图片时 val=null
...
...
@@ -289,14 +306,29 @@
},
// 左侧菜单点击
/**
* @description: 左侧菜单点击
* @param {*} item
* @author: renchao
*/
menuClick
(
item
)
{
this
.
checkedId
=
item
.
id
},
// 添加材料目录
/**
* @description: 添加材料目录
* @author: renchao
*/
handleAdd
()
{
this
.
isDialog
=
true
;
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward
(
index
,
row
)
{
let
obj
=
{
xh
:
row
.
xh
,
...
...
@@ -317,6 +349,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown
(
index
,
row
)
{
let
obj
=
{
xh
:
row
.
xh
,
...
...
@@ -337,6 +375,11 @@
})
},
// 新增弹窗保存
/**
* @description: 新增弹窗保存
* @param {*} data
* @author: renchao
*/
addSave
(
data
)
{
let
obj
=
{
bsmSlsq
:
this
.
$parent
.
bsmSlsq
,
...
...
@@ -359,6 +402,12 @@
});
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete
(
index
,
row
)
{
let
that
=
this
this
.
$confirm
(
'此操作将永久删除该 是否继续?'
,
'提示'
,
{
...
...
@@ -383,6 +432,12 @@
})
},
// 材料目录点击选中
/**
* @description: 材料目录点击选中
* @param {*} item
* @param {*} index
* @author: renchao
*/
treeClick
(
item
,
index
)
{
this
.
previewImg
.
index
=
0
this
.
treeCheckId
=
item
?.
bsmSj
...
...
@@ -391,11 +446,23 @@
this
.
previewImg
.
bsmSj
=
item
?.
bsmSj
},
// 小图片点击
/**
* @description: 小图片点击
* @param {*} item
* @param {*} index
* @author: renchao
*/
imgClick
(
item
,
index
)
{
this
.
showImg
=
item
;
this
.
titleYs
=
index
+
1
;
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus
(
val
,
code
)
{
let
data
=
this
.
$store
.
getters
.
dictData
[
code
],
name
=
"暂无"
;
...
...
src/views/workflow/components/clxx/clxxUnify.vue
View file @
9621e35
...
...
@@ -74,6 +74,10 @@
},
methods
:
{
// 自动预览
/**
* @description: 自动预览
* @author: renchao
*/
nextPriview
()
{
if
(
this
.
treeCheckIndex
<
this
.
tableData
.
length
)
{
this
.
treeCheckIndex
++
...
...
@@ -83,6 +87,10 @@
this
.
previewImg
.
bsmSj
=
this
.
tableData
[
this
.
treeCheckIndex
].
bsmSj
}
},
/**
* @description: prevPriview
* @author: renchao
*/
prevPriview
()
{
if
(
this
.
treeCheckIndex
>=
1
)
{
this
.
treeCheckIndex
--
...
...
@@ -93,6 +101,11 @@
}
},
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @param {*} type
* @author: renchao
*/
clmlInitList
(
type
)
{
//type 1:列表初始化 2:新增材料
return
new
Promise
(
resolve
=>
{
...
...
@@ -118,6 +131,11 @@
})
})
},
/**
* @description: setChecked
* @param {*} item
* @author: renchao
*/
setChecked
(
item
)
{
this
.
treeCheckId
=
item
.
bsmSj
;
this
.
title
=
item
.
sjmc
;
...
...
@@ -126,6 +144,11 @@
this
.
previewImg
.
imgList
=
item
.
children
;
this
.
previewImg
.
bsmSj
=
item
.
bsmSj
;
},
/**
* @description: updateList
* @param {*} val
* @author: renchao
*/
updateList
(
val
)
{
let
that
=
this
if
(
val
.
children
.
length
!=
[])
{
//删除最后一张图片时 val=null
...
...
@@ -149,10 +172,19 @@
}
},
// 添加材料目录
/**
* @description: 添加材料目录
* @author: renchao
*/
handleAdd
()
{
this
.
isDialog
=
true
;
},
// 新增弹窗保存
/**
* @description: 新增弹窗保存
* @param {*} data
* @author: renchao
*/
addSave
(
data
)
{
let
obj
=
{
bsmSlsq
:
this
.
$parent
.
bsmSlsq
,
...
...
@@ -175,6 +207,12 @@
});
},
// 材料目录点击选中
/**
* @description: 材料目录点击选中
* @param {*} item
* @param {*} index
* @author: renchao
*/
treeClick
(
item
,
index
)
{
this
.
previewImg
.
index
=
0
this
.
treeCheckId
=
item
?.
bsmSj
...
...
@@ -183,11 +221,23 @@
this
.
previewImg
.
bsmSj
=
item
?.
bsmSj
},
// 小图片点击
/**
* @description: 小图片点击
* @param {*} item
* @param {*} index
* @author: renchao
*/
imgClick
(
item
,
index
)
{
this
.
showImg
=
item
;
this
.
titleYs
=
index
+
1
;
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus
(
val
,
code
)
{
let
data
=
this
.
$store
.
getters
.
dictData
[
code
],
name
=
"暂无"
;
...
...
src/views/workflow/components/dialog/addQlr.vue
View file @
9621e35
...
...
@@ -198,10 +198,18 @@
},
},
methods
:
{
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$refs
[
"ruleForm"
].
resetFields
();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/workflow/components/dialog/clxxAddDialog.vue
View file @
9621e35
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-18 08:55:31
-->
...
...
@@ -60,6 +60,10 @@
},
},
methods
:
{
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
ruleForm
=
{
...
...
@@ -67,6 +71,10 @@
clmc
:
""
,
}
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit
()
{
debugger
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
...
...
src/views/workflow/components/dialog/clxxDetailDialog.vue
View file @
9621e35
...
...
@@ -152,6 +152,10 @@
},
methods
:
{
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList
()
{
return
new
Promise
(
resolve
=>
{
this
.
unitData
=
this
.
$parent
.
unitData
;
...
...
@@ -173,6 +177,12 @@
})
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward
(
index
,
row
)
{
let
obj
=
{
xh
:
row
.
xh
,
...
...
@@ -196,6 +206,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown
(
index
,
row
)
{
let
obj
=
{
xh
:
row
.
xh
,
...
...
@@ -218,6 +234,12 @@
})
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete
(
index
,
row
)
{
let
that
=
this
this
.
$confirm
(
'此操作将永久删除该 是否继续?'
,
'提示'
,
{
...
...
@@ -245,6 +267,12 @@
})
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus
(
val
,
code
)
{
let
data
=
store
.
getters
.
dictData
[
code
],
name
=
"暂无"
;
...
...
src/views/workflow/components/dialog/commonOpinion.vue
View file @
9621e35
...
...
@@ -81,12 +81,20 @@
this
.
getList
()
},
methods
:
{
/**
* @description: getList
* @author: renchao
*/
getList
()
{
getUserCommonOpinion
().
then
(
res
=>
{
this
.
tableData
.
data
=
res
.
result
})
},
//新增常用意见
/**
* @description: 新增常用意见
* @author: renchao
*/
addOpinion
()
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
...
...
@@ -105,23 +113,46 @@
});
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @author: renchao
*/
openDialog
()
{
this
.
addDialog
=
true
},
//关闭新增弹窗
/**
* @description: 关闭新增弹窗
* @author: renchao
*/
closeaddDiglog
()
{
this
.
addDialog
=
false
this
.
$refs
[
'form'
].
resetFields
();
},
/**
* @description: handleRowClick
* @param {*} item
* @author: renchao
*/
handleRowClick
(
item
)
{
this
.
useCommonOpinion
(
item
)
},
//使用常用意见
/**
* @description: 使用常用意见
* @param {*} item
* @author: renchao
*/
useCommonOpinion
(
item
)
{
store
.
dispatch
(
'workflow/setOptions'
,
item
.
opinion
);
this
.
$popupCacel
()
},
//删除常用意见
/**
* @description: 删除常用意见
* @param {*} item
* @author: renchao
*/
deleteOpinion
(
item
)
{
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -145,6 +176,10 @@
});
},
//关闭列表弹窗
/**
* @description: 关闭列表弹窗
* @author: renchao
*/
closeDialog
()
{
this
.
form
.
commonOpinion
=
""
;
}
...
...
src/views/workflow/components/dialog/szRecord.vue
View file @
9621e35
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-04 14:13:28
-->
...
...
@@ -43,6 +43,10 @@
this
.
query
()
},
methods
:
{
/**
* @description: query
* @author: renchao
*/
query
()
{
getSzRecordList
({
bsmBdcqz
:
this
.
formData
.
bsmBdcqz
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -55,4 +59,4 @@
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
</
style
>
...
...
src/views/workflow/components/dialog/zsdy.vue
View file @
9621e35
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-25 11:13:07
-->
...
...
@@ -78,6 +78,10 @@
},
methods
:
{
//获取印刷序列号列表
/**
* @description: 获取印刷序列号列表
* @author: renchao
*/
ysxlhList
()
{
readYsxlh
({
zslx
:
this
.
formData
.
bdcqz
.
bdcqzlx
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -86,6 +90,10 @@
})
},
//获取受理申请下全部不动产权证
/**
* @description: 获取受理申请下全部不动产权证
* @author: renchao
*/
getHeadTabBdcqz
()
{
this
.
loading
=
true
getSlsqBdcqzList
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
}).
then
(
res
=>
{
...
...
@@ -99,6 +107,10 @@
})
},
// 不动产证书
/**
* @description: 不动产证书
* @author: renchao
*/
drawTextOnImage
()
{
const
canvas
=
this
.
$refs
.
zs
;
const
context
=
canvas
.
getContext
(
'2d'
);
...
...
@@ -146,10 +158,18 @@
}
image
.
src
=
this
.
imgSrc
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit
()
{
this
.
savePrintRecord
()
},
//保存打印记录
/**
* @description: 保存打印记录
* @author: renchao
*/
savePrintRecord
()
{
this
.
ruleForm
.
bsmBdcqz
=
this
.
formData
.
bdcqz
.
bsmBdcqz
;
this
.
ruleForm
.
bdcqzlx
=
this
.
formData
.
bdcqz
.
bdcqzlx
;
...
...
src/views/workflow/components/dialog/zslq.vue
View file @
9621e35
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-18 10:53:49
-->
...
...
@@ -115,6 +115,10 @@
},
methods
:
{
//列表初始化
/**
* @description: 列表初始化
* @author: renchao
*/
loadGrid
()
{
getUnclaimedBdcqz
({
bsmSlsq
:
Vue
.
prototype
.
$currentRoute
.
query
.
bsmSlsq
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -126,12 +130,26 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
ruleForm
.
bdcqzList
=
val
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
)
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
9621e35
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-14 16:05:30
-->
...
...
@@ -69,11 +69,20 @@
},
methods
:
{
//获取证书内容
/**
* @description: 获取证书内容
* @param {*} code
* @author: renchao
*/
getRowValue
(
code
)
{
var
value
=
this
.
bdcqz
[
code
];
return
value
;
},
//获取受理申请下全部不动产权证
/**
* @description: 获取受理申请下全部不动产权证
* @author: renchao
*/
getHeadTabBdcqz
()
{
this
.
loading
=
true
getSlsqBdcqzList
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
}).
then
(
res
=>
{
...
...
@@ -94,6 +103,11 @@
})
},
//tab表头切换方法
/**
* @description: tab表头切换方法
* @param {*} e
* @author: renchao
*/
handleClick
(
e
)
{
this
.
bdcqz
=
this
.
headTabBdcqz
[
e
.
index
-
0
]
this
.
activeName
=
this
.
headTabBdcqz
.
bsmBdcqz
...
...
@@ -104,6 +118,10 @@
}
},
// 不动产证书
/**
* @description: 不动产证书
* @author: renchao
*/
drawTextOnImage
()
{
const
canvas
=
this
.
$refs
.
zs
;
const
context
=
canvas
.
getContext
(
'2d'
);
...
...
@@ -152,6 +170,10 @@
image
.
src
=
this
.
imgSrc
},
// 不动产证明
/**
* @description: 不动产证明
* @author: renchao
*/
drawTextzmImage
()
{
const
canvas
=
this
.
$refs
.
zm
;
const
context
=
canvas
.
getContext
(
'2d'
);
...
...
Please
register
or
sign in
to post a comment