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
079aa3ef
authored
2024-02-20 09:48:05 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改审批意见移动
1 parent
883c8291
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
508 deletions
src/views/workflow/components/spyj copy.vue
src/views/workflow/flowform.js
src/views/workflow/components/spyj.vue → src/views/workflow/main/spyj/index.vue
src/views/ywbl/ywsq/components/selectYbsc.vue
src/views/workflow/components/spyj copy.vue
deleted
100644 → 0
View file @
883c829
<!--
* @Description: 审批意见
* @Autor: renchao
* @LastEditTime: 2023-08-16 14:39:55
-->
<
template
>
<div
class=
"spyj loadingtext"
>
<div
class=
"box"
>
<div
class=
"spyj_title"
>
<div
class=
"righttitle"
>
审批表
</div>
</div>
<div
v-for=
"(item, index) in tableData"
:key=
"index"
>
<el-form
:model=
"tableData[index]"
label-width=
"120px"
ref=
"ruleForm'"
>
<div
class=
"spyj_form"
>
<div
class=
"item_left"
>
<div
class=
"right"
>
{{
item
.
jdmc
}}
意见
</div>
</div>
<div
class=
"item_right"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
>
<el-input
:disabled=
"!viewEdit || item.show"
type=
"textarea"
:rows=
"4"
class=
"opinion"
placeholder=
"请输入审批意见"
v-model=
"item.shyj"
></el-input>
<el-button
class=
"opinion_btn"
@
click=
"commonOpinion(index)"
:disabled=
"!viewEdit|| item.show"
>
常用意见
</el-button
>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"16"
>
<el-form-item
label=
"审查人"
>
{{
item
.
shryxm
}}
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
disabled
label=
"审核时间"
:key=
"refresh"
>
{{
item
.
shjssj
}}
</el-form-item>
</el-col>
</el-row>
</div>
</div>
</el-form>
</div>
<div
class=
"submit_button"
v-if=
"viewEdit"
>
<el-button
type=
"primary"
:disabled=
"shows"
@
click=
"onSubmit()"
>
保存
</el-button
>
</div>
</div>
<!--
<el-empty
v-if=
"isNoData"
description=
"暂无数据"
></el-empty>
-->
</div>
</
template
>
<
script
>
import
{
saveSpyjBySlsq
,
getSpyjList
}
from
"@/api/opinion.js"
;
import
{
mapGetters
}
from
"vuex"
;
import
{
getNewDatesh
}
from
"@/utils/util"
;
export
default
{
computed
:
{
...
mapGetters
([
"userData"
,
"yjsqOptions"
,
"userInfo"
]),
},
data
()
{
return
{
isNoData
:
false
,
currentindex
:
0
,
bsmSlsq
:
""
,
refresh
:
10
,
viewEdit
:
false
,
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bestepid
:
this
.
$route
.
query
.
bestepid
,
propsParam
:
{},
tableData
:
[],
falg
:
false
,
falg1
:
false
,
jdmc
:
""
,
indexdqlc
:
0
,
shows
:
false
,
};
},
watch
:
{
yjsqOptions
:
{
handler
(
val
)
{
this
.
add
(
val
);
},
deep
:
true
,
immediate
:
true
,
},
},
created
()
{},
mounted
()
{
this
.
propsParam
=
this
.
$attrs
;
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
getShList
();
switch
(
this
.
$parent
.
dqhj
)
{
case
"cs"
:
this
.
indexdqlc
=
0
;
this
.
jdmc
=
"初审"
;
break
;
case
"fs"
:
this
.
indexdqlc
=
1
;
this
.
jdmc
=
"复审"
;
break
;
case
"hd"
:
this
.
indexdqlc
=
2
;
this
.
jdmc
=
"核定"
;
break
;
}
},
methods
:
{
/**
* @description: getShList
* @param {*} obj
* @author: renchao
*/
getShList
()
{
this
.
$startLoading
();
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmBusiness"
,
this
.
propsParam
.
bsmBusiness
);
formdata
.
append
(
"bestepid"
,
this
.
$route
.
query
.
bestepid
);
getSpyjList
(
formdata
).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
$nextTick
(()
=>
{
this
.
tableData
=
res
.
result
;
if
(
this
.
shows
)
{
this
.
shows
=
false
;
}
var
index
=
this
.
tableData
.
findIndex
(
(
item
)
=>
item
.
jddm
===
this
.
$parent
.
dqhj
);
if
(
index
==
-
1
)
{
switch
(
this
.
$parent
.
dqhj
)
{
case
"cs"
:
this
.
tableData
.
push
({
jdmc
:
"初审"
,
jddm
:
"cs"
,
sxh
:
1
});
break
;
case
"fs"
:
this
.
tableData
.
push
({
jdmc
:
"复审"
,
jddm
:
"fs"
,
sxh
:
2
});
break
;
case
"hd"
:
this
.
tableData
.
push
({
jdmc
:
"核定"
,
jddm
:
"hd"
,
sxh
:
3
});
break
;
}
}
this
.
tableData
.
forEach
((
item
)
=>
{
item
.
show
=
true
;
if
(
this
.
$parent
.
dqhj
==
item
.
jddm
)
{
item
[
"stepid"
]
=
this
.
$route
.
query
.
bestepid
;
item
.
shjssj
=
getNewDatesh
();
item
.
shkssj
=
getNewDatesh
();
item
[
"shryxm"
]
=
this
.
userInfo
.
name
;
item
[
"userid"
]
=
this
.
userInfo
.
id
;
item
.
show
=
false
;
}
});
});
}
});
},
/**
* @description: judgment
* @param {*} obj
* @author: renchao
*/
judgment
(
obj
)
{},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
[
"bsmBusiness"
]
=
this
.
propsParam
.
bsmBusiness
;
item
[
"czjg"
]
=
"1"
;
});
var
index
=
this
.
tableData
.
findIndex
(
(
item
)
=>
item
.
shyj
===
null
||
item
.
shyj
===
""
);
if
(
index
==-
1
){
this
.
shows
=
true
;
saveSpyjBySlsq
(
this
.
tableData
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
refresh
+=
1
;
this
.
getShList
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
}
else
{
this
.
$message
.
error
(
"意见不能为空"
);
}
},
//打开常用意见列表弹窗
/**
* @description: 打开常用意见列表弹窗
* @param {*} index
* @author: renchao
*/
commonOpinion
(
index
)
{
this
.
currentindex
=
index
;
this
.
$popupDialog
(
"常用意见"
,
"workflow/components/dialog/commonOpinion"
,
{},
"70%"
,
true
);
},
/**
* @description: add
* @param {*} val
* @author: renchao
*/
add
(
val
)
{
if
(
val
!=
""
)
{
this
.
$set
(
this
.
tableData
[
this
.
currentindex
],
"shyj"
,
val
);
}
},
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
.spyj
{
width
:
100%
;
height
:
100%
;
background-color
:
#f5f5f5
;
padding
:
5px
;
.box
{
overflow-x
:
auto
;
width
:
100%
;
height
:
95%
;
background
:
#fff
;
text-align
:
center
;
padding
:
4px
;
overflow-y
:
scroll
;
padding-top
:
20px
;
padding
:
20px
40px
;
.spyj_title
{
width
:
100%
;
height
:
80px
;
border
:
1px
solid
$
borderColor
;
background-color
:
#eceef2
;
display
:
flex
;
}
.leftadd
{
width
:
3%
;
height
:
100%
;
display
:
flex
;
font-size
:
14px
;
text-indent
:
20px
;
align-items
:
center
;
border
:
1px
solid
$
borderColor
;
}
.righttitle
{
width
:
80%
;
height
:
100%
;
line-height
:
80px
;
border
:
1px
solid
$
borderColor
;
margin
:
auto
;
font-size
:
22px
;
font-weight
:
400
;
}
}
/
deep
/
.el-form-item
{
margin-bottom
:
0
;
}
.bottom10
{
margin-bottom
:
15px
;
}
.spyj_form
{
display
:
flex
;
border
:
1px
solid
$
borderColor
;
.item_left
{
width
:
150px
;
background-color
:
#f8f8fa
;
color
:
#606266
;
display
:
flex
;
font-size
:
14px
;
text-indent
:
50px
;
align-items
:
center
;
border-right
:
1px
solid
$
borderColor
;
}
.item_right
{
flex
:
1
;
width
:
100%
;
/deep/.el-form-item__label
{
background-color
:
#f8f8fa
;
}
/
deep
/
.el-form-item__content
{
display
:
block
;
text-align
:
left
;
}
.opinion_item
{
/deep/.el-form-item__error
{
margin-top
:
-16px
!important
;
left
:
3px
;
}
border-bottom
:
1px
solid
$
borderColor
;
}
.opinion
{
position
:
relative
;
font-size
:
14px
;
/deep/.el-textarea__inner
{
border
:
none
;
}
}
.opinion_btn
{
position
:
absolute
;
right
:
15px
;
bottom
:
10px
;
}
}
}
.submit_button
{
text-align
:
center
;
margin
:
15px
0
;
}
.el-date-editor.el-input
{
width
:
100%
;
}
}
</
style
>
src/views/workflow/flowform.js
View file @
079aa3e
...
...
@@ -8,146 +8,6 @@
* @param {*} tabName
* @author: renchao
*/
// export function getForm(tabName) {
// let form;
// if (tabName == 0) return
// switch (tabName) {
// //土地所有权
// case "tdsyqslxx":
// form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue");
// break;
// //建设用地、宅基地
// case "jsydsyqslxx100":
// case "jsydsyqslxx300":
// form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue");
// break;
// //土地承包经营权
// case "tdcbjyqslxx100":
// form = require("@/views/ywbl/slsqxx/tdcbjyq/slxx.vue");
// break;
// //房屋多幢
// case "fwsyqdzslxx":
// form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue");
// break;
// //房屋独幢
// case "fwsyqslxx100":
// case "fwsyqslxx200":
// case "fwsyqslxx400":
// case "fwsyqslxx300":
// form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue");
// break;
// //房屋独幢(批量)
// case "plfdcq2":
// form = require("@/views/ywbl/slsqxx/fdcq2/batchSlxx.vue");
// break;
// //林地使用权
// case "lqslxx":
// form = require("@/views/ywbl/slsqxx/lqslxx");
// break;
// //森林林木使用权
// case "sllmslxx":
// form = require("@/views/ywbl/slsqxx/sllmslxx");
// break;
// //农用地使用权
// case "nydsyqslxx100":
// case "nydsyqslxx200":
// form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue");
// break;
// //查封登记
// case "tdslxxCfdj":
// form = require("@/views/ywbl/slsqxx/cfdj/slxx.vue");
// break;
// //查封登记(批量)
// case "plslxxCfdj":
// form = require("@/views/ywbl/slsqxx/cfdj/batchSlxx.vue");
// break;
// //抵押权
// case "diyaqSlxx":
// form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue");
// break;
// //抵押权(批量)
// case "batchDiyaq":
// form = require("@/views/ywbl/slsqxx/diyaq/batchSlxx.vue");
// break;
// //预告买卖登记
// case "ygmm100":
// case "ygmm300":
// form = require("@/views/ywbl/slsqxx/ygdj/slxx.vue");
// break;
// //预告抵押登记
// case "ygdy100":
// case "ygdy300":
// form = require("@/views/ywbl/slsqxx/ygdy/slxx.vue");
// break;
// //在建工程抵押权
// case "zjgcdyqSlxx":
// form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue");
// break;
// //在建工程抵押权(批量)
// case "batchZjgcdyq":
// form = require("@/views/ywbl/slsqxx/zjgcdy/batchSlxx.vue");
// break;
// case "clxx"://材料信息
// form = require("@/views/workflow/components/clxx/clxxUnify.vue");
// break;
// case "spyj"://审批意见
// form = require("@/views/workflow/components/spyj.vue");
// break;
// case "swxx"://税务信息
// form = require("@/views/workflow/components/swxx.vue");
// break;
// case "sfxx"://收费信息
// form = require("@/views/workflow/components/sfxx.vue");
// break;
// case "sdqxx"://水电气信息
// form = require("@/views/workflow/components/sdqxx.vue");
// break;
// case "zdjbxx"://宗地基本信息
// form = require("@/views/registerBook/zdjbxx.vue");
// break;
// case "szxx"://缮证信息
// form = require("@/views/workflow/components/szxx.vue");
// break;
// case "fzxx"://发证信息
// form = require("@/views/workflow/components/fzxx.vue");
// break;
// case "zdjbxxImg"://宗地图
// form = require("@/views/workflow/components/zdt.vue");
// break;
// case "cfdjxx":
// form = require("@/views/registerBook/cfdj.vue");
// break;
// case "tdsyqQlxx":
// form = require("@/views/registerBook/tdsyq.vue");
// break;
// case "jsydsyqQlxx":
// form = require("@/views/registerBook/jsydsyq.vue");
// break;
// case "nydsyqQlxx":
// form = require("@/views/registerBook/nydsyq.vue");
// break;
// case "fdcq1Qlxx":
// form = require("@/views/registerBook/fdcq1.vue");
// break;
// case "fdcq2Qlxx":
// form = require("@/views/registerBook/fdcq2.vue");
// break;
// case "lqQlxx":
// form = require("@/views/registerBook/ldsyq.vue");
// break;
// case "diyaqQlxx":
// form = require("@/views/registerBook/diyaq.vue");
// break;
// case "ygdjQlxx":
// form = require("@/views/registerBook/ygdj.vue");
// break;
// default://默认地址404空页面
// form = require("@/views/error-page/404.vue");
// break;
// }
// return (r) => require.ensure([], () => r(form));
// }
export
function
getForm
(
tabName
)
{
let
form
;
if
(
tabName
==
0
)
return
...
...
@@ -231,7 +91,7 @@ export function getForm(tabName) {
form
=
require
(
"@/views/workflow/components/clxx/clxxUnify.vue"
);
break
;
case
"spyj"
:
//审批意见
form
=
require
(
"@/views/workflow/
components/spyj.vue
"
);
form
=
require
(
"@/views/workflow/
main/spyj
"
);
break
;
case
"swxx"
:
//税务信息
form
=
require
(
"@/views/workflow/components/swxx.vue"
);
...
...
src/views/workflow/
components/spyj
.vue
→
src/views/workflow/
main/spyj/index
.vue
View file @
079aa3e
File moved
src/views/ywbl/ywsq/components/selectYbsc.vue
View file @
079aa3e
...
...
@@ -58,7 +58,7 @@
import
{
ywPopupDialog
}
from
"@/utils/popup.js"
;
import
{
datas
,
sendThis
}
from
"../javascript/selectH.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
{
selectHQjdc
}
from
"@/api/ywsq.js"
;
//
import { selectHQjdc } from "@/api/ywsq.js";
import
{
startTogetherFlow
,
againAddSldy
}
from
"@/api/workFlow.js"
;
export
default
{
mixins
:
[
ywsqTable
,
jump
],
...
...
@@ -89,14 +89,14 @@
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectHQjdc
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
});
//
selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => {
//
this.$endLoading();
//
if (res.code === 200) {
//
let { total, records } = res.result;
//
this.tableData.total = total;
//
this.tableData.data = records;
//
}
//
});
},
/**
* @description: submitForm
...
...
Please
register
or
sign in
to post a comment