Merge remote-tracking branch 'origin/main'

main
zxf 2 months ago
commit 0d30afb63a

@ -69,7 +69,7 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column header-align="center" fixed="right" align="center" width="150" label="操作"> <el-table-column header-align="center" align="center" width="150" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="editingRow === scope.row.id"> <template v-if="editingRow === scope.row.id">
<el-button type="text" size="small" @click="saveDetail(scope.row)"></el-button> <el-button type="text" size="small" @click="saveDetail(scope.row)"></el-button>
@ -169,7 +169,6 @@ export default {
orderAmount: row.orderAmount, orderAmount: row.orderAmount,
remark: row.remark remark: row.remark
} }
console.log('开始编辑,表单数据:', this.editForm) console.log('开始编辑,表单数据:', this.editForm)
}, },
// //

@ -102,7 +102,6 @@
label="备注"> label="备注">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
fixed="right"
header-align="center" header-align="center"
align="center" align="center"
width="150" width="150"

@ -98,8 +98,11 @@ request.uploadFile = (filePath, name = 'file', formData = {}, options = {}) => {
uid: store.state.app.uid, uid: store.state.app.uid,
...(options.params || {}) ...(options.params || {})
} }
if (queryObj) { if (Object.keys(queryObj).length > 0) {
uploadUrl += '?' + new URLSearchParams(queryObj).toString(); const queryString = Object.entries(queryObj)
.map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)
.join('&');
uploadUrl += '?' + queryString;
} }
// 添加token // 添加token

Loading…
Cancel
Save