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里添加
const customRoutes = [dashboard, about];
const customRoutes = [dashboard];
// 根据顺序排序 即 仪表盘 后台路由 关于
const backMenuList = transformRouteToMenu([dashboard, ...routeList, about]);
const backMenuList = transformRouteToMenu([dashboard, ...routeList]);
this.setBackMenuList(backMenuList);
// remove meta.ignoreRoute item

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save