change path

This commit is contained in:
sxu 2024-08-09 09:50:15 +08:00
parent 4302cfe7dd
commit 29fca0ca83
23 changed files with 41 additions and 41 deletions

View File

@ -1,17 +1,17 @@
import { POST, GET } from './index.js' import { POST, GET } from './index.js'
const URL_TYPE_LIST = 'material/returnOfMaterialsInfo/getTypeList' const URL_TYPE_LIST = 'material/returnOfMaterialsInfo/getTypeList'
const URL_DETAILS = 'base/largeScreen/home/getMaterialReqData/details' const URL_DETAILS = 'material/base/largeScreen/home/getMaterialReqData/details'
const URL_RETURN_DETAILS = 'base/largeScreen/home/getMaterialReturnData/details' const URL_RETURN_DETAILS = 'material/base/largeScreen/home/getMaterialReturnData/details'
const URL_UNIT_LIST = 'material/agreementInfo/getUnitList' const URL_UNIT_LIST = 'material/agreementInfo/getUnitList'
const URL_PROJECT_LIST = 'material/agreementInfo/getProjectList' const URL_PROJECT_LIST = 'material/agreementInfo/getProjectList'
const URL_SCRAP_ANALYSIS = 'base/largeScreen/home/getScrapAnalysisByMonth/details' const URL_SCRAP_ANALYSIS = 'material/base/largeScreen/home/getScrapAnalysisByMonth/details'
const URL_TOTAL_OWNERSHIP = 'base/largeScreen/home/getTotalOwnership/details' const URL_TOTAL_OWNERSHIP = 'material/base/largeScreen/home/getTotalOwnership/details'
const URL_ACCEPTANCE_STORAGE = 'base/largeScreen/home/getAcceptanceStorage/details' const URL_ACCEPTANCE_STORAGE = 'material/base/largeScreen/home/getAcceptanceStorage/details'
const URL_PICKING_ANALYSIS = 'base/largeScreen/home/getPickingAnalysisByMonth/details' const URL_PICKING_ANALYSIS = 'material/base/largeScreen/home/getPickingAnalysisByMonth/details'
const URL_MATERIAL_RETURN_BY_MONTH = 'base/largeScreen/home/getMaterialReturnByMonth/details' const URL_MATERIAL_RETURN_BY_MONTH = 'material/base/largeScreen/home/getMaterialReturnByMonth/details'
const URL_MAINTENANCE_BY_CHART = 'base/largeScreen/home/getMaintenanceByMonth/chart' const URL_MAINTENANCE_BY_CHART = 'material/base/largeScreen/home/getMaintenanceByMonth/chart'
const URL_MAINTENANCE_BY_MONTH_DETAILS = 'base/largeScreen/home/getMaintenanceByMonth/details' const URL_MAINTENANCE_BY_MONTH_DETAILS = 'material/base/largeScreen/home/getMaintenanceByMonth/details'
// 设备类型 // 设备类型
export const getTypeList = params => GET(URL_TYPE_LIST, params) export const getTypeList = params => GET(URL_TYPE_LIST, params)
@ -47,4 +47,4 @@ export const getMaterialReturnByMonth = data => POST(URL_MATERIAL_RETURN_BY_MONT
export const getMaintenanceByMonthChart = data => POST(URL_MAINTENANCE_BY_CHART, data) export const getMaintenanceByMonthChart = data => POST(URL_MAINTENANCE_BY_CHART, data)
// 维修分析 // 维修分析
export const getMaintenanceByMonthDetails = data => POST(URL_MAINTENANCE_BY_MONTH_DETAILS, data) export const getMaintenanceByMonthDetails = data => POST(URL_MAINTENANCE_BY_MONTH_DETAILS, data)

View File

@ -169,7 +169,7 @@ export function getBackMachine(query) {
// 退料接收 查看记录 // 退料接收 查看记录
export function backReceiveRecordWeb(data) { export function backReceiveRecordWeb(data) {
return request({ return request({
url: 'base/backReceive/backReceiveRecordWeb ', url: 'material/base/backReceive/backReceiveRecordWeb ',
method: 'post', method: 'post',
data: data data: data
}) })
@ -177,7 +177,7 @@ export function backReceiveRecordWeb(data) {
export function backReceiveRecordWebPt(data) { export function backReceiveRecordWebPt(data) {
return request({ return request({
url: 'base/backReceive/backReceiveRecordWebPt ', url: 'material/base/backReceive/backReceiveRecordWebPt ',
method: 'post', method: 'post',
data: data data: data
}) })
@ -186,7 +186,7 @@ export function backReceiveRecordWebPt(data) {
// 退料接收 数量接收 // 退料接收 数量接收
export function setNumBack(data) { export function setNumBack(data) {
return request({ return request({
url: 'base/backReceive/setNumBack', url: 'material/base/backReceive/setNumBack',
method: 'post', method: 'post',
data: data data: data
}) })
@ -195,7 +195,7 @@ export function setNumBack(data) {
// 退料接收 编码接收 // 退料接收 编码接收
export function setCodeBack(data) { export function setCodeBack(data) {
return request({ return request({
url: 'base/backReceive/setCodeBack', url: 'material/base/backReceive/setCodeBack',
method: 'post', method: 'post',
data: data data: data
}) })
@ -204,7 +204,7 @@ export function setCodeBack(data) {
// 退料接收 完成前判断是否存在记录 // 退料接收 完成前判断是否存在记录
export function getRecord(query) { export function getRecord(query) {
return request({ return request({
url: 'base/backReceive/getRecord', url: 'material/base/backReceive/getRecord',
method: 'get', method: 'get',
params: query params: query
}) })
@ -213,7 +213,7 @@ export function getRecord(query) {
// 退料接收 撤回操作 // 退料接收 撤回操作
export function revoke(data) { export function revoke(data) {
return request({ return request({
url: 'base/backReceive/revoke', url: 'material/base/backReceive/revoke',
method: 'post', method: 'post',
data: data data: data
}) })
@ -222,7 +222,7 @@ export function revoke(data) {
// 退料接收 完成接收 // 退料接收 完成接收
export function endBack(data) { export function endBack(data) {
return request({ return request({
url: 'base/backReceive/endBack', url: 'material/base/backReceive/endBack',
method: 'post', method: 'post',
data: data data: data
}) })

View File

@ -481,7 +481,7 @@
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/maPropInfo/exportConfig', 'material/base/maPropInfo/exportConfig',
{ {
...this.queryParams, ...this.queryParams,
dataCondition: this.ids, dataCondition: this.ids,

View File

@ -383,7 +383,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/maPropInfo/export', 'material/base/maPropInfo/export',
{ {
...this.queryParams, ...this.queryParams,
dataCondition: this.ids, dataCondition: this.ids,

View File

@ -472,7 +472,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/bmUnitInfo/export', 'material/base/bmUnitInfo/export',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -462,7 +462,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/bmProjectInfo/export', 'material/base/bmProjectInfo/export',
{ {
...this.queryParams, ...this.queryParams,
dataCondition: this.ids, dataCondition: this.ids,

View File

@ -490,7 +490,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/bmProjectLot/export', 'material/base/bmProjectLot/export',
{ {
...this.queryParams, ...this.queryParams,
dataCondition: this.ids, dataCondition: this.ids,

View File

@ -505,7 +505,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/tm_task/applyExport', 'material/base/tm_task/applyExport',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -727,7 +727,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/tm_task/applyExport', 'material/base/tm_task/applyExport',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -457,7 +457,7 @@
:inline="true" :inline="true"
label-width="100px" label-width="100px"
> >
<!-- <span style="margin-right: 50px;"> <!-- <span style="margin-right: 50px;">
待出库数量{{outNum}} 待出库数量{{outNum}}
</span>--> </span>-->
<el-form-item label="请输入车牌号" prop="carCode"> <el-form-item label="请输入车牌号" prop="carCode">
@ -842,7 +842,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.downloadJson( this.downloadJson(
'base/tm_task/export', 'material/base/tm_task/export',
JSON.stringify(this.queryParams), JSON.stringify(this.queryParams),
`领料出库_${new Date().getTime()}.xlsx`, `领料出库_${new Date().getTime()}.xlsx`,
) )

View File

@ -525,7 +525,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/tm_task/applyExport', 'material/base/tm_task/applyExport',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -752,7 +752,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/tm_task/applyExport', 'material/base/tm_task/applyExport',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -263,7 +263,7 @@
></dialogForm> ></dialogForm>
</div> </div>
</template> </template>
<script> <script>
import { import {
getBackAuditList, getBackAuditList,
@ -481,7 +481,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/backReceive/export', 'material/base/backReceive/export',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -521,7 +521,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/tm_task/applyExport', 'material/base/tm_task/applyExport',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -525,7 +525,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/tm_task/applyExport', 'material/base/tm_task/applyExport',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -736,7 +736,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/tm_task/applyExport', 'material/base/tm_task/applyExport',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -753,7 +753,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/tm_task/applyExport', 'material/base/tm_task/applyExport',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -882,7 +882,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.downloadJson( this.downloadJson(
'base/tm_task/export', 'material/base/tm_task/export',
JSON.stringify(this.queryParams), JSON.stringify(this.queryParams),
`领料出库_${new Date().getTime()}.xlsx`, `领料出库_${new Date().getTime()}.xlsx`,
) )

View File

@ -257,7 +257,7 @@
></dialogForm> ></dialogForm>
</div> </div>
</template> </template>
<script> <script>
import { import {
getBackAuditList, getBackAuditList,
@ -478,7 +478,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/backReceive/export', 'material/base/backReceive/export',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -908,7 +908,7 @@ export default {
handleExport() { handleExport() {
const dataCondition = this.selectionList.map((item) => item.taskId) const dataCondition = this.selectionList.map((item) => item.taskId)
this.download( this.download(
'base/repair/export', 'material/base/repair/export',
{ {
...this.queryParams, ...this.queryParams,
dataCondition, dataCondition,

View File

@ -328,7 +328,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/maLabelBind/export', 'material/base/maLabelBind/export',
{ {
...this.queryParams, ...this.queryParams,
}, },

View File

@ -811,7 +811,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/machine/export', 'material/base/machine/export',
{ {
...this.queryParams, ...this.queryParams,
dataCondition: this.ids, dataCondition: this.ids,

View File

@ -325,7 +325,7 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( this.download(
'base/maLabelBind/export', 'material/base/maLabelBind/export',
{ {
...this.queryParams, ...this.queryParams,
}, },