zs 1 år sedan
förälder
incheckning
16b23e6108

+ 1 - 1
src/views/platform/demand/demand/index.vue

@@ -75,7 +75,7 @@ const fields = [
   { label: t('pages.demand.status'), model: 'status', format: (i) => getDict(i, 'status') }
 ]
 const opera = [
-  { label: t('common.update'), method: 'edit', display: (i) => i.is_use === '1' },
+  { label: t('common.update'), method: 'edit' },
   { label: t('common.exam'), method: 'exam', type: 'warning', display: (i) => i.status === '0' },
   { label: t('common.delete'), method: 'delete', confirm: true, type: 'danger', display: (i) => i.is_use === '1' }
 ]

+ 1 - 1
src/views/platform/demand/supply/index.vue

@@ -75,7 +75,7 @@ const fields = [
   { label: t('pages.demand.status'), model: 'status', format: (i) => getDict(i, 'status') }
 ]
 const opera = [
-  { label: t('common.update'), method: 'edit', display: (i) => i.is_use === '1' },
+  { label: t('common.update'), method: 'edit' },
   { label: t('common.exam'), method: 'exam', type: 'warning', display: (i) => i.status === '0' },
   { label: t('common.delete'), method: 'delete', confirm: true, type: 'danger', display: (i) => i.is_use === '1' }
 ]