Merge branch 'material-ui' into 2025-3-18-sy-bug
This commit is contained in:
commit
f6cd03c3da
|
|
@ -398,7 +398,8 @@ export default {
|
|||
/** 导出按钮操作 */
|
||||
//租赁
|
||||
handleExport1() {
|
||||
const params = this.rowData
|
||||
let data = _.cloneDeep(this.rowData);
|
||||
const params = {params:JSON.stringify(data)}
|
||||
this.download(
|
||||
'material/slt_agreement_info/exportLease',
|
||||
{...params,},
|
||||
|
|
@ -407,7 +408,8 @@ export default {
|
|||
},
|
||||
//丢失
|
||||
handleExport2() {
|
||||
const params = this.rowData
|
||||
let data = _.cloneDeep(this.rowData);
|
||||
const params = {params:JSON.stringify(data)}
|
||||
this.download(
|
||||
'material/slt_agreement_info/exportLose',
|
||||
{...params,},
|
||||
|
|
@ -416,7 +418,8 @@ export default {
|
|||
},
|
||||
// 维修
|
||||
handleExport3() {
|
||||
const params = this.rowData
|
||||
let data = _.cloneDeep(this.rowData);
|
||||
const params = {params:JSON.stringify(data)}
|
||||
this.download(
|
||||
'material/slt_agreement_info/exportRepair',
|
||||
{...params,},
|
||||
|
|
@ -425,7 +428,8 @@ export default {
|
|||
},
|
||||
//报废
|
||||
handleExport4() {
|
||||
const params = this.rowData
|
||||
let data = _.cloneDeep(this.rowData);
|
||||
const params = {params:JSON.stringify(data)}
|
||||
this.download(
|
||||
'material/slt_agreement_info/exportScrap',
|
||||
{...params,},
|
||||
|
|
@ -438,7 +442,8 @@ export default {
|
|||
// )
|
||||
},
|
||||
handleExport5() {
|
||||
const params = this.rowData
|
||||
let data = _.cloneDeep(this.rowData);
|
||||
const params = {params:JSON.stringify(data)}
|
||||
this.download(
|
||||
'material/slt_agreement_info/exportReduction',
|
||||
{...params,},
|
||||
|
|
@ -447,7 +452,8 @@ export default {
|
|||
},
|
||||
|
||||
handleExportAll() {
|
||||
const params = this.rowData
|
||||
let data = _.cloneDeep(this.rowData);
|
||||
const params = {params:JSON.stringify(data)}
|
||||
this.download(
|
||||
'material/slt_agreement_info/exportAll',
|
||||
{...params,},
|
||||
|
|
|
|||
|
|
@ -442,7 +442,8 @@ export default {
|
|||
},
|
||||
//结算申请
|
||||
handleApply(row) {
|
||||
let arr = row
|
||||
let arr = [];
|
||||
arr.push(row);
|
||||
// console.log(arr)
|
||||
// console.log(this.ids)
|
||||
// console.log(JSON.stringify(arr))
|
||||
|
|
|
|||
|
|
@ -519,15 +519,14 @@ export default {
|
|||
},
|
||||
/** 导出按钮作 */
|
||||
handleExport() {
|
||||
// let queryTemp = this.queryParams
|
||||
// // queryTemp.level = 0;
|
||||
// this.download(
|
||||
// '/material/ma_type/export',
|
||||
// {
|
||||
// ...queryTemp
|
||||
// },
|
||||
// `_${new Date().getTime()}.xlsx`
|
||||
// )
|
||||
let queryTemp = this.queryParams
|
||||
this.download(
|
||||
'/material/standardConfig/export',
|
||||
{
|
||||
...queryTemp
|
||||
},
|
||||
`机械设备标准配置清单_${new Date().getTime()}.xlsx`
|
||||
)
|
||||
},
|
||||
/* 树节点增加 */
|
||||
appendTreeNode(data) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue