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
95524904
authored
2023-08-24 17:17:17 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
f02a1424
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
53 additions
and
22 deletions
src/store/getters.js
src/store/modules/getdqhj.js
src/views/workflow/components/spyj.vue
src/views/workflow/mixin/index.js
src/views/ywbl/slsqxx/fdcq1/slxx.vue
src/views/ywbl/slsqxx/fdcq2/slxxOverview.vue
src/store/getters.js
View file @
9552490
...
...
@@ -22,6 +22,7 @@ const getters = {
// workflow
isRefresh
:
state
=>
state
.
user
.
isRefresh
,
workFresh
:
state
=>
state
.
user
.
workFresh
,
yjsqOptions
:
state
=>
state
.
workflow
.
yjsqOptions
yjsqOptions
:
state
=>
state
.
workflow
.
yjsqOptions
,
dqhj
:
state
=>
state
.
getdqhj
.
dqhj
}
export
default
getters
...
...
src/store/modules/getdqhj.js
0 → 100644
View file @
9552490
const
state
=
{
dqhj
:
""
,
}
const
mutations
=
{
SET_DQHJ
:
(
state
,
data
)
=>
{
state
.
dqhj
=
data
}
}
const
actions
=
{
setdqjh
({
commit
},
data
)
{
commit
(
'SET_DQHJ'
,
data
)
}
}
export
default
{
namespaced
:
true
,
state
,
mutations
,
actions
}
src/views/workflow/components/spyj.vue
View file @
9552490
...
...
@@ -75,7 +75,7 @@ import { mapGetters } from "vuex";
import
{
getNewDatesh
}
from
"@/utils/util"
;
export
default
{
computed
:
{
...
mapGetters
([
"
userData
"
,
"yjsqOptions"
,
"userInfo"
]),
...
mapGetters
([
"
dqhj
"
,
"yjsqOptions"
,
"userInfo"
]),
},
data
()
{
return
{
...
...
@@ -104,12 +104,22 @@ export default {
deep
:
true
,
immediate
:
true
,
},
dqhj
:
{
handler
(
val
)
{
if
(
this
.
$parent
.
dqhj
){
this
.
getShList
();
}
},
deep
:
true
,
immediate
:
true
,
},
},
created
()
{},
mounted
()
{
this
.
propsParam
=
this
.
$attrs
;
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
getShList
();
switch
(
this
.
$parent
.
dqhj
)
{
case
"cs"
:
...
...
@@ -139,7 +149,7 @@ export default {
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
;
...
...
@@ -174,10 +184,21 @@ export default {
item
.
show
=
false
;
}
});
this
.
$endLoading
();
});
}
});
},
/**
* @description: dataset
* @param {*} 数据处理
* @author: renchao
*/
dataset
(){
},
/**
* @description: judgment
* @param {*} obj
...
...
@@ -195,7 +216,7 @@ export default {
item
[
"czjg"
]
=
"1"
;
});
var
index
=
this
.
tableData
.
findIndex
(
(
item
)
=>
item
.
shyj
==
=
null
||
item
.
shyj
===
""
(
item
)
=>
item
.
shyj
==
null
||
item
.
shyj
==
""
);
if
(
index
==-
1
){
this
.
shows
=
true
;
...
...
src/views/workflow/mixin/index.js
View file @
9552490
...
...
@@ -60,6 +60,7 @@ export default {
this
.
leftButtonList
=
res
.
result
.
button
;
if
(
res
.
result
.
properties
&&
res
.
result
.
properties
.
length
)
{
this
.
dqhj
=
res
.
result
.
properties
[
0
].
value
this
.
$store
.
dispatch
(
'getdqhj/setdqjh'
,
this
.
dqhj
);
}
this
.
rightButtonList
=
res
.
result
.
operation
;
this
.
slsq
=
res
.
result
.
slsq
...
...
@@ -220,7 +221,6 @@ export default {
record
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
result
.
length
===
1
)
{
console
.
log
(
res
.
result
,
'res.result'
);
res
.
result
[
0
].
state
?
that
.
$message
({
message
:
'登簿成功'
,
type
:
'success'
...
...
src/views/ywbl/slsqxx/fdcq1/slxx.vue
View file @
9552490
...
...
@@ -174,7 +174,6 @@
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"!viewEdit"
@
change=
"showCZInfo"
v-model=
"ruleForm.sldy.gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
...
...
@@ -359,13 +358,7 @@ export default {
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
this
.
key
++
;
},
// /**
// * @description: showCZInfo
// * @author: renchao
// */
// showCZInfo() {
// console.log(this.ruleForm.slsq.gyfs);
// },
// 是否持证人变化
/**
* @description: 是否持证人变化
...
...
src/views/ywbl/slsqxx/fdcq2/slxxOverview.vue
View file @
9552490
...
...
@@ -151,7 +151,6 @@
<el-form-item
label=
"共有方式:"
>
<el-radio-group
:disabled=
"!viewEdit"
@
change=
"showCZInfo"
v-model=
"ruleForm.sldyList[0].gyfs"
>
<el-radio
label=
"0"
>
单独所有
</el-radio>
...
...
@@ -352,13 +351,8 @@ export default {
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
},
/**
* @description: showCZInfo
* @author: renchao
*/
showCZInfo
()
{
// console.log(this.ruleForm.slsq.gyfs);
},
// 是否持证人变化
/**
* @description: 是否持证人变化
...
...
Please
register
or
sign in
to post a comment