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