Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0e536030
authored
Jun 30, 2023
by
怪兽?别跑
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表单下载方式调整
1 parent
6c8e6d7d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
21 deletions
linkwe-pc/src/api/drainageCode/smartForms.js
linkwe-pc/src/views/drainageCode/smartForms/statistics/Overview.vue
linkwe-pc/src/views/drainageCode/smartForms/statistics/UserStatistics.vue
linkwe-pc/src/api/drainageCode/smartForms.js
View file @
0e53603
...
@@ -30,7 +30,7 @@ export function insertInfoToSurvey(data) {
...
@@ -30,7 +30,7 @@ export function insertInfoToSurvey(data) {
return
request
({
return
request
({
url
:
service
+
'/survey/add'
,
url
:
service
+
'/survey/add'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -39,7 +39,7 @@ export function surveyList(data) {
...
@@ -39,7 +39,7 @@ export function surveyList(data) {
return
request
({
return
request
({
url
:
service
+
'/survey/list'
,
url
:
service
+
'/survey/list'
,
method
:
'GET'
,
method
:
'GET'
,
params
:
data
,
params
:
data
})
})
}
}
...
@@ -47,7 +47,7 @@ export function surveyList(data) {
...
@@ -47,7 +47,7 @@ export function surveyList(data) {
export
function
deleteInfoToSurvey
(
ids
)
{
export
function
deleteInfoToSurvey
(
ids
)
{
return
request
({
return
request
({
url
:
service
+
'/survey/delete/'
+
ids
,
url
:
service
+
'/survey/delete/'
+
ids
,
method
:
'DELETE'
,
method
:
'DELETE'
})
})
}
}
...
@@ -55,7 +55,7 @@ export function deleteInfoToSurvey(ids) {
...
@@ -55,7 +55,7 @@ export function deleteInfoToSurvey(ids) {
export
function
selectInfoToSurvey
(
id
)
{
export
function
selectInfoToSurvey
(
id
)
{
return
request
({
return
request
({
url
:
service
+
'/survey/getInfo/'
+
id
,
url
:
service
+
'/survey/getInfo/'
+
id
,
method
:
'GET'
,
method
:
'GET'
})
})
}
}
...
@@ -64,7 +64,7 @@ export function submitForm(data) {
...
@@ -64,7 +64,7 @@ export function submitForm(data) {
return
request
({
return
request
({
url
:
service
+
'/answer/add'
,
url
:
service
+
'/answer/add'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -73,7 +73,7 @@ export function isCompleteSurvey(data) {
...
@@ -73,7 +73,7 @@ export function isCompleteSurvey(data) {
return
request
({
return
request
({
url
:
service
+
'/answer/isCompleteSurvey'
,
url
:
service
+
'/answer/isCompleteSurvey'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -82,7 +82,7 @@ export function insertPieValue(data) {
...
@@ -82,7 +82,7 @@ export function insertPieValue(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/insertPieValue'
,
url
:
service
+
'/statistic/insertPieValue'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -91,7 +91,7 @@ export function updateSurveyStatus(data) {
...
@@ -91,7 +91,7 @@ export function updateSurveyStatus(data) {
return
request
({
return
request
({
url
:
service
+
'/survey/updateStatus'
,
url
:
service
+
'/survey/updateStatus'
,
method
:
'put'
,
method
:
'put'
,
data
,
data
})
})
}
}
...
@@ -100,7 +100,7 @@ export function getAccessToken(data) {
...
@@ -100,7 +100,7 @@ export function getAccessToken(data) {
return
request
({
return
request
({
url
:
service
+
'/Statistics/getAccessToken'
+
data
,
url
:
service
+
'/Statistics/getAccessToken'
+
data
,
method
:
'get'
,
method
:
'get'
,
data
,
data
})
})
}
}
...
@@ -109,7 +109,7 @@ export function updateSurveyGroup(data) {
...
@@ -109,7 +109,7 @@ export function updateSurveyGroup(data) {
return
request
({
return
request
({
url
:
service
+
'/updateSurveyGroup'
,
url
:
service
+
'/updateSurveyGroup'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -120,7 +120,7 @@ export function selectStatistics(data) {
...
@@ -120,7 +120,7 @@ export function selectStatistics(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/getStatistics'
,
url
:
service
+
'/statistic/getStatistics'
,
method
:
'get'
,
method
:
'get'
,
params
:
data
,
params
:
data
})
})
}
}
...
@@ -129,7 +129,7 @@ export function lineChart(data) {
...
@@ -129,7 +129,7 @@ export function lineChart(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/lineChart'
,
url
:
service
+
'/statistic/lineChart'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -138,7 +138,7 @@ export function StatisticsDataList(data) {
...
@@ -138,7 +138,7 @@ export function StatisticsDataList(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/dataList'
,
url
:
service
+
'/statistic/dataList'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -147,7 +147,7 @@ export function updateInfoToSurvey(data) {
...
@@ -147,7 +147,7 @@ export function updateInfoToSurvey(data) {
return
request
({
return
request
({
url
:
service
+
'/survey/update'
,
url
:
service
+
'/survey/update'
,
method
:
'put'
,
method
:
'put'
,
data
,
data
})
})
}
}
...
@@ -156,7 +156,7 @@ export function selectAnswerInfo(data) {
...
@@ -156,7 +156,7 @@ export function selectAnswerInfo(data) {
return
request
({
return
request
({
url
:
service
+
'/answer/getAnswerList'
,
url
:
service
+
'/answer/getAnswerList'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -165,7 +165,7 @@ export function pieChart(data) {
...
@@ -165,7 +165,7 @@ export function pieChart(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/pieChart'
,
url
:
service
+
'/statistic/pieChart'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -185,7 +185,8 @@ export function overviewExport(data) {
...
@@ -185,7 +185,8 @@ export function overviewExport(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/data/export'
,
url
:
service
+
'/statistic/data/export'
,
method
:
'post'
,
method
:
'post'
,
data
,
responseType
:
'blob'
,
data
})
})
}
}
...
@@ -195,7 +196,7 @@ export function answerExport(data) {
...
@@ -195,7 +196,7 @@ export function answerExport(data) {
url
:
service
+
'/statistic/answer/export'
,
url
:
service
+
'/statistic/answer/export'
,
method
:
'get'
,
method
:
'get'
,
params
:
data
,
params
:
data
,
responseType
:
'blob'
,
responseType
:
'blob'
})
})
}
}
...
@@ -205,6 +206,7 @@ export function userExport(data) {
...
@@ -205,6 +206,7 @@ export function userExport(data) {
url
:
service
+
'/statistic/user/export'
,
url
:
service
+
'/statistic/user/export'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
,
responseType
:
'blob'
})
})
}
}
...
@@ -213,7 +215,7 @@ export function statisticsCustomer(data) {
...
@@ -213,7 +215,7 @@ export function statisticsCustomer(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/customer'
,
url
:
service
+
'/statistic/customer'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -222,7 +224,7 @@ export function areaStatistic(data) {
...
@@ -222,7 +224,7 @@ export function areaStatistic(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/areaStatistic'
,
url
:
service
+
'/statistic/areaStatistic'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
...
@@ -239,6 +241,6 @@ export function siteStas(data) {
...
@@ -239,6 +241,6 @@ export function siteStas(data) {
return
request
({
return
request
({
url
:
service
+
'/statistic/siteStas'
,
url
:
service
+
'/statistic/siteStas'
,
method
:
'post'
,
method
:
'post'
,
data
,
data
})
})
}
}
linkwe-pc/src/views/drainageCode/smartForms/statistics/Overview.vue
View file @
0e53603
This diff is collapsed.
Click to expand it.
linkwe-pc/src/views/drainageCode/smartForms/statistics/UserStatistics.vue
View file @
0e53603
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
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 post a comment