Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gavel-hafms-vue
Project
Project
Details
Activity
Releases
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
李苏
gavel-hafms-vue
Commits
39644a74
Commit
39644a74
authored
Aug 24, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.组件,2.稽核双击,3.预算展示列,4.导出。5保系统名
parent
fb2dd784
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
221 additions
and
147 deletions
+221
-147
permission.js
src/store/modules/permission.js
+1
-1
login.vue
src/views/login.vue
+1
-1
detail.vue
src/views/sbysjsp/yshz/detail.vue
+22
-1
index.vue
src/views/sbysjsp/yshz/index.vue
+189
-143
index.vue
src/views/sbysjsp/yssqtz/index.vue
+7
-0
index.vue
src/views/znjh/xmznjh/index.vue
+1
-1
No files found.
src/store/modules/permission.js
View file @
39644a74
...
@@ -61,7 +61,7 @@ const permission = {
...
@@ -61,7 +61,7 @@ const permission = {
// 向后端请求路由数据
// 向后端请求路由数据
getRouters
({}).
then
(
res
=>
{
getRouters
({}).
then
(
res
=>
{
let
appName
=
res
.
data
.
appName
||
''
let
appName
=
res
.
data
.
appName
||
'
国网淮安供电公司财务展示系统
'
commit
(
'SET_APPNAME'
,
appName
)
commit
(
'SET_APPNAME'
,
appName
)
localStorage
.
setItem
(
'appName'
,
appName
)
localStorage
.
setItem
(
'appName'
,
appName
)
...
...
src/views/login.vue
View file @
39644a74
...
@@ -138,7 +138,7 @@ export default {
...
@@ -138,7 +138,7 @@ export default {
// this.getCode();
// this.getCode();
this
.
getCookie
();
this
.
getCookie
();
systeminfo
({}).
then
(
res
=>
{
systeminfo
({}).
then
(
res
=>
{
this
.
appName
=
res
.
data
.
records
.
appName
||
''
this
.
appName
=
res
.
data
.
records
.
appName
||
'
网淮安供电公司财务展示系统
'
document
.
title
=
this
.
appName
document
.
title
=
this
.
appName
})
})
},
},
...
...
src/views/sbysjsp/yshz/detail.vue
View file @
39644a74
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<DefaultDialog
:app=
'app'
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<div
class=
"full"
>
<div
class=
"full"
>
<EditTable
:allowEdit=
'false'
:spanMethod=
'spanMethod'
ref=
"editTable"
:editTableData=
'newFormDetail'
<EditTable
@
initTableTitle=
'initTableTitle'
:allowEdit=
'false'
:spanMethod=
'spanMethod'
ref=
"editTable"
:editTableData=
'newFormDetail'
:app=
'this'
></EditTable>
:app=
'this'
></EditTable>
</div>
</div>
</div>
</div>
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
}
}
},
},
async
mounted
()
{
async
mounted
()
{
},
},
...
@@ -126,6 +127,26 @@
...
@@ -126,6 +127,26 @@
}
}
},
},
methods
:
{
methods
:
{
initTableTitle
(){
const
list
=
this
.
$refs
.
editTable
.
tableTitle
const
showList
=
[
'pje'
,
'mje'
,
'tzhje'
]
if
(
this
.
app
.
queryParams
.
xsystz
==
'Y'
){
list
.
forEach
(
item
=>
{
if
(
item
&&
item
.
prop
&&
showList
.
includes
(
item
.
prop
))
{
item
.
show
=
true
}
})
}
else
{
list
.
forEach
(
item
=>
{
if
(
item
&&
item
.
prop
&&
showList
.
includes
(
item
.
prop
))
{
item
.
show
=
false
}
})
}
},
spanMethod
({
spanMethod
({
row
,
row
,
column
,
column
,
...
...
src/views/sbysjsp/yshz/index.vue
View file @
39644a74
This diff is collapsed.
Click to expand it.
src/views/sbysjsp/yssqtz/index.vue
View file @
39644a74
...
@@ -65,6 +65,7 @@
...
@@ -65,6 +65,7 @@
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'this'
/>
<AttachFileButton
:app=
'this'
/>
<el-button
size=
'mini'
@
click=
"dcmb()"
type=
"primary"
>
导出模板
</el-button>
<!--
<el-button
size=
'mini'
@
click=
"yssqsp()"
type=
"primary"
>
预算申请审批
</el-button>
-->
<!--
<el-button
size=
'mini'
@
click=
"yssqsp()"
type=
"primary"
>
预算申请审批
</el-button>
-->
<!--
<AttachFileButton
:app=
'app'
></AttachFileButton>
-->
<!--
<AttachFileButton
:app=
'app'
></AttachFileButton>
-->
<!-- 额外按钮-->
<!-- 额外按钮-->
...
@@ -83,6 +84,9 @@
...
@@ -83,6 +84,9 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
download
}
from
'common/src/utils/request.js'
import
{
import
{
doQuery
,
doQuery
,
doAdd
,
doAdd
,
...
@@ -147,6 +151,9 @@
...
@@ -147,6 +151,9 @@
}
}
},
},
methods
:
{
methods
:
{
dcmb
()
{
download
(
'hafms/yssq/ystz/model/export'
,
{},
'预算申请导出.xlsx'
)
},
yssqsp
(){
yssqsp
(){
if
(
this
.
app
.
selectOne
||
this
.
app
.
clickOne
)
{
if
(
this
.
app
.
selectOne
||
this
.
app
.
clickOne
)
{
submit
(
this
.
singleItem
).
then
(
res
=>
{
submit
(
this
.
singleItem
).
then
(
res
=>
{
...
...
src/views/znjh/xmznjh/index.vue
View file @
39644a74
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
</el-row>
</el-row>
<!-- 表格-->
<!-- 表格-->
<div
class=
"tablePagers"
>
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
<TablePager
@
dblclick
.
native=
"xq()"
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
:operateButtons=
'false'
:multipleTrans=
"[
:operateButtons=
'false'
:multipleTrans=
"[
'wtlxids','chooseLrzxids'
'wtlxids','chooseLrzxids'
]"
@
getRow=
'getRow'
>
]"
@
getRow=
'getRow'
>
...
...
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