Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
1c064af9
Commit
1c064af9
authored
May 19, 2022
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出功能、菜单修改
parent
25db100f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
132 additions
and
65 deletions
+132
-65
package-lock.json
+0
-0
src/components/form.vue
+1
-3
src/views/hbyprw/queryYpcp/queryYpcp.vue
+1
-1
src/views/sf/queryGnxnpg.vue
+64
-1
src/views/userAuth/user/addUser.vue
+2
-0
src/views/userAuth/user/addXg.vue
+2
-0
src/views/userAuth/user/editXg.vue
+2
-0
src/views/zdxx/zdxxgl/queryZdxxgl.vue
+9
-9
src/views/ztyp/queryQt.vue
+9
-9
src/views/ztyp/queryTdyp.vue
+42
-42
No files found.
package-lock.json
View file @
1c064af9
This diff is collapsed.
Click to expand it.
src/components/form.vue
View file @
1c064af9
...
...
@@ -234,7 +234,7 @@
</div>
<!--文本域-->
<el-input
style=
"height: 100px"
style=
"
min
height: 100px"
type=
"textarea"
:autosize=
"autosize"
:rows=
"item.rows ? item.rows : 10"
...
...
@@ -1802,8 +1802,6 @@ export default {
},
getDialogSeleted
(
label
)
{
debugger
;
// this.unitname = label
// console.log('sadasdasdasdasdasda',label);
this
.
$emit
(
"getDialogSeletesd"
,
label
);
},
changeAJLB
(
label
)
{
...
...
src/views/hbyprw/queryYpcp/queryYpcp.vue
View file @
1c064af9
...
...
@@ -325,7 +325,7 @@ export default {
var
self
=
this
;
let
tHeader
=
[];
let
filterVal
=
[];
let
header
=
"
合成研判
"
;
let
header
=
"
研判产品
"
;
let
params
=
new
FormData
();
params
.
append
(
"rows"
,
"5000"
);
params
.
append
(
"page"
,
this
.
cxFormData
.
page
);
...
...
src/views/sf/queryGnxnpg.vue
View file @
1c064af9
...
...
@@ -12,6 +12,7 @@
ref=
"rightContent"
>
<template
#
listOperation=
"scope"
>
<span
class=
"hbyps"
@
click=
"exportExcel(scope.scope)"
>
导出
</span>
<span
class=
"hbyps"
@
click=
"getFh(scope.scope)"
>
返回
</span>
<span
class=
"hbyps"
@
click=
"getYdfx(scope.scope)"
>
功能效能分析
</span>
</
template
>
...
...
@@ -26,7 +27,7 @@
<div
style=
"margin: 10px 0 0 20px"
>
<span
style=
"font-size: 16px"
>
{{ gnYdfx }}
</span>
</div>
<div
style=
"margin: 20px;
height: 374px;overflow-y: scroll;
"
>
<div
style=
"margin: 20px;
height: 374px; overflow-y: scroll
"
>
<el-table
:data=
"fxlist"
border
style=
"width: 100%"
>
<el-table-column
v-for=
"(columnTitle, index) in tableData"
...
...
@@ -105,6 +106,8 @@
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
getGnyxFxjg
}
from
"@/api/fzjc.js"
;
import
{
get
,
post
,
postform
}
from
"@/utils/http.js"
;
import
qs
from
"qs"
;
export
default
{
name
:
"queryGnxnpg"
,
components
:
{
...
...
@@ -144,6 +147,7 @@ export default {
limit
:
10
,
page
:
1
,
functionName
:
""
,
functionNum
:
""
,
fwsjKssj
:
""
,
fwsjJssj
:
""
,
},
...
...
@@ -242,6 +246,65 @@ export default {
this
.
$store
.
commit
(
"user/SET_Header"
,
this
.
header
);
},
methods
:
{
exportExcel
(
scope
)
{
var
self
=
this
;
let
tHeader
=
[];
let
filterVal
=
[];
let
header
=
"效能评估"
;
let
params
=
{
limit
:
5000
,
page
:
1
,
functionName
:
this
.
cxFormData
.
functionName
,
functionNum
:
this
.
cxFormData
.
functionNum
,
fwsjKssj
:
this
.
cxFormData
.
fwsjKssj
,
fwsjJssj
:
this
.
cxFormData
.
fwsjJssj
,
};
self
.
cxDefaultFormThead
.
forEach
((
val
)
=>
{
tHeader
.
push
(
val
.
label
);
filterVal
.
push
(
val
.
prop
);
});
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在导出..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
post
(
`
${
this
.
$baseUrl
.
alyIP
}${
this
.
cxUrl
}
`
,
qs
.
stringify
(
params
)).
then
(
(
res
)
=>
{
debugger
;
if
(
res
.
code
===
200
)
{
require
.
ensure
([],
()
=>
{
const
{
export_json_to_excel
}
=
require
(
"@/utils/Export2Excel"
);
const
list
=
res
.
data
.
rows
||
res
.
data
;
const
data
=
self
.
formatJson
(
filterVal
,
list
);
export_json_to_excel
(
tHeader
,
data
,
header
);
});
loading
.
close
();
}
}
);
},
formatJson
(
filterVal
,
jsonData
)
{
let
arr
=
[];
jsonData
.
map
((
v
)
=>
{
let
arr1
=
[];
filterVal
.
map
((
j
)
=>
{
if
(
j
.
indexOf
(
","
)
!=
-
1
)
{
let
arr
=
j
.
split
(
","
);
let
data
=
""
;
for
(
let
i
=
0
;
i
<=
arr
.
length
-
1
;
i
++
)
{
data
+=
arr
[
i
].
split
(
":"
)[
0
]
+
":"
+
v
[
arr
[
i
].
split
(
":"
)[
1
]];
}
arr1
.
push
(
data
);
}
else
{
arr1
.
push
(
v
[
j
]);
}
});
arr
.
push
(
arr1
);
});
return
arr
;
},
toInfor
(
scope
)
{
debugger
;
this
.
cxFormData
.
functionNum
=
scope
.
functionNum
;
...
...
src/views/userAuth/user/addUser.vue
View file @
1c064af9
...
...
@@ -168,6 +168,7 @@ export default {
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
loading
.
close
();
}
});
},
...
...
@@ -186,6 +187,7 @@ export default {
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
loading
.
close
();
}
});
},
...
...
src/views/userAuth/user/addXg.vue
View file @
1c064af9
...
...
@@ -181,6 +181,7 @@ export default {
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
loading
.
close
();
}
});
},
...
...
@@ -199,6 +200,7 @@ export default {
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
loading
.
close
();
}
});
},
...
...
src/views/userAuth/user/editXg.vue
View file @
1c064af9
...
...
@@ -159,6 +159,7 @@ export default {
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
loading
.
close
();
}
});
},
...
...
@@ -179,6 +180,7 @@ export default {
});
}
else
{
this
.
$message
.
error
(
res
.
message
);
loading
.
close
();
}
});
},
...
...
src/views/zdxx/zdxxgl/queryZdxxgl.vue
View file @
1c064af9
...
...
@@ -414,15 +414,15 @@ export default {
index
:
"qjgnsyrz"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
}
,
{
id
:
"queryZdXsbk"
,
label
:
"阵地布控模型管理"
,
newAuth
:
"M01"
,
index
:
"queryZdXsbk"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
}
//
{
//
id: "queryZdXsbk",
//
label: "阵地布控模型管理",
//
newAuth: "M01",
//
index: "queryZdXsbk",
//
className: "iconfont icongongnengfuwu",
//
hasChildren: false,
//
},
],
selectArr
:
[],
revokeVisiable
:
false
,
...
...
src/views/ztyp/queryQt.vue
View file @
1c064af9
...
...
@@ -421,14 +421,14 @@ export default {
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
{
id
:
"qgasjxxcx"
,
label
:
"部资源查询"
,
index
:
"qgasjxxcx"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
//
{
//
id: "qgasjxxcx",
//
label: "部资源查询",
//
index: "qgasjxxcx",
//
auth: "M0101",
//
className: "iconfont iconrizhi",
//
disabled: false,
//
},
],
},
],
...
...
@@ -936,7 +936,7 @@ export default {
margin-right
:
16px
;
cursor
:
pointer
;
}
/
deep
/
.el-upload-list__item
{
::v-deep
.el-upload-list__item
{
width
:
350px
;
}
.hbyps
{
...
...
src/views/ztyp/queryTdyp.vue
View file @
1c064af9
...
...
@@ -288,49 +288,49 @@ export default {
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
{
id
:
"wlfq"
,
label
:
"标识号研判"
,
newAuth
:
"M03"
,
index
:
"6"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
true
,
children
:
[
{
id
:
"wlfq"
,
label
:
"网络贩枪"
,
newAuth
:
"M301"
,
index
:
"wlfq"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
{
id
:
"wlfqkd"
,
label
:
"网络贩枪快递"
,
newAuth
:
"M302"
,
index
:
"wlfqkd"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
//
{
//
id: "wlfq",
//
label: "标识号研判",
//
newAuth: "M03",
//
index: "6",
//
className: "iconfont icongongnengfuwu",
//
hasChildren: true,
//
children: [
//
{
//
id: "wlfq",
//
label: "网络贩枪",
//
newAuth: "M301",
//
index: "wlfq",
//
className: "iconfont icongongnengfuwu",
//
hasChildren: false,
//
},
//
{
//
id: "wlfqkd",
//
label: "网络贩枪快递",
//
newAuth: "M302",
//
index: "wlfqkd",
//
className: "iconfont icongongnengfuwu",
//
hasChildren: false,
//
},
{
id
:
"kydhfx"
,
label
:
"客运带货分析"
,
newAuth
:
"M303"
,
index
:
"kydhfx"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
{
id
:
"qzlb"
,
label
:
"群组列表"
,
newAuth
:
"M303"
,
index
:
"qzlb"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
],
},
//
{
//
id: "kydhfx",
//
label: "客运带货分析",
//
newAuth: "M303",
//
index: "kydhfx",
//
className: "iconfont icongongnengfuwu",
//
hasChildren: false,
//
},
//
{
//
id: "qzlb",
//
label: "群组列表",
//
newAuth: "M303",
//
index: "qzlb",
//
className: "iconfont icongongnengfuwu",
//
hasChildren: false,
//
},
//
],
//
},
],
};
},
...
...
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