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
db86376f
Commit
db86376f
authored
Sep 16, 2021
by
刘玉帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xq
parent
27b2049d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
25 deletions
+58
-25
src/views/rwgl/rwglindex.vue
+13
-5
src/views/rwgl/rymplb.vue
+19
-3
src/views/tjbb/tb.vue
+26
-17
No files found.
src/views/rwgl/rwglindex.vue
View file @
db86376f
<!--
* @Author: your name
* @Date: 2021-08-28 21:28:08
* @LastEditTime: 2021-09-16 1
6:39:05
* @LastEditTime: 2021-09-16 1
8:18:06
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rwgl\rwglindex.vue
...
...
@@ -446,12 +446,17 @@ export default {
*/
handSuccess
(
response
,
file
,
fileList
)
{
console
.
log
(
response
,
file
,
fileList
);
if
(
response
.
code
==
"20
0
"
)
{
if
(
response
.
code
==
"20
1
"
)
{
this
.
$message
({
message
:
"文件上传成功"
,
type
:
"
success
"
,
message
:
response
.
message
,
type
:
"
error
"
,
});
this
.
handSizePageSearch
();
}
else
if
(
response
.
code
==
'200'
){
this
.
$message
({
message
:
response
.
message
,
type
:
"success"
,
});
}
},
/**
...
...
@@ -502,7 +507,8 @@ export default {
column
.
label
==
"退回"
||
column
.
label
==
"已匹配"
||
column
.
label
==
"已反馈"
||
column
.
label
==
"未反馈"
column
.
label
==
"未反馈"
||
column
.
label
==
"人员摸排总数"
)
{
// cell.className = 'tdHover'
cell
.
classList
.
add
(
"tdHover"
);
...
...
@@ -531,6 +537,8 @@ export default {
this
.
$router
.
push
(
"/Home/rwgl/rymplb/"
+
row
.
rwid
+
"/yfk"
);
}
else
if
(
column
.
label
==
"未反馈"
)
{
this
.
$router
.
push
(
"/Home/rwgl/rymplb/"
+
row
.
rwid
+
"/wfk"
);
}
else
if
(
column
.
label
==
"人员摸排总数"
)
{
this
.
$router
.
push
(
"/Home/rwgl/rymplb/"
+
row
.
rwid
+
"/all"
);
}
},
/**
...
...
src/views/rwgl/rymplb.vue
View file @
db86376f
<!--
* @Author: your name
* @Date: 2021-08-27 15:52:57
* @LastEditTime: 2021-09-16 1
4:31:32
* @LastEditTime: 2021-09-16 1
8:16:57
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rymp.vue
...
...
@@ -671,7 +671,7 @@ export default {
rwid
:
this
.
$route
.
params
.
id
,
page
:
1
,
limit
:
10
,
thzt
:
"
0
"
,
thzt
:
"
1
"
,
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
...
...
@@ -702,6 +702,14 @@ export default {
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
}
else
if
(
this
.
$route
.
params
.
type
==
"all"
)
{
let
formList
=
{
rwid
:
this
.
$route
.
params
.
id
,
page
:
1
,
limit
:
10
,
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
}
}
...
...
@@ -738,7 +746,7 @@ export default {
rwid
:
this
.
$route
.
params
.
id
,
page
:
1
,
limit
:
10
,
thzt
:
"
0
"
,
thzt
:
"
1
"
,
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
...
...
@@ -769,6 +777,14 @@ export default {
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
}
else
if
(
this
.
$route
.
params
.
type
==
"all"
)
{
let
formList
=
{
rwid
:
this
.
$route
.
params
.
id
,
page
:
1
,
limit
:
10
,
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
}
},
};
...
...
src/views/tjbb/tb.vue
View file @
db86376f
<!--
* @Author: your name
* @Date: 2021-08-31 15:24:48
* @LastEditTime: 2021-09-1
4 15:04:29
* @LastEditTime: 2021-09-1
6 18:40:23
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\tjbb\tb.vue
...
...
@@ -19,6 +19,7 @@
</el-radio-group>
</div>
<!-- echarts图 -->
<div
class=
"content"
id=
"content"
></div>
</div>
<div
class=
"right"
>
...
...
@@ -33,7 +34,7 @@
<
script
>
import
*
as
echarts
from
"echarts"
;
import
{
get
,
postJson
,
post
}
from
"@/utils/http.js"
;
import
zoom
from
'@/utils/autosize'
export
default
{
data
()
{
return
{
...
...
@@ -47,10 +48,15 @@ export default {
Rymppmyfk
:
[],
Rymppmwfk
:
[],
Rymppmxf
:
[],
};
},
mounted
()
{
// if(this.Rymppm){
// $("#content").html('
<
div
id
=
"nodata"
style
=
"text-align: center;height:300px;line-height: 300px"
>
暂无数据
...
<
/div>'
)
;
// $('#content').removeAttr('_echarts_instance_');
// return;
// }
this
.
searchrympfkl
();
this
.
searchRympppl
();
this
.
searchGxqmprs
();
...
...
@@ -60,7 +66,6 @@ export default {
// this.initPieSecond();
// this.initPieThird()
this
.
initPieFourth
();
},
methods
:
{
/**
...
...
@@ -100,10 +105,10 @@ export default {
});
},
/**
* @description: 各辖区摸排人数
* @description: 各辖区摸排人数
* @param {*}
* @return {*}
*/
*/
searchGxqmprs
()
{
post
(
"/xqapi/rymptj/selectRympRstj"
).
then
((
res
)
=>
{
console
.
log
(
res
);
...
...
@@ -121,19 +126,19 @@ export default {
* @description: 人员摸排排名
* @param {*}
* @return {*}
*/
*/
searchRymppm
()
{
post
(
"/xqapi/rymptj/selectRympPmtj"
).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
'200'
)
{
res
.
data
.
rows
.
reverse
().
map
(
item
=>
{
if
(
res
.
code
==
"200"
)
{
res
.
data
.
rows
.
reverse
().
map
(
(
item
)
=>
{
this
.
Rymppmname
.
push
(
item
.
name
);
this
.
Rymppmth
.
push
(
item
.
th
);
this
.
Rymppmwfk
.
push
(
item
.
wfk
);
this
.
Rymppmxf
.
push
(
item
.
xf
);
this
.
Rymppmyfk
.
push
(
item
.
yfk
);
})
this
.
initEcharts
();
})
;
this
.
initEcharts
();
console
.
log
(
this
.
Rymppmname
);
console
.
log
(
this
.
Rymppmth
);
console
.
log
(
this
.
Rymppmwfk
);
...
...
@@ -161,6 +166,10 @@ export default {
let
Leftoption
;
Leftoption
=
{
title
:
{
text
:
"动态数据"
,
},
tooltip
:
{
trigger
:
"axis"
,
axisPointer
:
{
...
...
@@ -203,7 +212,7 @@ export default {
// "精武镇",
// "精武镇",
// ],
data
:
this
.
Rymppmname
,
data
:
this
.
Rymppmname
,
axisLine
:
{
show
:
false
,
},
...
...
@@ -223,7 +232,7 @@ export default {
// 18203, 23489, 29034, 104970, 131744, 630230, 104970, 131744,
// 630230,
// ],
data
:
this
.
Rymppmxf
,
data
:
this
.
Rymppmxf
,
color
:
"#4D97FF"
,
},
{
...
...
@@ -233,7 +242,7 @@ export default {
// 19325, 23438, 31000, 121594, 134141, 681807, 104970, 131744,
// 630230,
// ],
data
:
this
.
Rymppmyfk
,
data
:
this
.
Rymppmyfk
,
color
:
"#5AE2DE"
,
},
{
...
...
@@ -243,7 +252,7 @@ export default {
// 19325, 23438, 31000, 121594, 134141, 681807, 104970, 131744,
// 630230,
// ],
data
:
this
.
Rymppmwfk
,
data
:
this
.
Rymppmwfk
,
color
:
"#FF946A"
,
},
{
...
...
@@ -253,7 +262,7 @@ export default {
// 19325, 23438, 31000, 121594, 134141, 681807, 104970, 131744,
// 630230,
// ],
data
:
this
.
Rymppmth
,
data
:
this
.
Rymppmth
,
color
:
"#FC6864"
,
},
],
...
...
@@ -402,7 +411,7 @@ export default {
// { value: 48, name: "张家窝5" },
// { value: 189, name: "张家窝6" },
// ],
data
:
data
data
:
data
,
},
],
};
...
...
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