Browse Source

修改刷新bug,筛选创建时间bug

master_hella_20240701
zhang_li 7 months ago
parent
commit
3b510ac17f
  1. 2
      src/views/qms/inspection/inspectionRequest/index.vue
  2. 6
      src/views/qms/sampleCode/index.vue
  3. 9
      src/views/qms/sampleCode/sampleCode.data.ts

2
src/views/qms/inspection/inspectionRequest/index.vue

@ -110,6 +110,8 @@
} else if (val == 'export') { //
handleExport()
} else if (val == 'refresh') { //
tableObject.params.isSearch = false
tableObject.params.filters = ''
getList()
} else if (val == 'filtrate') { //
} else { //

6
src/views/qms/sampleCode/index.vue

@ -126,6 +126,12 @@ const buttonBaseClick = (val, item) => {
} else if (val == 'export') { //
handleExport()
} else if (val == 'refresh') { //
tableObject.params.isSearch = false
tableObject.params.filters = ''
// tableObject.params = {
// isSearch: true,
// filters: searchData.filters
// }
getList()
} else if (val == 'filtrate') { //
} else { //

9
src/views/qms/sampleCode/sampleCode.data.ts

@ -97,6 +97,15 @@ export const SampleCode = useCrudSchemas(reactive<CrudSchema[]>([
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '操作',

Loading…
Cancel
Save