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
d316a1a0
authored
2023-05-04 13:45:55 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:审批意见模块功能的完成
1 parent
a142a5c5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
1117 additions
and
1081 deletions
src/components/LbTable/lb-table.vue
src/store/getters.js
src/store/modules/workflow.js
src/views/workflow/components/commonOpinion.vue → src/views/workflow/components/dialog/commonOpinion.vue
src/views/workflow/components/zslq.vue → src/views/workflow/components/dialog/zslq.vue
src/views/workflow/components/fzxx.vue
src/views/workflow/components/spyj.vue
src/views/ywbl/ywsq/components/cfdj.vue
src/views/ywbl/ywsq/components/diyaq.vue
src/views/ywbl/ywsq/components/fwsyq.vue
src/views/ywbl/ywsq/components/nydsyq100.vue
src/views/ywbl/ywsq/components/nydsyq200.vue
src/views/ywbl/ywsq/components/selecBdcql.vue
src/views/ywbl/ywsq/components/selectAllHInfo.vue
src/views/ywbl/ywsq/components/selectFwsyq.vue
src/views/ywbl/ywsq/components/selectJsydsyq.vue
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
src/views/ywbl/ywsq/components/selectYgdj100.vue
src/views/ywbl/ywsq/components/selectYgdj200.vue
src/views/ywbl/ywsq/components/selectYgdy.vue
src/components/LbTable/lb-table.vue
View file @
d316a1a
...
...
@@ -11,7 +11,7 @@
<
template
>
<div
:class=
"['lb-table', customClass]"
>
<el-table
v-if=
"!heightNumSetting"
class=
"table-fixed"
:row-style=
"
{ height: '50px' }" ref="elTable" :border='border'
:row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs"
:row-class-name="tableRowClassName" :show-header='showHeader' @row-
dbl
click="singleElection" v-bind="$attrs"
:height="tableHeight" v-on="$listeners" :data="data" style="width: 100%"
:span-method="this.merge ? this.mergeMethod : this.spanMethod">
<el-table-column
width=
"45"
align=
"center"
v-if=
"isRadio"
>
...
...
src/store/getters.js
View file @
d316a1a
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-04 11:14:25
*/
const
getters
=
{
sidebar
:
state
=>
state
.
app
.
sidebar
,
size
:
state
=>
state
.
app
.
size
,
...
...
@@ -13,6 +18,8 @@ const getters = {
addDict
:
state
=>
state
.
dict
.
addDict
,
dictData
:
state
=>
state
.
dict
.
dictData
,
djbxx
:
state
=>
state
.
djbxx
.
djbxx
,
// workflow
isRefresh
:
state
=>
state
.
user
.
isRefresh
,
yjsqOptions
:
state
=>
state
.
workflow
.
yjsqOptions
}
export
default
getters
...
...
src/store/modules/workflow.js
0 → 100644
View file @
d316a1a
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-04 11:13:36
*/
const
state
=
{
yjsqOptions
:
{},
}
const
mutations
=
{
SET_OPTIONS
:
(
state
,
data
)
=>
{
state
.
yjsqOptions
=
data
}
}
const
actions
=
{
setOptions
({
commit
},
data
)
{
commit
(
'SET_OPTIONS'
,
data
)
}
}
export
default
{
namespaced
:
true
,
state
,
mutations
,
actions
}
src/views/workflow/components/commonOpinion.vue
→
src/views/workflow/components/
dialog/
commonOpinion.vue
View file @
d316a1a
<
template
>
<div>
<dialogBox
title=
"常用意见"
:fullscreen=
"false"
width=
"60%"
isMain
v-model=
"value"
@
closeDialog=
"closeDialog"
:isButton=
"false"
>
<el-button
type=
"primary"
native-type=
"submit"
@
click=
"openDialog()"
>
新增常用
</el-button>
<lb-table
heightNumSetting
:pagination=
"false"
:column=
"columns"
:data=
"tableData.data"
>
</lb-table>
<div
style=
"height:15px"
></div>
</dialogBox>
<el-dialog
title=
"新增意见"
custom-class=
"dialogBox"
:visible
.
sync=
"addDialog"
width=
"50%"
:append-to-body=
"true"
:modal=
"false"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
prop=
"commonOpinion"
>
<div
class=
"invalid-reson"
>
常用意见:
</div>
<el-input
v-model=
"form.commonOpinion"
placeholder=
"请输入常用意见"
type=
"textarea"
:rows=
"4"
></el-input>
</el-form-item>
<el-form-item>
<div
class=
"dialog-footer"
>
<el-button
@
click=
"closeaddDiglog"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"addOpinion"
>
确 定
</el-button>
</div>
</el-form-item>
</el-form>
</el-dialog>
<el-button
type=
"primary"
native-type=
"submit"
@
click=
"openDialog"
>
新增常用
</el-button>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
v-show=
"addDialog"
>
<el-form-item
prop=
"commonOpinion"
>
<div
class=
"invalid-reson"
>
常用意见:
</div>
<el-input
v-model=
"form.commonOpinion"
placeholder=
"请输入常用意见"
type=
"textarea"
:rows=
"4"
></el-input>
</el-form-item>
<el-form-item
class=
"text-center"
>
<el-button
@
click=
"closeaddDiglog"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"addOpinion"
>
确 定
</el-button>
</el-form-item>
</el-form>
<lb-table
:heightNumSetting=
"true"
@
row-dblclick=
"handleRowClick"
:pagination=
"false"
:column=
"columns"
:minHeight=
"300"
:data=
"tableData.data"
>
</lb-table>
<div
style=
"height:15px"
></div>
<div
class=
"text-center"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
</div>
</div>
</
template
>
<
script
>
import
{
getUserCommonOpinion
,
addUserCommonOpinion
,
delUserCommonOpinion
}
from
"@/api/fqsq.js"
export
default
{
components
:
{},
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
},
data
()
{
return
{
columns
:
[
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
import
store
from
'@/store/index.js'
import
{
getUserCommonOpinion
,
addUserCommonOpinion
,
delUserCommonOpinion
}
from
"@/api/fqsq.js"
export
default
{
components
:
{},
props
:
{
formData
:
{
type
:
Object
,
default
:
{}
}
},
data
()
{
return
{
addDialog
:
false
,
columns
:
[
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
},
{
prop
:
"opinion"
,
label
:
"意见描述"
,
},
{
label
:
'操作'
,
width
:
'100'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
this
.
useCommonOpinion
(
scope
.
row
)
}}
>
使用
<
/el-button
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
this
.
deleteOpinion
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
/div
>
)
}
}
],
tableData
:
{
total
:
0
,
data
:
[],
},
{
prop
:
"opinion"
,
label
:
"意见描述"
,
form
:
{
commonOpinion
:
''
,
},
{
label
:
'操作'
,
width
:
'100'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
this
.
useCommonOpinion
(
scope
.
row
)
}}
>
使用
<
/el-button
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
this
.
deleteOpinion
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
/div
>
)
}
rules
:
{
commonOpinion
:
[
{
required
:
true
,
message
:
'请输入常用意见'
,
trigger
:
'blur'
}
]
}
],
tableData
:
{
total
:
0
,
data
:
[],
}
},
mounted
()
{
this
.
getList
()
},
methods
:
{
getList
()
{
getUserCommonOpinion
().
then
(
res
=>
{
this
.
tableData
.
data
=
res
.
result
})
},
form
:
{
commonOpinion
:
''
,
//新增常用意见
addOpinion
()
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
addUserCommonOpinion
({
commonOpinion
:
this
.
form
.
commonOpinion
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"新增成功"
)
this
.
closeaddDiglog
();
this
.
getList
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
}
else
{
return
false
;
}
});
},
rules
:
{
commonOpinion
:
[
{
required
:
true
,
message
:
'请输入常用意见'
,
trigger
:
'blur'
},
],
//打开新增弹窗
openDialog
()
{
this
.
addDialog
=
true
},
addDialog
:
false
,
}
},
mounted
()
{
this
.
getList
()
},
methods
:
{
getList
()
{
getUserCommonOpinion
().
then
(
res
=>
{
this
.
tableData
.
data
=
res
.
result
})
},
//新增常用意见
addOpinion
()
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
addUserCommonOpinion
({
commonOpinion
:
this
.
form
.
commonOpinion
}).
then
(
res
=>
{
//关闭新增弹窗
closeaddDiglog
()
{
this
.
addDialog
=
false
this
.
$refs
[
'form'
].
resetFields
();
},
handleRowClick
(
item
)
{
this
.
useCommonOpinion
(
item
)
},
//使用常用意见
useCommonOpinion
(
item
)
{
store
.
dispatch
(
'workflow/setOptions'
,
item
.
opinion
);
this
.
$popupCacel
()
},
//删除常用意见
deleteOpinion
(
item
)
{
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
}).
then
(()
=>
{
delUserCommonOpinion
({
bsmOpinion
:
item
.
bsmOpinion
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
closeaddDiglog
();
this
.
query
List
()
this
.
$message
.
success
(
"删除成功"
)
this
.
get
List
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
}
else
{
return
false
;
}
});
},
//打开新增弹窗
openDialog
()
{
this
.
addDialog
=
true
},
//关闭新增弹窗
closeaddDiglog
()
{
this
.
addDialog
=
false
;
this
.
$refs
[
'form'
].
resetFields
();
},
//使用常用意见
useCommonOpinion
(
item
)
{
this
.
$parent
.
useOpinion
(
item
.
opinion
);
this
.
$emit
(
"input"
,
false
);
},
//删除常用意见
deleteOpinion
(
item
)
{
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
}).
then
(()
=>
{
delUserCommonOpinion
({
bsmOpinion
:
item
.
bsmOpinion
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"删除成功"
)
this
.
getList
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info
"
,
message
:
"已取消删除"
,
.
catch
(()
=>
{
this
.
$message
(
{
type
:
"info"
,
message
:
"已取消删除
"
,
});
});
});
},
//关闭列表弹窗
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
form
.
commonOpinion
=
""
;
},
//关闭列表弹窗
closeDialog
()
{
this
.
form
.
commonOpinion
=
""
;
}
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/dialogBox.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/dialogBox.scss"
;
.invalid-reson
{
margin-bottom
:
10px
;
}
.invalid-reson
{
margin-bottom
:
10px
;
}
.dialog-footer
{
margin-top
:
10px
;
display
:
flex
;
justify-content
:
flex-end
;
}
.dialog-footer
{
margin-top
:
10px
;
display
:
flex
;
justify-content
:
flex-end
;
}
</
style
>
\ No newline at end of file
...
...
src/views/workflow/components/zslq.vue
→
src/views/workflow/components/
dialog/
zslq.vue
View file @
d316a1a
...
...
@@ -18,7 +18,7 @@
</el-col>
</el-row>
<lb-table
border
:column=
"tableData.columns"
:data=
"tableData.data"
:pagination=
"false"
:calcHeight=
"300"
>
<lb-table
:column=
"tableData.columns"
:data=
"tableData.data"
:pagination=
"false"
:calcHeight=
"300"
>
</lb-table>
<el-row>
<el-col
:span=
"6"
>
...
...
@@ -57,7 +57,7 @@
import
store
from
'@/store/index.js'
import
table
from
"@/utils/mixin/table"
;
import
{
getUnclaimedBdcqz
,
issueCertificate
}
from
"@/api/bdcqz.js"
;
import
{
datas
}
from
"../javascript/fzxxdata"
;
import
{
datas
}
from
"../
../
javascript/fzxxdata"
;
import
{
log
}
from
'bpmn-js-token-simulation'
;
export
default
{
props
:
{
...
...
src/views/workflow/components/fzxx.vue
View file @
d316a1a
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-04 10:
12:07
* @LastEditTime: 2023-05-04 10:
29:45
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -71,7 +71,7 @@
})
},
zslqClick
()
{
this
.
$popupDialog
(
"不动产权证领取"
,
"workflow/components/zslq"
,
{},
'80%'
,
true
);
this
.
$popupDialog
(
"不动产权证领取"
,
"workflow/components/
dialog/
zslq"
,
{},
'80%'
,
true
);
}
}
}
...
...
src/views/workflow/components/spyj.vue
View file @
d316a1a
...
...
@@ -44,20 +44,14 @@
</el-form>
</div>
<el-empty
v-if=
"isNoData"
description=
"暂无数据"
></el-empty>
<commonDialog
v-model=
"commonDialog"
/>
</div>
</
template
>
<
script
>
import
{
getSpyjList
,
saveSpyj
,
saveSpyjBySlsq
}
from
"@/api/fqsq.js"
;
import
{
popupDialog
}
from
"@/utils/popup.js"
;
import
commonDialog
from
"./commonOpinion.vue"
;
import
{
mapGetters
}
from
'vuex'
export
default
{
components
:
{
commonDialog
},
props
:
{
},
computed
:
{
...
mapGetters
([
'userData'
])
...
mapGetters
([
'userData'
,
'yjsqOptions'
])
},
data
()
{
return
{
...
...
@@ -75,10 +69,18 @@
],
},
tableData
:
[],
propsParam
:
{},
commonDialog
:
false
propsParam
:
{}
}
},
watch
:
{
yjsqOptions
:
{
handler
(
val
)
{
this
.
ruleForm
.
shyj
=
val
},
deep
:
true
,
immediate
:
true
},
},
mounted
()
{
this
.
propsParam
=
this
.
$attrs
;
if
(
this
.
$route
.
query
.
viewtype
)
{
...
...
@@ -87,9 +89,6 @@
this
.
list
();
},
methods
:
{
handleClick
()
{
console
.
log
(
1
)
},
//审批意见数据初始化
list
()
{
let
that
=
this
...
...
@@ -123,7 +122,7 @@
},
//打开常用意见列表弹窗
commonOpinion
()
{
this
.
commonDialog
=
true
this
.
$popupDialog
(
"常用意见"
,
"workflow/components/dialog/commonOpinion"
,
{},
"70%"
,
true
)
},
//使用常用意见
useOpinion
(
opinion
)
{
...
...
@@ -195,7 +194,6 @@
/
deep
/
.el-form-item__content
{
display
:
block
;
text-align
:
left
;
padding-left
:
15px
;
text-indent
:
10px
;
}
.opinion_item
{
...
...
src/views/ywbl/ywsq/components/cfdj.vue
View file @
d316a1a
...
...
@@ -33,7 +33,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -46,103 +46,103 @@
</div>
</
template
>
<
script
>
//查封登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/cfdj.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
selectCfdj
,
startBusinessFlow
,
choiceBdcdy
}
from
"@/api/ywbl.js"
;
export
default
{
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
mixins
:
[
table
,
jump
],
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectCfdj
({
...
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
;
}
})
//查封登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/cfdj.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
selectCfdj
,
startBusinessFlow
,
choiceBdcdy
}
from
"@/api/ywbl.js"
;
export
default
{
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
if
(
!
this
.
isJump
)
{
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
}
else
{
choiceBdcdy
({
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bdcdysz
:
this
.
bdcdysz
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
mixins
:
[
table
,
jump
],
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectCfdj
({
...
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
;
}
})
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
if
(
!
this
.
isJump
)
{
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
}
else
{
choiceBdcdy
({
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bdcdysz
:
this
.
bdcdysz
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
}
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
item
.
ybdcqzsh
=
item
.
bdcqzh
})
this
.
bdcdysz
=
val
}
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
item
.
ybdcqzsh
=
item
.
bdcqzh
})
this
.
bdcdysz
=
val
}
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/diyaq.vue
View file @
d316a1a
...
...
@@ -42,7 +42,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -55,84 +55,84 @@
</div>
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/diyaq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
selectDiyaq
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/diyaq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
selectDiyaq
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectDiyaq
({
...
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
;
}
});
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectDiyaq
({
...
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
;
submitFormClick
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
});
},
submitFormClick
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$message
.
error
(
res
.
messag
e
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/fwsyq.vue
View file @
d316a1a
This diff is collapsed.
Click to expand it.
src/views/ywbl/ywsq/components/nydsyq100.vue
View file @
d316a1a
...
...
@@ -27,7 +27,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -40,85 +40,85 @@
</div>
</
template
>
<
script
>
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/nydsyq100.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
startBusinessFlow
,
selectZdjbxx
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/nydsyq100.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
startBusinessFlow
,
selectZdjbxx
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectZdjbxx
({
...
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
;
}
});
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectZdjbxx
({
...
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
;
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$message
.
error
(
res
.
messag
e
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/nydsyq200.vue
View file @
d316a1a
...
...
@@ -27,7 +27,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -40,91 +40,91 @@
</div>
</
template
>
<
script
>
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectJsydsyq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
startBusinessFlow
,
selectNydsyqQlxx
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectJsydsyq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
startBusinessFlow
,
selectNydsyqQlxx
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectNydsyqQlxx
({
...
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
;
}
})
},
bdcdysz
:
[]
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectNydsyqQlxx
({
...
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
;
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
})
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$message
.
error
(
res
.
messag
e
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
item
.
ybdcqzsh
=
item
.
bdcqzh
})
this
.
bdcdysz
=
val
;
},
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
qllx
:
row
.
qllx
,
bdcdyh
:
row
.
bdcdyh
,
bsmQlxx
:
row
.
bsmQlxx
};
this
.
$popup
(
'登记簿详情'
,
'registerBook/djbFrame'
,
{
formData
:
param
})
})
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
item
.
ybdcqzsh
=
item
.
bdcqzh
})
this
.
bdcdysz
=
val
;
},
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
qllx
:
row
.
qllx
,
bdcdyh
:
row
.
bdcdyh
,
bsmQlxx
:
row
.
bsmQlxx
};
this
.
$popup
(
'登记簿详情'
,
'registerBook/djbFrame'
,
{
formData
:
param
})
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/selecBdcql.vue
View file @
d316a1a
...
...
@@ -42,7 +42,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -55,98 +55,98 @@
</div>
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selecBdcql.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectQlxx
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
import
{
getQllxByBsmSqyw
}
from
"@/api/system.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxData
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
created
()
{
//初始化权利类型下拉框内容
getQllxByBsmSqyw
(
this
.
bsmSqyw
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
qllxData
=
res
.
result
?
res
.
result
:
[];
}
});
},
methods
:
{
//默认加载表格信息
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
bsmSqyw
=
this
.
bsmSqyw
;
selectQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selecBdcql.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectQlxx
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
import
{
getQllxByBsmSqyw
}
from
"@/api/system.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxData
:
[],
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
created
()
{
//初始化权利类型下拉框内容
getQllxByBsmSqyw
(
this
.
bsmSqyw
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
this
.
qllxData
=
res
.
result
?
res
.
result
:
[];
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$alert
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
methods
:
{
//默认加载表格信息
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
bsmSqyw
=
this
.
bsmSqyw
;
selectQlxx
({
...
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
;
}
}
else
{
this
.
$alert
(
res
.
message
);
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$alert
(
"请至少选择一条数据"
);
return
;
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
this
.
$alert
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/selectAllHInfo.vue
View file @
d316a1a
...
...
@@ -34,7 +34,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -47,83 +47,83 @@
</div>
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectAllHInfo.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectAllHInfo
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectAllHInfo.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectAllHInfo
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
selectAllHInfo
({
...
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
;
}
});
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
selectAllHInfo
({
...
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
;
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$message
.
error
(
res
.
messag
e
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/selectFwsyq.vue
View file @
d316a1a
...
...
@@ -34,7 +34,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -47,83 +47,83 @@
</div>
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectFwsyq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectFwsyq
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectFwsyq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectFwsyq
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectFwsyq
({
...
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
;
}
});
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectFwsyq
({
...
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
;
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$message
.
error
(
res
.
messag
e
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/selectJsydsyq.vue
View file @
d316a1a
...
...
@@ -41,7 +41,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -54,95 +54,95 @@
</div>
</
template
>
<
script
>
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectJsydsyq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
startBusinessFlow
,
selectJsydQlxx
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[]
},
bdcdysz
:
[]
}
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectJsydQlxx
({
...
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
;
}
});
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectJsydsyq.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
startBusinessFlow
,
selectJsydQlxx
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[]
},
bdcdysz
:
[]
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
mounted
()
{
sendThis
(
this
);
},
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
qllx
:
row
.
qllx
,
bdcdyh
:
row
.
bdcdyh
,
bsmQlxx
:
row
.
bsmQlxx
,
};
this
.
$popup
(
"登记簿详情"
,
"registerBook/djbFrame"
,
{
formData
:
param
})
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectJsydQlxx
({
...
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
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
qllx
:
row
.
qllx
,
bdcdyh
:
row
.
bdcdyh
,
bsmQlxx
:
row
.
bsmQlxx
,
};
this
.
$popup
(
"登记簿详情"
,
"registerBook/djbFrame"
,
{
formData
:
param
})
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
View file @
d316a1a
...
...
@@ -27,7 +27,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -40,85 +40,85 @@
</div>
</
template
>
<
script
>
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectQjzdjbxx.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
startBusinessFlow
,
selectZdjbxx
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
//首次登记
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectQjzdjbxx.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
startBusinessFlow
,
selectZdjbxx
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectZdjbxx
({
...
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
;
}
});
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectZdjbxx
({
...
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
;
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$alert
(
"请至少选择一条数据"
);
return
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$alert
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
);
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$alert
(
res
.
messag
e
);
}
}
else
{
this
.
$alert
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
});
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/selectYgdj100.vue
View file @
d316a1a
...
...
@@ -34,7 +34,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -47,83 +47,83 @@
</div>
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectYgdj100.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectYgdj100
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectYgdj100.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectYgdj100
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectYgdj100
({
...
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
;
}
});
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectYgdj100
({
...
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
;
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$message
.
error
(
res
.
messag
e
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/selectYgdj200.vue
View file @
d316a1a
...
...
@@ -34,7 +34,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -47,83 +47,83 @@
</div>
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectYgdj200.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectYgdj200
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectYgdj200.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectYgdj200
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectYgdj200
({
...
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
;
}
});
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectYgdj200
({
...
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
;
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$message
.
error
(
res
.
messag
e
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/selectYgdy.vue
View file @
d316a1a
...
...
@@ -34,7 +34,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
<lb-table
ref=
"table"
@
row-
dbl
click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -47,83 +47,83 @@
</div>
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectYgdy.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectYgdy
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
import
store
from
'@/store/index.js'
import
{
datas
,
sendThis
}
from
"../javascript/selectYgdy.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectYgdy
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectYgdy
({
...
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
;
}
});
},
bdcdysz
:
[],
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectYgdy
({
...
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
;
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
startBusinessFlow
({
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
tru
e
);
this
.
$message
.
error
(
res
.
messag
e
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
});
},
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsmSsql
=
item
.
bsmQlxx
;
item
.
ybdcqzsh
=
item
.
bdcqzh
;
});
this
.
bdcdysz
=
val
;
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
Please
register
or
sign in
to post a comment