change path
This commit is contained in:
parent
4302cfe7dd
commit
29fca0ca83
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -472,7 +472,7 @@ export default {
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
'base/bmUnitInfo/export',
|
'material/base/bmUnitInfo/export',
|
||||||
{
|
{
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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`,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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`,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,7 @@ export default {
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
'base/maLabelBind/export',
|
'material/base/maLabelBind/export',
|
||||||
{
|
{
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -325,7 +325,7 @@ export default {
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
'base/maLabelBind/export',
|
'material/base/maLabelBind/export',
|
||||||
{
|
{
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue