Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-qyxzpt-vue-report
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
余浩
xzxt-qyxzpt-vue-report
Commits
d53d18f5
Commit
d53d18f5
authored
Nov 16, 2023
by
yuhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善
parent
388415df
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
87 additions
and
14 deletions
+87
-14
src/components/lazy_treeCode_components.vue
+2
-1
src/views/baxz/queryBaxz.vue
+72
-10
src/views/baxz/queryDbxz.vue
+1
-1
src/views/baxz/queryDshxz.vue
+11
-1
src/views/baxz/queryYbxz.vue
+1
-1
No files found.
src/components/lazy_treeCode_components.vue
View file @
d53d18f5
...
@@ -453,9 +453,10 @@ export default {
...
@@ -453,9 +453,10 @@ export default {
console
.
log
(
codeResult
,
55555555
);
console
.
log
(
codeResult
,
55555555
);
if
(
codeResult
.
data
.
code
==
200
)
{
if
(
codeResult
.
data
.
code
==
200
)
{
//判断是否有下级
//判断是否有下级
// + "[" + realCodeItem.id + "]"
codeResult
.
data
.
data
.
rows
.
forEach
((
realCodeItem
)
=>
{
codeResult
.
data
.
data
.
rows
.
forEach
((
realCodeItem
)
=>
{
realCodeItem
.
label
=
realCodeItem
.
label
=
realCodeItem
.
label
+
"["
+
realCodeItem
.
id
+
"]"
;
realCodeItem
.
label
;
if
(
realCodeItem
.
parentFlag
==
"true"
)
{
if
(
realCodeItem
.
parentFlag
==
"true"
)
{
realCodeItem
.
leaf
=
false
;
realCodeItem
.
leaf
=
false
;
}
else
{
}
else
{
...
...
src/views/baxz/queryBaxz.vue
View file @
d53d18f5
...
@@ -48,7 +48,27 @@
...
@@ -48,7 +48,27 @@
@
handleSizeChange=
"handleSizeChange"
@
handleSizeChange=
"handleSizeChange"
@
handleCurrentChange=
"handleCurrentChange"
@
handleCurrentChange=
"handleCurrentChange"
@
rowBtn=
"rowBtn"
@
rowBtn=
"rowBtn"
@
rowOperation=
"rowOperation"
></Mytable>
@
rowOperation=
"rowOperation"
>
<template
#
btnGroup=
"scope"
>
<el-button
class=
"hbyp"
type=
"text"
v-if=
"scope.scope.xzzt=='0'||scope.scope.xzzt=='1'"
size=
"mini"
@
click=
"editBtn(scope.scope)"
>
修改
</el-button>
<el-button
class=
"hbyp"
type=
"text"
v-if=
"scope.scope.xzzt=='0'&&scope.scope.xxczryGmsfhm==userAuth.identitycard"
size=
"mini"
:loading=
"loadingAPP"
@
click=
"toApprovalBtn(scope.scope)"
>
提交审核
</el-button>
<el-button
class=
"hbyp"
type=
"text"
:loading=
"loadingBack"
v-if=
"scope.scope.xzzt=='1'&&scope.scope.xxczryGmsfhm==userAuth.identitycard"
size=
"mini"
@
click=
"backBtn(scope.scope)"
>
退回
</el-button>
</
template
>
</Mytable>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -58,6 +78,7 @@
...
@@ -58,6 +78,7 @@
import
Mytable
from
'@/components/Mytable.vue'
import
Mytable
from
'@/components/Mytable.vue'
import
{
import
{
selectAll
,
//协助查询
selectAll
,
//协助查询
shXzqqXx
,
//审批
}
from
"@/api/statistical.js"
}
from
"@/api/statistical.js"
import
SelectTreeDialog
from
"@c/treeCode_components.vue"
;
import
SelectTreeDialog
from
"@c/treeCode_components.vue"
;
import
{
mapGetters
}
from
"vuex"
import
{
mapGetters
}
from
"vuex"
...
@@ -68,12 +89,14 @@ export default {
...
@@ -68,12 +89,14 @@ export default {
data
()
{
data
()
{
return
{
return
{
loadingAPP
:
false
,
loadingBack
:
false
,
leftMenus
:
[
leftMenus
:
[
//左侧导航(模块第一个页面需要)
//左侧导航(模块第一个页面需要)
{
{
id
:
"queryBaxz"
,
id
:
"queryBaxz"
,
label
:
"协作管理"
,
label
:
"协作管理"
,
newAuth
:
[
"C1901"
,
"F010101"
],
newAuth
:
[],
index
:
"/queryBaxz"
,
index
:
"/queryBaxz"
,
className
:
"iconfont icon-ziyuanliebiao1"
,
className
:
"iconfont icon-ziyuanliebiao1"
,
hasChildren
:
true
,
hasChildren
:
true
,
...
@@ -81,7 +104,7 @@ export default {
...
@@ -81,7 +104,7 @@ export default {
{
{
id
:
"queryBaxz"
,
id
:
"queryBaxz"
,
label
:
"协作列表"
,
label
:
"协作列表"
,
newAuth
:
[
"C1901"
,
"F010101"
],
newAuth
:
[],
index
:
"/queryBaxz"
,
index
:
"/queryBaxz"
,
className
:
"iconfont icon-shenpi"
,
className
:
"iconfont icon-shenpi"
,
hasChildren
:
false
,
hasChildren
:
false
,
...
@@ -89,7 +112,7 @@ export default {
...
@@ -89,7 +112,7 @@ export default {
{
{
id
:
"queryDshxz"
,
id
:
"queryDshxz"
,
label
:
"待审核协作"
,
label
:
"待审核协作"
,
newAuth
:
[
"C190
1"
,
"C190
2"
,
"F010101"
],
newAuth
:
[
"C1902"
,
"F010101"
],
index
:
"/queryDshxz"
,
index
:
"/queryDshxz"
,
className
:
"iconfont icon-shenpi"
,
className
:
"iconfont icon-shenpi"
,
hasChildren
:
false
,
hasChildren
:
false
,
...
@@ -97,7 +120,7 @@ export default {
...
@@ -97,7 +120,7 @@ export default {
{
{
id
:
"queryDbxz"
,
id
:
"queryDbxz"
,
label
:
"待办协作"
,
label
:
"待办协作"
,
newAuth
:
[
"C1901"
,
"F010101"
],
newAuth
:
[],
index
:
"/queryDbxz"
,
index
:
"/queryDbxz"
,
className
:
"iconfont icon-shenpi"
,
className
:
"iconfont icon-shenpi"
,
hasChildren
:
false
,
hasChildren
:
false
,
...
@@ -105,7 +128,7 @@ export default {
...
@@ -105,7 +128,7 @@ export default {
{
{
id
:
"queryYbxz"
,
id
:
"queryYbxz"
,
label
:
"已办协作"
,
label
:
"已办协作"
,
newAuth
:
[
"C1901"
,
"F010101"
],
newAuth
:
[],
index
:
"/queryYbxz"
,
index
:
"/queryYbxz"
,
className
:
"iconfont icon-shenpi"
,
className
:
"iconfont icon-shenpi"
,
hasChildren
:
false
,
hasChildren
:
false
,
...
@@ -115,7 +138,7 @@ export default {
...
@@ -115,7 +138,7 @@ export default {
{
{
id
:
"queryApproval"
,
id
:
"queryApproval"
,
label
:
"注册审核管理"
,
label
:
"注册审核管理"
,
newAuth
:
[
"C190
1"
,
"C190
3"
,
"F010101"
],
newAuth
:
[
"C1903"
,
"F010101"
],
index
:
"/queryApproval"
,
index
:
"/queryApproval"
,
className
:
"iconfont icon-ziyuanliebiao1"
,
className
:
"iconfont icon-ziyuanliebiao1"
,
hasChildren
:
false
,
hasChildren
:
false
,
...
@@ -186,14 +209,13 @@ export default {
...
@@ -186,14 +209,13 @@ export default {
},
},
{
{
isOperation
:
true
,
isOperation
:
true
,
type
:
'basic
Xz
'
,
type
:
'basic
Slot
'
,
label
:
"操作"
,
label
:
"操作"
,
width
:
"180"
,
width
:
"180"
,
align
:
"center"
,
align
:
"center"
,
fixed
:
"right"
,
fixed
:
"right"
,
sortable
:
false
,
sortable
:
false
,
operation
:
[
operation
:
[
{
{
operation
:
"edit"
,
operation
:
"edit"
,
type
:
"text"
,
type
:
"text"
,
...
@@ -215,7 +237,7 @@ export default {
...
@@ -215,7 +237,7 @@ export default {
},
},
computed
:
{
computed
:
{
...
mapGetters
([
"user
Info
"
])
...
mapGetters
([
"user
Auth
"
])
},
},
mounted
()
{
mounted
()
{
document
.
getElementsByClassName
(
"el-pagination__jump"
)[
0
].
childNodes
[
0
].
nodeValue
=
"跳至"
;
document
.
getElementsByClassName
(
"el-pagination__jump"
)[
0
].
childNodes
[
0
].
nodeValue
=
"跳至"
;
...
@@ -227,6 +249,46 @@ export default {
...
@@ -227,6 +249,46 @@ export default {
window
.
removeEventListener
(
"message"
,
this
.
messageReciver
,
false
);
window
.
removeEventListener
(
"message"
,
this
.
messageReciver
,
false
);
},
},
methods
:
{
methods
:
{
editBtn
(
rows
)
{
this
.
$router
.
pushToTab
({
path
:
'/editBaxz'
,
query
:
{
id
:
rows
.
xxzjbh
,
}
})
},
async
backBtn
(
rows
)
{
this
.
loadingBack
=
true
const
params
=
new
FormData
()
params
.
append
(
'xzzt'
,
'0'
)
params
.
append
(
'xxzjbh'
,
rows
.
xxzjbh
)
let
res
=
await
shXzqqXx
(
params
)
try
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
loadingBack
=
false
this
.
$message
.
success
(
'退回成功!'
)
this
.
getList
()
}
}
catch
(
error
)
{
}
},
async
toApprovalBtn
(
rows
)
{
this
.
loadingAPP
=
true
const
params
=
new
FormData
()
params
.
append
(
'xzzt'
,
'1'
)
params
.
append
(
'xxzjbh'
,
rows
.
xxzjbh
)
let
res
=
await
shXzqqXx
(
params
)
try
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
loadingAPP
=
false
this
.
$message
.
success
(
'提交审核成功!'
)
this
.
getList
()
}
}
catch
(
error
)
{
}
},
messageReciver
(
e
)
{
messageReciver
(
e
)
{
if
(
e
.
origin
==
location
.
origin
&&
e
.
data
==
'appReloadData'
)
{
if
(
e
.
origin
==
location
.
origin
&&
e
.
data
==
'appReloadData'
)
{
this
.
getList
();
this
.
getList
();
...
...
src/views/baxz/queryDbxz.vue
View file @
d53d18f5
...
@@ -300,7 +300,7 @@ export default {
...
@@ -300,7 +300,7 @@ export default {
let
res
=
await
selectAll
(
params
)
let
res
=
await
selectAll
(
params
)
if
(
res
&&
res
.
code
==
200
)
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
rows
this
.
tableData
=
res
.
data
.
rows
this
.
total
=
res
.
data
.
total
this
.
pageObj
.
total
=
res
.
data
.
total
this
.
loadings
=
false
;
this
.
loadings
=
false
;
}
else
{
}
else
{
this
.
loadings
=
false
;
this
.
loadings
=
false
;
...
...
src/views/baxz/queryDshxz.vue
View file @
d53d18f5
...
@@ -238,11 +238,21 @@ export default {
...
@@ -238,11 +238,21 @@ export default {
params
.
append
(
'spyj'
,
this
.
formPer
.
spsm
)
params
.
append
(
'spyj'
,
this
.
formPer
.
spsm
)
params
.
append
(
'xzzt'
,
this
.
formPer
.
result
)
params
.
append
(
'xzzt'
,
this
.
formPer
.
result
)
let
res
=
await
shXzqqXx
(
params
)
let
res
=
await
shXzqqXx
(
params
)
try
{
if
(
res
&&
res
.
code
==
200
)
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
$message
.
success
(
'审核成功'
)
this
.
$message
.
success
(
'审核成功'
)
this
.
dialogVisiblePermisson
=
false
;
this
.
dialogVisiblePermisson
=
false
;
this
.
loadingPer
=
false
this
.
loadingPer
=
false
this
,
this
.
getList
()
this
,
this
.
getList
()
}
else
{
console
.
log
(
123
,
res
);
this
.
$message
.
error
(
`
${
res
.
message
}
`
)
this
.
loadingPer
=
false
}
}
catch
(
error
)
{
console
.
log
(
error
,
res
,
333
);
this
.
loadingPer
=
false
}
}
}
}
})
})
...
@@ -295,7 +305,7 @@ export default {
...
@@ -295,7 +305,7 @@ export default {
let
res
=
await
selectAll
(
params
)
let
res
=
await
selectAll
(
params
)
if
(
res
&&
res
.
code
==
200
)
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
rows
this
.
tableData
=
res
.
data
.
rows
this
.
total
=
res
.
data
.
total
this
.
pageObj
.
total
=
res
.
data
.
total
this
.
loadings
=
false
;
this
.
loadings
=
false
;
}
else
{
}
else
{
this
.
loadings
=
false
;
this
.
loadings
=
false
;
...
...
src/views/baxz/queryYbxz.vue
View file @
d53d18f5
...
@@ -219,7 +219,7 @@ export default {
...
@@ -219,7 +219,7 @@ export default {
let
res
=
await
selectAll
(
params
)
let
res
=
await
selectAll
(
params
)
if
(
res
&&
res
.
code
==
200
)
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
rows
this
.
tableData
=
res
.
data
.
rows
this
.
total
=
res
.
data
.
total
this
.
pageObj
.
total
=
res
.
data
.
total
this
.
loadings
=
false
;
this
.
loadings
=
false
;
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment