Browse Source

测试bug修复

master
ljlong_2630 9 months ago
parent
commit
eb9e10f5f9
  1. 6
      src/components/SearchTable/src/SearchTable.vue
  2. 1
      src/views/eam/device/deviceAccounts/index.vue
  3. 2
      src/views/eam/mold/moldAccounts/index.vue
  4. 8
      src/views/eam/mold/moldRepair/index.vue

6
src/components/SearchTable/src/SearchTable.vue

@ -25,6 +25,7 @@
:selection="true" :selection="true"
:reserveSelection="true" :reserveSelection="true"
row-key="id" row-key="id"
@register="onMountedCallBack"
/> />
</ContentWrap> </ContentWrap>
<template #footer> <template #footer>
@ -162,6 +163,11 @@ const submitForm = async () => {
formLoading.value = false formLoading.value = false
} }
} }
const onMountedCallBack = ($event,a,b)=>{
debugger
}
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
</style> </style>

1
src/views/eam/device/deviceAccounts/index.vue

@ -219,7 +219,6 @@ const butttondata = [
// - // -
const buttonTableClick = async (val, row) => { const buttonTableClick = async (val, row) => {
debugger
if (val == 'edit') { if (val == 'edit') {
// //
openForm('update', row) openForm('update', row)

2
src/views/eam/mold/moldAccounts/index.vue

@ -222,7 +222,7 @@ const butttondata = [
defaultButtons.mainListEditBtn(null), // defaultButtons.mainListEditBtn(null), //
// defaultButtons.mainListDeleteBtn(null), // // defaultButtons.mainListDeleteBtn(null), //
defaultButtons.selectQrCodeBtn(null), // defaultButtons.selectQrCodeBtn(null), //
defaultButtons.selectItemBtn(null) // // defaultButtons.selectItemBtn(null) //
] ]
// - // -

8
src/views/eam/mold/moldRepair/index.vue

@ -187,9 +187,11 @@ const formsSuccess = async (formType, data) => {
if (data.expireTime == 0) data.expireTime = null; if (data.expireTime == 0) data.expireTime = null;
data.type = 'MOLD'; data.type = 'MOLD';
data.result = 'PENDING'; data.result = 'PENDING';
data.filePathList = data.upload.map((item: any) => { if (data.upload != null && data.upload != "") {
return item.url data.filePathList = data?.upload?.map((item: any) => {
}) return item.url
})
}
if (formType === 'create') { if (formType === 'create') {
await MoldRepairApi.createMoldRepair(data) await MoldRepairApi.createMoldRepair(data)
message.success(t('common.createSuccess')) message.success(t('common.createSuccess'))

Loading…
Cancel
Save