Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-kanban
Project
Project
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
ximai
mes-kanban
Commits
45f5d5fa
Commit
45f5d5fa
authored
Nov 09, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加上请求前缀
parent
b019bc9c
Show whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
96 additions
and
93 deletions
+96
-93
config.ts
config/config.ts
+2
-0
defaultSettings.ts
config/defaultSettings.ts
+2
-2
app.tsx
src/app.tsx
+2
-1
pages.ts
src/locales/zh-TW/pages.ts
+2
-2
Welcome.tsx
src/pages/Welcome.tsx
+1
-1
document.ejs
src/pages/document.ejs
+2
-2
api.ts
src/pages/kanban/ProductionProgress/services/api.ts
+1
-1
api.tsx
src/pages/kanban/airBottleProcessKanban/services/api.tsx
+1
-1
api.tsx
src/pages/kanban/evacuationProcessKanban/services/api.tsx
+1
-1
monthlyPlanChart.tsx
...ionComprehens/components/MonthlyPlan/monthlyPlanChart.tsx
+1
-1
api.ts
src/pages/kanban/productionComprehens/services/api.ts
+3
-3
api.ts
src/pages/kanban/qipingComprehens/services/api.ts
+3
-3
api.ts
src/pages/kanban/weldingProcessKanban/services/api.ts
+3
-3
index.tsx
src/pages/user/Login/index.tsx
+2
-2
index.ts
src/services/common/index.ts
+1
-1
gaoYaProcessStandardDailyDataService.ts
...s/kanban/settings/gaoYaProcessStandardDailyDataService.ts
+2
-2
index.ts
src/services/kanban/settings/index.ts
+1
-1
processDefectRatioDatumService.ts
...ervices/kanban/settings/processDefectRatioDatumService.ts
+2
-2
processYieldStandDailyDataService.ts
...ices/kanban/settings/processYieldStandDailyDataService.ts
+2
-2
productProgressSettingService.ts
...services/kanban/settings/productProgressSettingService.ts
+3
-3
productionProgressSettingService.ts
...vices/kanban/settings/productionProgressSettingService.ts
+3
-3
qiPingDayNumberProgressStepService.ts
...ces/kanban/settings/qiPingDayNumberProgressStepService.ts
+2
-2
updatePwdService.ts
src/services/kanban/settings/updatePwdService.ts
+1
-1
api.ts
src/services/mgr/api.ts
+23
-23
chouKongProcessKanbanSettingService.ts
...es/report/settings/chouKongProcessKanbanSettingService.ts
+3
-3
deviceTotalQuantityService.ts
src/services/report/settings/deviceTotalQuantityService.ts
+2
-2
gaoYaProcessDataService.ts
src/services/report/settings/gaoYaProcessDataService.ts
+2
-2
gaoYaProcessKanbanSettingService.ts
...vices/report/settings/gaoYaProcessKanbanSettingService.ts
+2
-2
hjKanbanSettingService.ts
src/services/report/settings/hjKanbanSettingService.ts
+2
-2
index.ts
src/services/report/settings/index.ts
+1
-1
materialComprehensiveKanbanSettingService.ts
...ort/settings/materialComprehensiveKanbanSettingService.ts
+3
-3
monthlyPlanService.ts
src/services/report/settings/monthlyPlanService.ts
+2
-2
productionComprehensiveKanbanSettingService.ts
...t/settings/productionComprehensiveKanbanSettingService.ts
+3
-3
productionProgressSettingService.ts
...vices/report/settings/productionProgressSettingService.ts
+3
-3
qiPingComprehensiveKanbanSettingService.ts
...eport/settings/qiPingComprehensiveKanbanSettingService.ts
+3
-3
qiPingProcessKanbanSettingService.ts
...ices/report/settings/qiPingProcessKanbanSettingService.ts
+2
-2
reportOperationSettingService.ts
...services/report/settings/reportOperationSettingService.ts
+2
-2
No files found.
config/config.ts
View file @
45f5d5fa
...
@@ -9,6 +9,7 @@ import routes from './routes';
...
@@ -9,6 +9,7 @@ import routes from './routes';
const
{
REACT_APP_ENV
}
=
process
.
env
;
const
{
REACT_APP_ENV
}
=
process
.
env
;
export
default
defineConfig
({
export
default
defineConfig
({
history
:
{
type
:
'hash'
},
hash
:
true
,
hash
:
true
,
antd
:
{},
antd
:
{},
dva
:
{
dva
:
{
...
@@ -47,6 +48,7 @@ export default defineConfig({
...
@@ -47,6 +48,7 @@ export default defineConfig({
title
:
false
,
title
:
false
,
ignoreMomentLocale
:
true
,
ignoreMomentLocale
:
true
,
proxy
:
proxy
[
REACT_APP_ENV
||
'dev'
],
proxy
:
proxy
[
REACT_APP_ENV
||
'dev'
],
publicPath
:
'./'
,
manifest
:
{
manifest
:
{
basePath
:
'/'
,
basePath
:
'/'
,
},
},
...
...
config/defaultSettings.ts
View file @
45f5d5fa
...
@@ -12,9 +12,9 @@ const Settings: LayoutSettings & {
...
@@ -12,9 +12,9 @@ const Settings: LayoutSettings & {
fixedHeader
:
false
,
fixedHeader
:
false
,
fixSiderbar
:
true
,
fixSiderbar
:
true
,
colorWeak
:
false
,
colorWeak
:
false
,
title
:
'
希迈看板
'
,
title
:
'
看板系统
'
,
pwa
:
false
,
pwa
:
false
,
logo
:
'
/
logo.png'
,
logo
:
'logo.png'
,
iconfontUrl
:
''
,
iconfontUrl
:
''
,
};
};
...
...
src/app.tsx
View file @
45f5d5fa
...
@@ -75,8 +75,9 @@ const authHeaderInterceptor: RequestInterceptor = (url, options) => {
...
@@ -75,8 +75,9 @@ const authHeaderInterceptor: RequestInterceptor = (url, options) => {
};
};
if
(
token
)
{
if
(
token
)
{
}
}
const
prefix
=
process
.
env
.
NODE_ENV
===
'development'
?
'/api'
:
'http://192.168.222.60:8088'
return
{
return
{
url
,
url
:
prefix
+
url
,
options
:
{
options
:
{
...
options
,
...
options
,
headers
:
{
headers
:
{
...
...
src/locales/zh-TW/pages.ts
View file @
45f5d5fa
export
default
{
export
default
{
'pages.layouts.userLayout.main'
:
'
希迈看板
'
,
'pages.layouts.userLayout.main'
:
'
看板系统
'
,
'pages.layouts.userLayout.title'
:
'讓艾特成為受人尊敬的航空發動機零部件生產企業'
,
'pages.layouts.userLayout.title'
:
'讓艾特成為受人尊敬的航空發動機零部件生產企業'
,
'pages.welcome.speech'
:
'歡迎登陸
希迈看板
'
,
'pages.welcome.speech'
:
'歡迎登陸
看板系统
'
,
'pages.login.success'
:
'登錄成功!'
,
'pages.login.success'
:
'登錄成功!'
,
'pages.login.failure'
:
'登錄失敗,請重試!'
,
'pages.login.failure'
:
'登錄失敗,請重試!'
,
...
...
src/pages/Welcome.tsx
View file @
45f5d5fa
...
@@ -11,7 +11,7 @@ const Welcome: React.FC = () => {
...
@@ -11,7 +11,7 @@ const Welcome: React.FC = () => {
<
Alert
<
Alert
message=
{
intl
.
formatMessage
({
message=
{
intl
.
formatMessage
({
id
:
'pages.welcome.speech'
,
id
:
'pages.welcome.speech'
,
defaultMessage
:
'欢迎登陆
希迈
看板系统'
,
defaultMessage
:
'欢迎登陆看板系统'
,
})
}
})
}
type=
"success"
type=
"success"
showIcon
showIcon
...
...
src/pages/document.ejs
View file @
45f5d5fa
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
name=
"viewport"
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
/>
<title>
希迈看板
</title>
<title>
看板系统
</title>
<link
rel=
"icon"
href=
"<%= context.config.publicPath +'logo.png'%>"
type=
"image/x-icon"
/>
<link
rel=
"icon"
href=
"<%= context.config.publicPath +'logo.png'%>"
type=
"image/x-icon"
/>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache, no-store, must-revalidate"
/>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache, no-store, must-revalidate"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
/>
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
width=
"32"
width=
"32"
style=
"margin-right: 8px"
style=
"margin-right: 8px"
/>
/>
希迈看板
看板系统
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/pages/kanban/ProductionProgress/services/api.ts
View file @
45f5d5fa
...
@@ -47,7 +47,7 @@ export async function queryProductionProgressKanbanDetail(body: {
...
@@ -47,7 +47,7 @@ export async function queryProductionProgressKanbanDetail(body: {
})
{
})
{
return
request
<
return
request
<
Api
.
ServiceResult
<
{
lotNo
:
string
;
plannedEndDate
:
string
;
actualEndDate
:
string
}[]
>
Api
.
ServiceResult
<
{
lotNo
:
string
;
plannedEndDate
:
string
;
actualEndDate
:
string
}[]
>
>
(
'/
api/
productionProgressKanban/detail'
,
{
>
(
'/productionProgressKanban/detail'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/pages/kanban/airBottleProcessKanban/services/api.tsx
View file @
45f5d5fa
...
@@ -48,7 +48,7 @@ export async function queryQPStatisIndex(data: CommonParams) {
...
@@ -48,7 +48,7 @@ export async function queryQPStatisIndex(data: CommonParams) {
}
}
export
async
function
queryQPStatisTableIndex
(
data
:
CommonParams
)
{
export
async
function
queryQPStatisTableIndex
(
data
:
CommonParams
)
{
return
request
<
Api
.
ServiceResult
<
StatisTableDto
>>
(
'/
api/
qiPingProcessData/statisTableIndex'
,
{
return
request
<
Api
.
ServiceResult
<
StatisTableDto
>>
(
'/qiPingProcessData/statisTableIndex'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/pages/kanban/evacuationProcessKanban/services/api.tsx
View file @
45f5d5fa
...
@@ -8,7 +8,7 @@ type ReqWrokUnit = {
...
@@ -8,7 +8,7 @@ type ReqWrokUnit = {
};
};
export
async
function
queryCKKanbanSetting
()
{
export
async
function
queryCKKanbanSetting
()
{
return
request
<
Api
.
ServiceResult
<
SettingDto
[]
>>
(
'/
api/
chouKongProcessKanbanSetting/list'
,
{
return
request
<
Api
.
ServiceResult
<
SettingDto
[]
>>
(
'/chouKongProcessKanbanSetting/list'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/pages/kanban/productionComprehens/components/MonthlyPlan/monthlyPlanChart.tsx
View file @
45f5d5fa
...
@@ -59,7 +59,7 @@ const formatOptions = (data: any) => {
...
@@ -59,7 +59,7 @@ const formatOptions = (data: any) => {
},
},
{
{
offset
:
0
,
offset
:
0
,
color
:
'#
7bb249
'
,
color
:
'#
d1040a
'
,
},
},
],
],
global
:
false
,
// 缺省为 false
global
:
false
,
// 缺省为 false
...
...
src/pages/kanban/productionComprehens/services/api.ts
View file @
45f5d5fa
...
@@ -45,7 +45,7 @@ export async function queryProductionComprehensKanbanData() {
...
@@ -45,7 +45,7 @@ export async function queryProductionComprehensKanbanData() {
}
}
export
async
function
queryProductionComprehensProcessOutputData
(
body
:
ProcessOutputParams
)
{
export
async
function
queryProductionComprehensProcessOutputData
(
body
:
ProcessOutputParams
)
{
return
request
<
Api
.
ServiceResult
<
ProcessYieldData
[]
>>
(
'/
api/
kanban/task/currentMonthStat'
,
{
return
request
<
Api
.
ServiceResult
<
ProcessYieldData
[]
>>
(
'/kanban/task/currentMonthStat'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -57,7 +57,7 @@ export async function queryProductionComprehensProcessOutputData(body: ProcessOu
...
@@ -57,7 +57,7 @@ export async function queryProductionComprehensProcessOutputData(body: ProcessOu
// 质量异常
// 质量异常
export
async
function
currentMonthStat
(
body
:
{
settingId
:
string
})
{
export
async
function
currentMonthStat
(
body
:
{
settingId
:
string
})
{
return
request
<
Api
.
ServiceResult
<
ComprehensiveDataCount
>>
(
return
request
<
Api
.
ServiceResult
<
ComprehensiveDataCount
>>
(
'/
api/
kanban/abnormal/currentMonthStat'
,
'/kanban/abnormal/currentMonthStat'
,
{
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
...
@@ -273,7 +273,7 @@ export async function queryPlanQuantityPenetratingByKanban(body: { kanbanSetting
...
@@ -273,7 +273,7 @@ export async function queryPlanQuantityPenetratingByKanban(body: { kanbanSetting
export
async
function
queryMonthPlanRateData
(
body
:
{
settingId
:
string
})
{
export
async
function
queryMonthPlanRateData
(
body
:
{
settingId
:
string
})
{
return
request
<
return
request
<
Api
.
ServiceResult
<
{
currentMonthRate
:
ChartData
[];
beforeMonthRate
:
ChartData
[]
}
>
Api
.
ServiceResult
<
{
currentMonthRate
:
ChartData
[];
beforeMonthRate
:
ChartData
[]
}
>
>
(
'/
api/
workOrderMonthlyIndexData/statisticMonthPlanIndexAllYear'
,
{
>
(
'/workOrderMonthlyIndexData/statisticMonthPlanIndexAllYear'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/pages/kanban/qipingComprehens/services/api.ts
View file @
45f5d5fa
...
@@ -40,7 +40,7 @@ export async function queryProductionComprehensKanbanData() {
...
@@ -40,7 +40,7 @@ export async function queryProductionComprehensKanbanData() {
}
}
export
async
function
queryProductionComprehensProcessOutputData
(
body
:
ProcessOutputParams
)
{
export
async
function
queryProductionComprehensProcessOutputData
(
body
:
ProcessOutputParams
)
{
return
request
<
Api
.
ServiceResult
<
ProcessYieldData
[]
>>
(
'/
api/
processYieldData1/kanbanData'
,
{
return
request
<
Api
.
ServiceResult
<
ProcessYieldData
[]
>>
(
'/processYieldData1/kanbanData'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -87,7 +87,7 @@ export async function queryComprehensiveDeviceEcpData(body: { settingId: string
...
@@ -87,7 +87,7 @@ export async function queryComprehensiveDeviceEcpData(body: { settingId: string
}
}
// 生产异常
// 生产异常
export
async
function
queryComprehensiveProdEcpData
(
body
:
{
settingId
:
string
})
{
export
async
function
queryComprehensiveProdEcpData
(
body
:
{
settingId
:
string
})
{
return
request
<
Api
.
ServiceResult
<
ComprehensiveDataCount
>>
(
'/
api/
comprehensiveProdEcpData/count'
,
{
return
request
<
Api
.
ServiceResult
<
ComprehensiveDataCount
>>
(
'/comprehensiveProdEcpData/count'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -110,7 +110,7 @@ export async function queryComprehensiveQualityEcpData(body: { settingId: string
...
@@ -110,7 +110,7 @@ export async function queryComprehensiveQualityEcpData(body: { settingId: string
}
}
// 焊接通过率
// 焊接通过率
export
async
function
queryCountWeldingPassRate
(
body
:
{
settingId
:
string
})
{
export
async
function
queryCountWeldingPassRate
(
body
:
{
settingId
:
string
})
{
return
request
<
Api
.
ServiceResult
<
CountWeldingPassRate
>>
(
'/
api/
batchInfo/countWeldingPassRate'
,
{
return
request
<
Api
.
ServiceResult
<
CountWeldingPassRate
>>
(
'/batchInfo/countWeldingPassRate'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/pages/kanban/weldingProcessKanban/services/api.ts
View file @
45f5d5fa
...
@@ -13,7 +13,7 @@ export type CountHjKanbanDataDto = {
...
@@ -13,7 +13,7 @@ export type CountHjKanbanDataDto = {
};
};
export
async
function
queryHjKanbanSetting
()
{
export
async
function
queryHjKanbanSetting
()
{
return
request
<
Api
.
ServiceResult
<
WeldingProcessSetting
[]
>>
(
'/
api/
hjKanbanSetting/query'
,
{
return
request
<
Api
.
ServiceResult
<
WeldingProcessSetting
[]
>>
(
'/hjKanbanSetting/query'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -22,7 +22,7 @@ export async function queryHjKanbanSetting() {
...
@@ -22,7 +22,7 @@ export async function queryHjKanbanSetting() {
}
}
export
async
function
queryCountHjKanbanData
(
params
:
{
settingId
:
string
})
{
export
async
function
queryCountHjKanbanData
(
params
:
{
settingId
:
string
})
{
return
request
<
Api
.
ServiceResult
<
CountHjKanbanDataDto
>>
(
'/
api/
hjKanbanData/countHjKanbanData'
,
{
return
request
<
Api
.
ServiceResult
<
CountHjKanbanDataDto
>>
(
'/hjKanbanData/countHjKanbanData'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -36,7 +36,7 @@ export async function queryHFChangedInfoDataDto(
...
@@ -36,7 +36,7 @@ export async function queryHFChangedInfoDataDto(
params
:
{
kanbanSettingId
:
string
;
type
:
number
},
params
:
{
kanbanSettingId
:
string
;
type
:
number
},
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
HFChangedInfoDataDto
[]
>>
(
'/
api/
hfChangedInfoData/find'
,
{
return
request
<
Api
.
ServiceResult
<
HFChangedInfoDataDto
[]
>>
(
'/hfChangedInfoData/find'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/pages/user/Login/index.tsx
View file @
45f5d5fa
...
@@ -83,9 +83,9 @@ const Login: React.FC = () => {
...
@@ -83,9 +83,9 @@ const Login: React.FC = () => {
<
div
className=
{
styles
.
top
}
>
<
div
className=
{
styles
.
top
}
>
<
div
className=
{
styles
.
header
}
>
<
div
className=
{
styles
.
header
}
>
<
Link
to=
"/"
>
<
Link
to=
"/"
>
<
img
alt=
"logo"
className=
{
styles
.
logo
}
src=
"
/
logo.png"
/>
<
img
alt=
"logo"
className=
{
styles
.
logo
}
src=
"logo.png"
/>
<
span
className=
{
styles
.
title
}
>
<
span
className=
{
styles
.
title
}
>
<
FormattedMessage
id=
"pages.layouts.userLayout.main"
defaultMessage=
"
希迈看板
"
/>
<
FormattedMessage
id=
"pages.layouts.userLayout.main"
defaultMessage=
"
看板系统
"
/>
</
span
>
</
span
>
</
Link
>
</
Link
>
</
div
>
</
div
>
...
...
src/services/common/index.ts
View file @
45f5d5fa
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
import
{
request
}
from
'@@/plugin-request/request'
;
import
{
request
}
from
'@@/plugin-request/request'
;
export
async
function
graphql
(
body
:
Common
.
GraphqlParams
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
graphql
(
body
:
Common
.
GraphqlParams
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Common
.
GraphqlResult
>
(
'/
api/
graphql'
,
{
return
request
<
Common
.
GraphqlResult
>
(
'/graphql'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/kanban/settings/gaoYaProcessStandardDailyDataService.ts
View file @
45f5d5fa
...
@@ -84,7 +84,7 @@ export async function create(
...
@@ -84,7 +84,7 @@ export async function create(
body
:
KANBAN
.
Settings
.
GaoYaProcessStandardDailyDataCreate
,
body
:
KANBAN
.
Settings
.
GaoYaProcessStandardDailyDataCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
gaoYaProcessStandardDailyData/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/gaoYaProcessStandardDailyData/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -103,7 +103,7 @@ export async function update(
...
@@ -103,7 +103,7 @@ export async function update(
body
:
KANBAN
.
Settings
.
GaoYaProcessStandardDailyDataUpdate
,
body
:
KANBAN
.
Settings
.
GaoYaProcessStandardDailyDataUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
gaoYaProcessStandardDailyData/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/gaoYaProcessStandardDailyData/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/kanban/settings/index.ts
View file @
45f5d5fa
...
@@ -10,7 +10,7 @@ import * as gaoYaProcessStandardDailyDataService from './gaoYaProcessStandardDai
...
@@ -10,7 +10,7 @@ import * as gaoYaProcessStandardDailyDataService from './gaoYaProcessStandardDai
import
*
as
updatePwdService
from
'./updatePwdService'
;
import
*
as
updatePwdService
from
'./updatePwdService'
;
export
async
function
graphql
(
body
:
Common
.
GraphqlParams
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
graphql
(
body
:
Common
.
GraphqlParams
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Common
.
GraphqlResult
>
(
'/
api/
graphql'
,
{
return
request
<
Common
.
GraphqlResult
>
(
'/graphql'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/kanban/settings/processDefectRatioDatumService.ts
View file @
45f5d5fa
...
@@ -84,7 +84,7 @@ export async function create(
...
@@ -84,7 +84,7 @@ export async function create(
body
:
KANBAN
.
Settings
.
ProcessDefectRatioDatumCreate
,
body
:
KANBAN
.
Settings
.
ProcessDefectRatioDatumCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
processDefectRatioDatum/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/processDefectRatioDatum/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -103,7 +103,7 @@ export async function update(
...
@@ -103,7 +103,7 @@ export async function update(
body
:
KANBAN
.
Settings
.
ProcessDefectRatioDatumUpdate
,
body
:
KANBAN
.
Settings
.
ProcessDefectRatioDatumUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
processDefectRatioDatum/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/processDefectRatioDatum/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/kanban/settings/processYieldStandDailyDataService.ts
View file @
45f5d5fa
...
@@ -84,7 +84,7 @@ export async function create(
...
@@ -84,7 +84,7 @@ export async function create(
body
:
KANBAN
.
Settings
.
ProcessYieldStandDailyDataCreate
,
body
:
KANBAN
.
Settings
.
ProcessYieldStandDailyDataCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
processYieldStandDailyData/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/processYieldStandDailyData/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -103,7 +103,7 @@ export async function update(
...
@@ -103,7 +103,7 @@ export async function update(
body
:
KANBAN
.
Settings
.
ProcessYieldStandDailyDataUpdate
,
body
:
KANBAN
.
Settings
.
ProcessYieldStandDailyDataUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
processYieldStandDailyData/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/processYieldStandDailyData/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/kanban/settings/productProgressSettingService.ts
View file @
45f5d5fa
...
@@ -13,7 +13,7 @@ export async function pageProductProgressKanbanSetting(
...
@@ -13,7 +13,7 @@ export async function pageProductProgressKanbanSetting(
)
{
)
{
return
request
<
return
request
<
Api
.
ServiceResult
<
Api
.
PageResult
<
KANBAN
.
Settings
.
ProductProgressKanbanSettingDto
>>
Api
.
ServiceResult
<
Api
.
PageResult
<
KANBAN
.
Settings
.
ProductProgressKanbanSettingDto
>>
>
(
'/
api/
productProgressKanbanSetting/page'
,
{
>
(
'/productProgressKanbanSetting/page'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -32,7 +32,7 @@ export async function create(
...
@@ -32,7 +32,7 @@ export async function create(
body
:
KANBAN
.
Settings
.
ProductProgressKanbanSettingCreate
,
body
:
KANBAN
.
Settings
.
ProductProgressKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
productProgressKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/productProgressKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -51,7 +51,7 @@ export async function update(
...
@@ -51,7 +51,7 @@ export async function update(
body
:
KANBAN
.
Settings
.
ProductProgressKanbanSettingUpdate
,
body
:
KANBAN
.
Settings
.
ProductProgressKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
productProgressKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/productProgressKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/kanban/settings/productionProgressSettingService.ts
View file @
45f5d5fa
...
@@ -13,7 +13,7 @@ export async function pageProductionProgressKanbanSetting(
...
@@ -13,7 +13,7 @@ export async function pageProductionProgressKanbanSetting(
)
{
)
{
return
request
<
return
request
<
Api
.
ServiceResult
<
Api
.
PageResult
<
KANBAN
.
Settings
.
ProductionProgressKanbanSettingDto
>>
Api
.
ServiceResult
<
Api
.
PageResult
<
KANBAN
.
Settings
.
ProductionProgressKanbanSettingDto
>>
>
(
'/
api/
productionProgressKanbanSetting/page'
,
{
>
(
'/productionProgressKanbanSetting/page'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -32,7 +32,7 @@ export async function create(
...
@@ -32,7 +32,7 @@ export async function create(
body
:
KANBAN
.
Settings
.
ProductionProgressKanbanSettingCreate
,
body
:
KANBAN
.
Settings
.
ProductionProgressKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
productionProgressKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/productionProgressKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -51,7 +51,7 @@ export async function update(
...
@@ -51,7 +51,7 @@ export async function update(
body
:
KANBAN
.
Settings
.
ProductionProgressKanbanSettingUpdate
,
body
:
KANBAN
.
Settings
.
ProductionProgressKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
productionProgressKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/productionProgressKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/kanban/settings/qiPingDayNumberProgressStepService.ts
View file @
45f5d5fa
...
@@ -80,7 +80,7 @@ export async function create(
...
@@ -80,7 +80,7 @@ export async function create(
body
:
KANBAN
.
Settings
.
QiPingDayNumberCreate
,
body
:
KANBAN
.
Settings
.
QiPingDayNumberCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
qiPingDayNumber/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/qiPingDayNumber/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -99,7 +99,7 @@ export async function update(
...
@@ -99,7 +99,7 @@ export async function update(
body
:
KANBAN
.
Settings
.
QiPingDayNumberUpdate
,
body
:
KANBAN
.
Settings
.
QiPingDayNumberUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
qiPingDayNumber/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/qiPingDayNumber/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/kanban/settings/updatePwdService.ts
View file @
45f5d5fa
...
@@ -7,7 +7,7 @@ import { request } from 'umi';
...
@@ -7,7 +7,7 @@ import { request } from 'umi';
* @param options
* @param options
*/
*/
export
async
function
updatePwd
(
body
:
FormData
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
updatePwd
(
body
:
FormData
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
updateMesPwd'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/updateMesPwd'
,
{
method
:
'POST'
,
method
:
'POST'
,
data
:
body
,
data
:
body
,
...(
options
||
{}),
...(
options
||
{}),
...
...
src/services/mgr/api.ts
View file @
45f5d5fa
...
@@ -6,7 +6,7 @@ import { Modal } from 'antd';
...
@@ -6,7 +6,7 @@ import { Modal } from 'antd';
export
async
function
login
(
body
:
Api
.
LoginMgrParams
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
login
(
body
:
Api
.
LoginMgrParams
,
options
?:
{
[
key
:
string
]:
any
})
{
localStorage
.
removeItem
(
'token'
);
localStorage
.
removeItem
(
'token'
);
const
resData
=
request
<
Api
.
LoginResult
>
(
'/
api/
login'
,
{
const
resData
=
request
<
Api
.
LoginResult
>
(
'/login'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -19,7 +19,7 @@ export async function login(body: Api.LoginMgrParams, options?: { [key: string]:
...
@@ -19,7 +19,7 @@ export async function login(body: Api.LoginMgrParams, options?: { [key: string]:
}
}
export
async
function
logout
(
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
logout
(
options
?:
{
[
key
:
string
]:
any
})
{
const
res
=
await
request
<
Api
.
ServiceResult
<
null
>>
(
'/
api/
logout'
,
{
const
res
=
await
request
<
Api
.
ServiceResult
<
null
>>
(
'/logout'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -31,7 +31,7 @@ export async function logout(options?: { [key: string]: any }) {
...
@@ -31,7 +31,7 @@ export async function logout(options?: { [key: string]: any }) {
}
}
export
async
function
currentUser
(
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
currentUser
(
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
CurrentUser
>
(
'/
api/
getInfo'
,
{
return
request
<
Api
.
CurrentUser
>
(
'/getInfo'
,
{
method
:
'GET'
,
method
:
'GET'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -41,7 +41,7 @@ export async function currentUser(options?: { [key: string]: any }) {
...
@@ -41,7 +41,7 @@ export async function currentUser(options?: { [key: string]: any }) {
}
}
export
async
function
currentAccount
(
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
currentAccount
(
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
ServiceResult
<
Api
.
CurrentAccount
>>
(
'/
api/
currentAccount'
,
{
return
request
<
Api
.
ServiceResult
<
Api
.
CurrentAccount
>>
(
'/currentAccount'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -51,7 +51,7 @@ export async function currentAccount(options?: { [key: string]: any }) {
...
@@ -51,7 +51,7 @@ export async function currentAccount(options?: { [key: string]: any }) {
}
}
export
async
function
updatePwd
(
body
:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
updatePwd
(
body
:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
ServiceResult
<
Api
.
CurrentUser
>>
(
'/
api/
updatePwd'
,
{
return
request
<
Api
.
ServiceResult
<
Api
.
CurrentUser
>>
(
'/updatePwd'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -62,7 +62,7 @@ export async function updatePwd(body: { [key: string]: any }, options?: { [key:
...
@@ -62,7 +62,7 @@ export async function updatePwd(body: { [key: string]: any }, options?: { [key:
}
}
export
async
function
token
(
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
token
(
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
ServiceResult
<
Api
.
LoginResult
>>
(
'/
api/
token'
,
{
return
request
<
Api
.
ServiceResult
<
Api
.
LoginResult
>>
(
'/token'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -72,7 +72,7 @@ export async function token(options?: { [key: string]: any }) {
...
@@ -72,7 +72,7 @@ export async function token(options?: { [key: string]: any }) {
}
}
export
async
function
graphql
(
body
:
Api
.
GraphqlParams
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
graphql
(
body
:
Api
.
GraphqlParams
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
GraphqlResult
>
(
'/
api/
graphql'
,
{
return
request
<
Api
.
GraphqlResult
>
(
'/graphql'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -83,7 +83,7 @@ export async function graphql(body: Api.GraphqlParams, options?: { [key: string]
...
@@ -83,7 +83,7 @@ export async function graphql(body: Api.GraphqlParams, options?: { [key: string]
}
}
export
async
function
create
(
entityName
:
string
,
body
:
any
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
create
(
entityName
:
string
,
body
:
any
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
`/
api/
${
entityName
}
/create`
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
`/
${
entityName
}
/create`
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -94,7 +94,7 @@ export async function create(entityName: string, body: any, options?: { [key: st
...
@@ -94,7 +94,7 @@ export async function create(entityName: string, body: any, options?: { [key: st
}
}
export
async
function
update
(
entityName
:
string
,
body
:
any
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
update
(
entityName
:
string
,
body
:
any
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
`/
api/
${
entityName
}
/update`
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
`/
${
entityName
}
/update`
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -109,7 +109,7 @@ export async function importExcel(
...
@@ -109,7 +109,7 @@ export async function importExcel(
body
:
FormData
,
body
:
FormData
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
`/
api/
${
entityName
}
/excel/import`
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
`/
${
entityName
}
/excel/import`
,
{
method
:
'POST'
,
method
:
'POST'
,
data
:
body
,
data
:
body
,
skipErrorHandler
:
true
,
skipErrorHandler
:
true
,
...
@@ -131,7 +131,7 @@ export async function downloadImportExcelExample(
...
@@ -131,7 +131,7 @@ export async function downloadImportExcelExample(
entityName
:
string
,
entityName
:
string
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Blob
>
(
`/
api/
${
entityName
}
/excel/import/example`
,
{
return
request
<
Blob
>
(
`/
${
entityName
}
/excel/import/example`
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -146,7 +146,7 @@ export async function remove(
...
@@ -146,7 +146,7 @@ export async function remove(
body
:
Api
.
RemoveDto
,
body
:
Api
.
RemoveDto
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
`/
api/
${
entityName
}
/remove`
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
`/
${
entityName
}
/remove`
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -160,7 +160,7 @@ export async function updateEmployee(
...
@@ -160,7 +160,7 @@ export async function updateEmployee(
body
:
Api
.
EmployeeUpdateParams
,
body
:
Api
.
EmployeeUpdateParams
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
Api
.
EmployeeDto
>>
(
'/
api/
org/employee/update'
,
{
return
request
<
Api
.
ServiceResult
<
Api
.
EmployeeDto
>>
(
'/org/employee/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -174,7 +174,7 @@ export async function createSingleTable(
...
@@ -174,7 +174,7 @@ export async function createSingleTable(
body
:
Api
.
SingleTableCreateParams
,
body
:
Api
.
SingleTableCreateParams
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/
api/
qckcd/stb/create'
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/qckcd/stb/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -188,7 +188,7 @@ export async function updateSingleTable(
...
@@ -188,7 +188,7 @@ export async function updateSingleTable(
body
:
Api
.
SingleTableUpdateParams
,
body
:
Api
.
SingleTableUpdateParams
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/
api/
qckcd/stb/update'
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/qckcd/stb/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -199,7 +199,7 @@ export async function updateSingleTable(
...
@@ -199,7 +199,7 @@ export async function updateSingleTable(
}
}
export
async
function
removeSingleTable
(
body
:
Api
.
RemoveDto
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
removeSingleTable
(
body
:
Api
.
RemoveDto
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/
api/
qckcd/stb/remove'
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/qckcd/stb/remove'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -213,7 +213,7 @@ export async function createSingleTableField(
...
@@ -213,7 +213,7 @@ export async function createSingleTableField(
body
:
Api
.
SingleTableFieldCreateParams
,
body
:
Api
.
SingleTableFieldCreateParams
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/
api/
qckcd/stb/fd/create'
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/qckcd/stb/fd/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -227,7 +227,7 @@ export async function updateSingleTableField(
...
@@ -227,7 +227,7 @@ export async function updateSingleTableField(
body
:
Api
.
SingleTableFieldUpdateParams
,
body
:
Api
.
SingleTableFieldUpdateParams
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/
api/
qckcd/stb/fd/update'
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/qckcd/stb/fd/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -241,7 +241,7 @@ export async function removeSingleTableField(
...
@@ -241,7 +241,7 @@ export async function removeSingleTableField(
body
:
Api
.
RemoveDto
,
body
:
Api
.
RemoveDto
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/
api/
qckcd/stb/fd/remove'
,
{
return
request
<
Api
.
ServiceResult
<
null
>>
(
'/qckcd/stb/fd/remove'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -253,7 +253,7 @@ export async function removeSingleTableField(
...
@@ -253,7 +253,7 @@ export async function removeSingleTableField(
export
async
function
getMenu
(
userName
:
string
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
getMenu
(
userName
:
string
,
options
?:
{
[
key
:
string
]:
any
})
{
const
resData
=
request
<
Api
.
ServiceResult
<
MenuDataItem
[]
>>
(
const
resData
=
request
<
Api
.
ServiceResult
<
MenuDataItem
[]
>>
(
`/
api/
getMenu?userName=
${
userName
}
&groupId=5`
,
`/getMenu?userName=
${
userName
}
&groupId=5`
,
{
{
method
:
'GET'
,
method
:
'GET'
,
headers
:
{
headers
:
{
...
@@ -267,7 +267,7 @@ export async function getMenu(userName: string, options?: { [key: string]: any }
...
@@ -267,7 +267,7 @@ export async function getMenu(userName: string, options?: { [key: string]: any }
}
}
export
async
function
getPermission
(
userName
:
string
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
getPermission
(
userName
:
string
,
options
?:
{
[
key
:
string
]:
any
})
{
const
resData
=
request
<
Api
.
ServiceResult
<
string
[]
>>
(
`/
api/
getPermission?userName=
${
userName
}
`
,
{
const
resData
=
request
<
Api
.
ServiceResult
<
string
[]
>>
(
`/getPermission?userName=
${
userName
}
`
,
{
method
:
'GET'
,
method
:
'GET'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -279,7 +279,7 @@ export async function getPermission(userName: string, options?: { [key: string]:
...
@@ -279,7 +279,7 @@ export async function getPermission(userName: string, options?: { [key: string]:
}
}
export
async
function
queryRptOee
(
body
:
Api
.
RptOeeQueryParams
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
queryRptOee
(
body
:
Api
.
RptOeeQueryParams
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Api
.
ServiceResult
<
Api
.
RptOee
[]
>>
(
'/
api/
report/queryrptoee'
,
{
return
request
<
Api
.
ServiceResult
<
Api
.
RptOee
[]
>>
(
'/report/queryrptoee'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -293,7 +293,7 @@ export async function queryRptEquipmentOee(
...
@@ -293,7 +293,7 @@ export async function queryRptEquipmentOee(
body
:
Api
.
RptOeeQueryParams
,
body
:
Api
.
RptOeeQueryParams
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Api
.
ServiceResult
<
Api
.
RptEquipmentOee
[]
>>
(
'/
api/
report/queryrptequipmentoee'
,
{
return
request
<
Api
.
ServiceResult
<
Api
.
RptEquipmentOee
[]
>>
(
'/report/queryrptequipmentoee'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/chouKongProcessKanbanSettingService.ts
View file @
45f5d5fa
...
@@ -13,7 +13,7 @@ export async function chouKongProcessKanbanSettingService(
...
@@ -13,7 +13,7 @@ export async function chouKongProcessKanbanSettingService(
)
{
)
{
return
request
<
return
request
<
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
ChouKongProcessKanbanSettingDto
>>
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
ChouKongProcessKanbanSettingDto
>>
>
(
'/
api/
chouKongProcessKanbanSetting/page'
,
{
>
(
'/chouKongProcessKanbanSetting/page'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -32,7 +32,7 @@ export async function create(
...
@@ -32,7 +32,7 @@ export async function create(
body
:
Report
.
Settings
.
ChouKongProcessKanbanSettingCreate
,
body
:
Report
.
Settings
.
ChouKongProcessKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
chouKongProcessKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/chouKongProcessKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -51,7 +51,7 @@ export async function update(
...
@@ -51,7 +51,7 @@ export async function update(
body
:
Report
.
Settings
.
ChouKongProcessKanbanSettingUpdate
,
body
:
Report
.
Settings
.
ChouKongProcessKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
chouKongProcessKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/chouKongProcessKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/deviceTotalQuantityService.ts
View file @
45f5d5fa
...
@@ -72,7 +72,7 @@ export async function create(
...
@@ -72,7 +72,7 @@ export async function create(
body
:
Report
.
Settings
.
DeviceTotalQuantityCreate
,
body
:
Report
.
Settings
.
DeviceTotalQuantityCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
deviceTotalQuantity/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/deviceTotalQuantity/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -91,7 +91,7 @@ export async function update(
...
@@ -91,7 +91,7 @@ export async function update(
body
:
Report
.
Settings
.
DeviceTotalQuantityUpdate
,
body
:
Report
.
Settings
.
DeviceTotalQuantityUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
deviceTotalQuantity/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/deviceTotalQuantity/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/gaoYaProcessDataService.ts
View file @
45f5d5fa
...
@@ -33,7 +33,7 @@ export async function create(
...
@@ -33,7 +33,7 @@ export async function create(
body
:
Report
.
Settings
.
GaoYaProcessDataCreate
,
body
:
Report
.
Settings
.
GaoYaProcessDataCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
gaoYaProcessData/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/gaoYaProcessData/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -52,7 +52,7 @@ export async function update(
...
@@ -52,7 +52,7 @@ export async function update(
body
:
Report
.
Settings
.
GaoYaProcessDataUpdate
,
body
:
Report
.
Settings
.
GaoYaProcessDataUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
gaoYaProcessData/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/gaoYaProcessData/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/gaoYaProcessKanbanSettingService.ts
View file @
45f5d5fa
...
@@ -33,7 +33,7 @@ export async function create(
...
@@ -33,7 +33,7 @@ export async function create(
body
:
Report
.
Settings
.
GaoYaProcessKanbanSettingCreate
,
body
:
Report
.
Settings
.
GaoYaProcessKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
gaoYaProcessKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/gaoYaProcessKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -52,7 +52,7 @@ export async function update(
...
@@ -52,7 +52,7 @@ export async function update(
body
:
Report
.
Settings
.
GaoYaProcessKanbanSettingUpdate
,
body
:
Report
.
Settings
.
GaoYaProcessKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
gaoYaProcessKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/gaoYaProcessKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/hjKanbanSettingService.ts
View file @
45f5d5fa
...
@@ -33,7 +33,7 @@ export async function create(
...
@@ -33,7 +33,7 @@ export async function create(
body
:
Report
.
Settings
.
HjKanbanSettingCreate
,
body
:
Report
.
Settings
.
HjKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
hjKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/hjKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -52,7 +52,7 @@ export async function update(
...
@@ -52,7 +52,7 @@ export async function update(
body
:
Report
.
Settings
.
HjKanbanSettingUpdate
,
body
:
Report
.
Settings
.
HjKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
hjKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/hjKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/index.ts
View file @
45f5d5fa
...
@@ -15,7 +15,7 @@ import * as gaoYaProcessDataService from '@/services/report/settings/gaoYaProces
...
@@ -15,7 +15,7 @@ import * as gaoYaProcessDataService from '@/services/report/settings/gaoYaProces
import
*
as
qiPingComprehensiveKanbanSettingService
from
'@/services/report/settings/qiPingComprehensiveKanbanSettingService'
;
import
*
as
qiPingComprehensiveKanbanSettingService
from
'@/services/report/settings/qiPingComprehensiveKanbanSettingService'
;
export
async
function
graphql
(
body
:
Common
.
GraphqlParams
,
options
?:
{
[
key
:
string
]:
any
})
{
export
async
function
graphql
(
body
:
Common
.
GraphqlParams
,
options
?:
{
[
key
:
string
]:
any
})
{
return
request
<
Common
.
GraphqlResult
>
(
'/
api/
graphql'
,
{
return
request
<
Common
.
GraphqlResult
>
(
'/graphql'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/materialComprehensiveKanbanSettingService.ts
View file @
45f5d5fa
...
@@ -13,7 +13,7 @@ export async function materialComprehensiveKanbanSetting(
...
@@ -13,7 +13,7 @@ export async function materialComprehensiveKanbanSetting(
)
{
)
{
return
request
<
return
request
<
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
MaterialComprehensiveKanbanSettingDto
>>
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
MaterialComprehensiveKanbanSettingDto
>>
>
(
'/
api/
materialChKanbanSetting/page'
,
{
>
(
'/materialChKanbanSetting/page'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -32,7 +32,7 @@ export async function create(
...
@@ -32,7 +32,7 @@ export async function create(
body
:
Report
.
Settings
.
MaterialComprehensiveKanbanSettingCreate
,
body
:
Report
.
Settings
.
MaterialComprehensiveKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
materialChKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/materialChKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -51,7 +51,7 @@ export async function update(
...
@@ -51,7 +51,7 @@ export async function update(
body
:
Report
.
Settings
.
MaterialComprehensiveKanbanSettingUpdate
,
body
:
Report
.
Settings
.
MaterialComprehensiveKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
materialChKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/materialChKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/monthlyPlanService.ts
View file @
45f5d5fa
...
@@ -141,7 +141,7 @@ export async function create(
...
@@ -141,7 +141,7 @@ export async function create(
body
:
Report
.
Settings
.
MonthlyPlanCreate
,
body
:
Report
.
Settings
.
MonthlyPlanCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
monthlyPlan/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/monthlyPlan/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -160,7 +160,7 @@ export async function update(
...
@@ -160,7 +160,7 @@ export async function update(
body
:
Report
.
Settings
.
MonthlyPlanUpdate
,
body
:
Report
.
Settings
.
MonthlyPlanUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
monthlyPlan/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/monthlyPlan/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/productionComprehensiveKanbanSettingService.ts
View file @
45f5d5fa
...
@@ -13,7 +13,7 @@ export async function productionComprehensiveKanbanSettingService(
...
@@ -13,7 +13,7 @@ export async function productionComprehensiveKanbanSettingService(
)
{
)
{
return
request
<
return
request
<
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
ProductionComprehensiveKanbanSettingDto
>>
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
ProductionComprehensiveKanbanSettingDto
>>
>
(
'/
api/
productionComprehensiveKanbanSetting/page'
,
{
>
(
'/productionComprehensiveKanbanSetting/page'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -32,7 +32,7 @@ export async function create(
...
@@ -32,7 +32,7 @@ export async function create(
body
:
Report
.
Settings
.
ProductionComprehensiveKanbanSettingCreate
,
body
:
Report
.
Settings
.
ProductionComprehensiveKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
productionComprehensiveKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/productionComprehensiveKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -51,7 +51,7 @@ export async function update(
...
@@ -51,7 +51,7 @@ export async function update(
body
:
Report
.
Settings
.
ProductionComprehensiveKanbanSettingUpdate
,
body
:
Report
.
Settings
.
ProductionComprehensiveKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
productionComprehensiveKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/productionComprehensiveKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/productionProgressSettingService.ts
View file @
45f5d5fa
...
@@ -13,7 +13,7 @@ export async function pageProductionProgressKanbanSetting(
...
@@ -13,7 +13,7 @@ export async function pageProductionProgressKanbanSetting(
)
{
)
{
return
request
<
return
request
<
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
ProductionProgressKanbanSettingDto
>>
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
ProductionProgressKanbanSettingDto
>>
>
(
'/
api/
productionProgressKanbanSetting/page'
,
{
>
(
'/productionProgressKanbanSetting/page'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -32,7 +32,7 @@ export async function create(
...
@@ -32,7 +32,7 @@ export async function create(
body
:
Report
.
Settings
.
ProductionProgressKanbanSettingCreate
,
body
:
Report
.
Settings
.
ProductionProgressKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
productionProgressKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/productionProgressKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -51,7 +51,7 @@ export async function update(
...
@@ -51,7 +51,7 @@ export async function update(
body
:
Report
.
Settings
.
ProductionProgressKanbanSettingUpdate
,
body
:
Report
.
Settings
.
ProductionProgressKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
productionProgressKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/productionProgressKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/qiPingComprehensiveKanbanSettingService.ts
View file @
45f5d5fa
...
@@ -13,7 +13,7 @@ export async function qiPingComprehensiveKanbanSettingService(
...
@@ -13,7 +13,7 @@ export async function qiPingComprehensiveKanbanSettingService(
)
{
)
{
return
request
<
return
request
<
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
QiPingComprehensiveKanbanSettingDto
>>
Api
.
ServiceResult
<
Api
.
PageResult
<
Report
.
Settings
.
QiPingComprehensiveKanbanSettingDto
>>
>
(
'/
api/
qiPingComprehensiveKanbanSetting/page'
,
{
>
(
'/qiPingComprehensiveKanbanSetting/page'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -32,7 +32,7 @@ export async function create(
...
@@ -32,7 +32,7 @@ export async function create(
body
:
Report
.
Settings
.
QiPingComprehensiveKanbanSettingCreate
,
body
:
Report
.
Settings
.
QiPingComprehensiveKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
qiPingComprehensiveKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/qiPingComprehensiveKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -51,7 +51,7 @@ export async function update(
...
@@ -51,7 +51,7 @@ export async function update(
body
:
Report
.
Settings
.
QiPingComprehensiveKanbanSettingUpdate
,
body
:
Report
.
Settings
.
QiPingComprehensiveKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
qiPingComprehensiveKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/qiPingComprehensiveKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/qiPingProcessKanbanSettingService.ts
View file @
45f5d5fa
...
@@ -33,7 +33,7 @@ export async function create(
...
@@ -33,7 +33,7 @@ export async function create(
body
:
Report
.
Settings
.
QiPingProcessKanbanSettingCreate
,
body
:
Report
.
Settings
.
QiPingProcessKanbanSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
qiPingProcessKanbanSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/qiPingProcessKanbanSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -52,7 +52,7 @@ export async function update(
...
@@ -52,7 +52,7 @@ export async function update(
body
:
Report
.
Settings
.
QiPingProcessKanbanSettingUpdate
,
body
:
Report
.
Settings
.
QiPingProcessKanbanSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
qiPingProcessKanbanSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/qiPingProcessKanbanSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
src/services/report/settings/reportOperationSettingService.ts
View file @
45f5d5fa
...
@@ -168,7 +168,7 @@ export async function create(
...
@@ -168,7 +168,7 @@ export async function create(
body
:
Report
.
Settings
.
ReportOperationSettingCreate
,
body
:
Report
.
Settings
.
ReportOperationSettingCreate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
reportOperationSetting/create'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/reportOperationSetting/create'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -187,7 +187,7 @@ export async function update(
...
@@ -187,7 +187,7 @@ export async function update(
body
:
Report
.
Settings
.
ReportOperationSettingUpdate
,
body
:
Report
.
Settings
.
ReportOperationSettingUpdate
,
options
?:
{
[
key
:
string
]:
any
},
options
?:
{
[
key
:
string
]:
any
},
)
{
)
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/
api/
reportOperationSetting/update'
,
{
return
request
<
Common
.
ServiceResult
<
string
>>
(
'/reportOperationSetting/update'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
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