Browse Source

新增详情字段项

aqm-ops-supervision-platform
wbc 1 week ago
parent
commit
2a68228aa1
  1. 4
      src/store/modules/permission.ts
  2. 12
      src/views/checkManage/order/index.vue
  3. 14
      src/views/checkManage/plan/addModal.vue
  4. 14
      src/views/checkManage/plan/index.vue
  5. 2
      src/views/onlineAnalysis/arguments/index.vue
  6. 2
      src/views/onlineAnalysis/io/index.vue
  7. 2
      src/views/onlineAnalysis/zero/index.vue
  8. 4
      src/views/stationCheck/particulate/index.vue
  9. 14
      src/views/stationCheck/standby/index.vue

4
src/store/modules/permission.ts

@ -257,9 +257,9 @@ export const usePermissionStore = defineStore({
// 后台路由到菜单结构 // 后台路由到菜单结构
// 这里是本地路由 需要在这里添加 或者直接在route/routes/index里添加 // 这里是本地路由 需要在这里添加 或者直接在route/routes/index里添加
const customRoutes = [dashboard, about]; const customRoutes = [dashboard];
// 根据顺序排序 即 仪表盘 后台路由 关于 // 根据顺序排序 即 仪表盘 后台路由 关于
const backMenuList = transformRouteToMenu([dashboard, ...routeList, about]); const backMenuList = transformRouteToMenu([dashboard, ...routeList]);
this.setBackMenuList(backMenuList); this.setBackMenuList(backMenuList);
// remove meta.ignoreRoute item // remove meta.ignoreRoute item

12
src/views/checkManage/order/index.vue

@ -35,12 +35,12 @@
}, },
immediate: true, immediate: true,
columns: columns, columns: columns,
actionColumn: { // actionColumn: {
width: 300, // width: 300,
title: '操作', // title: '',
key: 'action', // key: 'action',
fixed: 'right', // fixed: 'right',
}, // },
}); });
// //
// //

14
src/views/checkManage/plan/addModal.vue

@ -24,10 +24,10 @@
</a-row> </a-row>
<a-row :gutter="[16, 16]"> <a-row :gutter="[16, 16]">
<a-col :span="24"> <a-col :span="24">
<a-form-item label="计划类型" name="planType"> <a-form-item label="计划类型" name="monitorType">
<a-select <a-select
v-model:value="form.planType" v-model:value="form.monitorType"
:options="planTypeOptions" :options="monitorTypeOptions"
placeholder="请选择" placeholder="请选择"
/> />
</a-form-item> </a-form-item>
@ -50,10 +50,10 @@
createDate: '', createDate: '',
planDate: '', planDate: '',
station: null, station: null,
planType: null, monitorType: null,
}); });
// //
const planTypeOptions = [ const monitorTypeOptions = [
{ {
value: '月度巡检', value: '月度巡检',
}, },
@ -114,7 +114,7 @@
createDate: [{ required: true, message: '请选择' }], createDate: [{ required: true, message: '请选择' }],
planDate: [{ required: true, message: '请选择' }], planDate: [{ required: true, message: '请选择' }],
station: [{ required: true, message: '请选择' }], station: [{ required: true, message: '请选择' }],
planType: [{ required: true, message: '请选择' }], monitorType: [{ required: true, message: '请选择' }],
}; };
return { return {
visible, visible,
@ -122,7 +122,7 @@
form, form,
showModal, showModal,
handleOk, handleOk,
planTypeOptions, monitorTypeOptions,
stationOptions, stationOptions,
closeModal, closeModal,
formRef, formRef,

14
src/views/checkManage/plan/index.vue

@ -5,7 +5,7 @@
<a-button type="primary" @click="showModal(1)">新增</a-button> <a-button type="primary" @click="showModal(1)">新增</a-button>
</template> </template>
</BasicTable> </BasicTable>
<addModal ref="addModalRef" /> <addModal ref="addModalRef" @success="reload()"/>
</PageWrapper> </PageWrapper>
</template> </template>
@ -35,12 +35,12 @@
}, },
immediate: true, immediate: true,
columns: columns, columns: columns,
actionColumn: { // actionColumn: {
width: 300, // width: 300,
title: '操作', // title: '',
key: 'action', // key: 'action',
fixed: 'right', // fixed: 'right',
}, // },
}); });
// //
// //

2
src/views/onlineAnalysis/arguments/index.vue

@ -5,7 +5,7 @@
<a-button type="primary" @click="showModal(1)">新增</a-button> <a-button type="primary" @click="showModal(1)">新增</a-button>
</template> </template>
</BasicTable> </BasicTable>
<addModal ref="addModalRef" /> <addModal ref="addModalRef" @success="reload()"/>
</PageWrapper> </PageWrapper>
</template> </template>

2
src/views/onlineAnalysis/io/index.vue

@ -5,7 +5,7 @@
<a-button type="primary" @click="showModal(1)">新增</a-button> <a-button type="primary" @click="showModal(1)">新增</a-button>
</template> </template>
</BasicTable> </BasicTable>
<addModal ref="addModalRef" /> <addModal ref="addModalRef" @success="reload()"/>
</PageWrapper> </PageWrapper>
</template> </template>

2
src/views/onlineAnalysis/zero/index.vue

@ -5,7 +5,7 @@
<a-button type="primary" @click="showModal(1)">新增</a-button> <a-button type="primary" @click="showModal(1)">新增</a-button>
</template> </template>
</BasicTable> </BasicTable>
<addModal ref="addModalRef" /> <addModal ref="addModalRef" @success="reload()"/>
</PageWrapper> </PageWrapper>
</template> </template>

4
src/views/stationCheck/particulate/index.vue

@ -10,11 +10,11 @@
<div v-else>{{ record.result }}</div> <div v-else>{{ record.result }}</div>
</template> </template>
<template v-if="column && record && column.key === 'difference'"> <template v-if="column && record && column.key === 'difference'">
{{ record.difference }}% {{ record.difference?record.difference:0 }}%
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<addModal ref="addModalRef" /> <addModal ref="addModalRef" @success="reload()"/>
</PageWrapper> </PageWrapper>
</template> </template>

14
src/views/stationCheck/standby/index.vue

@ -5,7 +5,7 @@
<a-button type="primary" @click="showModal(1)">新增</a-button> <a-button type="primary" @click="showModal(1)">新增</a-button>
</template> </template>
</BasicTable> </BasicTable>
<addModal ref="addModalRef" /> <addModal ref="addModalRef" @success="reload()"/>
</PageWrapper> </PageWrapper>
</template> </template>
@ -35,12 +35,12 @@
}, },
immediate: true, immediate: true,
columns: columns, columns: columns,
actionColumn: { // actionColumn: {
width: 300, // width: 300,
title: '操作', // title: '',
key: 'action', // key: 'action',
fixed: 'right', // fixed: 'right',
}, // },
}); });
// //
// //

Loading…
Cancel
Save