diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index cb7058a..d1b1c9e 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -17,6 +17,8 @@ "MaybeRefOrGetter": true, "PropType": true, "Ref": true, + "Slot": true, + "Slots": true, "VNode": true, "WritableComputedRef": true, "acceptHMRUpdate": true, @@ -35,6 +37,7 @@ "createInjectionState": true, "createPinia": true, "createReactiveFn": true, + "createRef": true, "createReusableTemplate": true, "createSharedComposable": true, "createTemplatePromise": true, @@ -315,9 +318,6 @@ "watchThrottled": true, "watchTriggerable": true, "watchWithFilter": true, - "whenever": true, - "Slot": true, - "Slots": true, - "createRef": true + "whenever": true } } diff --git a/public/assets/caigou.png b/public/assets/caigou.png new file mode 100644 index 0000000..ee296d0 Binary files /dev/null and b/public/assets/caigou.png differ diff --git a/public/assets/dialog1.png b/public/assets/dialog1.png new file mode 100644 index 0000000..bdb7b0c Binary files /dev/null and b/public/assets/dialog1.png differ diff --git a/public/assets/jkcckj.png b/public/assets/jkcckj.png new file mode 100644 index 0000000..4c58990 Binary files /dev/null and b/public/assets/jkcckj.png differ diff --git a/public/assets/jkfdl.png b/public/assets/jkfdl.png new file mode 100644 index 0000000..5bdcea2 Binary files /dev/null and b/public/assets/jkfdl.png differ diff --git a/public/assets/jkjrbjcs.png b/public/assets/jkjrbjcs.png new file mode 100644 index 0000000..783b561 Binary files /dev/null and b/public/assets/jkjrbjcs.png differ diff --git a/public/assets/jklxsc.png b/public/assets/jklxsc.png new file mode 100644 index 0000000..3f1fd09 Binary files /dev/null and b/public/assets/jklxsc.png differ diff --git a/public/assets/no.png b/public/assets/no.png new file mode 100644 index 0000000..c15743f Binary files /dev/null and b/public/assets/no.png differ diff --git a/public/assets/play.png b/public/assets/play.png new file mode 100644 index 0000000..f50aa4f Binary files /dev/null and b/public/assets/play.png differ diff --git a/public/assets/qian.jpg b/public/assets/qian.jpg new file mode 100644 index 0000000..0dd10cf Binary files /dev/null and b/public/assets/qian.jpg differ diff --git a/public/assets/re.png b/public/assets/re.png new file mode 100644 index 0000000..a694bd5 Binary files /dev/null and b/public/assets/re.png differ diff --git a/public/assets/svg/delete.svg b/public/assets/svg/delete.svg new file mode 100644 index 0000000..76e69ec --- /dev/null +++ b/public/assets/svg/delete.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/assets/svg/download.svg b/public/assets/svg/download.svg new file mode 100644 index 0000000..1a2c396 --- /dev/null +++ b/public/assets/svg/download.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/assets/svg/huanyuan.svg b/public/assets/svg/huanyuan.svg new file mode 100644 index 0000000..f12656a --- /dev/null +++ b/public/assets/svg/huanyuan.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/assets/svg/jietu.svg b/public/assets/svg/jietu.svg new file mode 100644 index 0000000..102f945 --- /dev/null +++ b/public/assets/svg/jietu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/assets/svg/play.svg b/public/assets/svg/play.svg new file mode 100644 index 0000000..8711348 --- /dev/null +++ b/public/assets/svg/play.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/assets/svg/quanpin.svg b/public/assets/svg/quanpin.svg new file mode 100644 index 0000000..3cd2e8f --- /dev/null +++ b/public/assets/svg/quanpin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/assets/yes.png b/public/assets/yes.png new file mode 100644 index 0000000..d8d474c Binary files /dev/null and b/public/assets/yes.png differ diff --git a/src/api/zhinengxunjian/baoxiou/index.ts b/src/api/zhinengxunjian/baoxiou/index.ts new file mode 100644 index 0000000..4c0c107 --- /dev/null +++ b/src/api/zhinengxunjian/baoxiou/index.ts @@ -0,0 +1,49 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +//查询列表 +export const baoxiulist = (query) => { + return request({ + url: '/ops/report/list', + method: 'get', + params: query + }); +}; +//新增待办事项 +export const addbaoxiu = (data) => { + return request({ + url: '/ops/report', + method: 'post', + data: data + }); +}; +//修改待办事项 +export const updatebaoxiu = (data) => { + return request({ + url: '/ops/report', + method: 'put', + data: data + }); +}; +//删除待办事项 + +export function delbaoxiu(ids) { + return request({ + url: `/ops/report/${ids}`, // 拼接ids作为路径参数 + method: 'delete' + }); +} + +export const baoxiuDetail = (id) => { + return request({ + url: `/ops/report/${id}`, + method: 'get' + }); +}; + +export const uploadbaoxiu = (data) => { + return request({ + url: '/resource/oss/upload', + method: 'post', + data: data + }); +}; diff --git a/src/api/zhinengxunjian/daiban/index.ts b/src/api/zhinengxunjian/daiban/index.ts new file mode 100644 index 0000000..195e3b1 --- /dev/null +++ b/src/api/zhinengxunjian/daiban/index.ts @@ -0,0 +1,34 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +//查询列表 +export const daibanlist = (query) => { + return request({ + url: '/ops/matter/list', + method: 'get', + params: query + }); +}; +//新增待办事项 +export const adddaiban = (data) => { + return request({ + url: '/ops/matter', + method: 'post', + data: data + }); +}; +//修改待办事项 +export const updatedaiban = (data) => { + return request({ + url: '/ops/matter', + method: 'put', + data: data + }); +}; +//删除待办事项 + +export function deldaiban(ids) { + return request({ + url: `/ops/matter/${ids}`, // 拼接ids作为路径参数 + method: 'delete' + }); +} diff --git a/src/api/zhinengxunjian/inspection/item/index.ts b/src/api/zhinengxunjian/inspection/item/index.ts new file mode 100644 index 0000000..29fd448 --- /dev/null +++ b/src/api/zhinengxunjian/inspection/item/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { ItemVO, ItemForm, ItemQuery } from '@/api/zhinengxunjian/inspection/item/types'; + +/** + * 查询运维-巡检-自定义巡检项列表 + * @param query + * @returns {*} + */ + +export const listItem = (query?: ItemQuery): AxiosPromise => { + return request({ + url: '/ops/item/list', + method: 'get', + params: query + }); +}; + +/** + * 查询运维-巡检-自定义巡检项详细 + * @param id + */ +export const getItem = (id: string | number): AxiosPromise => { + return request({ + url: '/ops/item/' + id, + method: 'get' + }); +}; + +/** + * 新增运维-巡检-自定义巡检项 + * @param data + */ +export const addItem = (data: ItemForm) => { + return request({ + url: '/ops/item', + method: 'post', + data: data + }); +}; + +/** + * 修改运维-巡检-自定义巡检项 + * @param data + */ +export const updateItem = (data: ItemForm) => { + return request({ + url: '/ops/item', + method: 'put', + data: data + }); +}; + +/** + * 删除运维-巡检-自定义巡检项 + * @param id + */ +export const delItem = (id: string | number | Array) => { + return request({ + url: '/ops/item/' + id, + method: 'delete' + }); +}; diff --git a/src/api/zhinengxunjian/inspection/item/types.ts b/src/api/zhinengxunjian/inspection/item/types.ts new file mode 100644 index 0000000..9d6ec6e --- /dev/null +++ b/src/api/zhinengxunjian/inspection/item/types.ts @@ -0,0 +1,46 @@ +export interface ItemVO { + /** + * + */ + id: string | number; + + /** + * 自定义巡检项名称 + */ + name: string; + + /** + * 业务id,巡检计划1 + */ + type: string; +} + +export interface ItemForm extends BaseEntity { + /** + * 自定义巡检项名称 + */ + name?: string; + + /** + * 业务id,巡检计划1 + */ + type?: string; + projectId?: number; +} + +export interface ItemQuery extends PageQuery { + /** + * 自定义巡检项名称 + */ + name?: string; + + /** + * 业务id,巡检计划1 + */ + type?: string; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/src/api/zhinengxunjian/shiyan/index.ts b/src/api/zhinengxunjian/shiyan/index.ts new file mode 100644 index 0000000..9609a00 --- /dev/null +++ b/src/api/zhinengxunjian/shiyan/index.ts @@ -0,0 +1,49 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +//查询列表 +export const shiyanlist = (query) => { + return request({ + url: '/ops/testPlan/list', + method: 'get', + params: query + }); +}; +//新增 +export const addshiyan = (data) => { + return request({ + url: '/ops/testPlan', + method: 'post', + data: data + }); +}; +//修改 +export const updateshiyan = (data) => { + return request({ + url: '/ops/testPlan', + method: 'put', + data: data + }); +}; +//删除 +export const delshiyan = (ids) => { + return request({ + url: `/ops/testPlan${ids}`, + method: 'delete' + }); +}; +//查询人员 +export const shiyanUserlist = (query) => { + return request({ + url: '/ops/constructionUser/list', + method: 'get', + params: query + }); +}; + +//详情 +export const shiyanDetail = (id) => { + return request({ + url: `/ops/testPlan/${id}`, + method: 'get' + }); +}; diff --git a/src/api/zhinengxunjian/shiyan/renwu.ts b/src/api/zhinengxunjian/shiyan/renwu.ts new file mode 100644 index 0000000..bb49cb1 --- /dev/null +++ b/src/api/zhinengxunjian/shiyan/renwu.ts @@ -0,0 +1,41 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +//查询列表 +export const syrenwulist = (query) => { + return request({ + url: '/ops/testTask/list', + method: 'get', + params: query + }); +}; +//新增 +export const addsyrenwu = (data) => { + return request({ + url: '/ops/testTask', + method: 'post', + data: data + }); +}; +//修改 +export const updatesyrenwu = (data) => { + return request({ + url: '/ops/testTask', + method: 'put', + data: data + }); +}; +//删除 +export const delsyrenwu = (ids) => { + return request({ + url: `/ops/testTask${ids}`, + method: 'delete' + }); +}; + +//详情 +export const syrenwuDetail = (id) => { + return request({ + url: `/ops/testTask/${id}`, + method: 'get' + }); +}; diff --git a/src/api/zhinengxunjian/xunjian/index.ts b/src/api/zhinengxunjian/xunjian/index.ts new file mode 100644 index 0000000..353b0bb --- /dev/null +++ b/src/api/zhinengxunjian/xunjian/index.ts @@ -0,0 +1,56 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +//查询列表 +export const xunjianlist = (query) => { + return request({ + url: '/ops/plan/list', + method: 'get', + params: query + }); +}; +//新增 +export const addxunjian = (data) => { + return request({ + url: '/ops/plan', + method: 'post', + data: data + }); +}; +//修改 +export const updatexunjian = (data) => { + return request({ + url: '/ops/plan', + method: 'put', + data: data + }); +}; +//删除 +export const delxunjian = (ids) => { + return request({ + url: `/ops/plan/${ids}`, + method: 'delete' + }); +}; +//查询人员 +export const xunjianUserlist = (query) => { + return request({ + url: '/ops/constructionUser/list', + method: 'get', + params: query + }); +}; +//查询巡检项 +export const xunjianItemlist = (query) => { + return request({ + url: '/ops/item/list', + method: 'get', + params: query + }); +}; +//详情 +export const xunjianDetail = (id) => { + return request({ + url: `/ops/plan/${id}`, + method: 'get' + }); +}; diff --git a/src/api/zhinengxunjian/xunjian/jilu.ts b/src/api/zhinengxunjian/xunjian/jilu.ts new file mode 100644 index 0000000..34f3b19 --- /dev/null +++ b/src/api/zhinengxunjian/xunjian/jilu.ts @@ -0,0 +1,10 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +//查询列表 +export const xunjianjilu = (query) => { + return request({ + url: '/ops/task/record', + method: 'get', + params: query + }); +}; diff --git a/src/api/zhinengxunjian/xunjian/renwu.ts b/src/api/zhinengxunjian/xunjian/renwu.ts new file mode 100644 index 0000000..5919b8f --- /dev/null +++ b/src/api/zhinengxunjian/xunjian/renwu.ts @@ -0,0 +1,46 @@ +import request from '@/utils/request'; +export const xjrenwulist = (query) => { + return request({ + url: '/ops/task/list', + method: 'get', + params: query + }); +}; +//新增 +export const addxjrenwu = (data) => { + return request({ + url: '/ops/task', + method: 'post', + data: data + }); +}; +//修改 +export const updatexjrenwu = (data) => { + return request({ + url: '/ops/task', + method: 'put', + data: data + }); +}; +//删除 +export const delxjrenwu = (ids) => { + return request({ + url: `/ops/task/${ids}`, + method: 'delete' + }); +}; +//详情 +export const xjrenwuDetail = (id) => { + return request({ + url: `/ops/task/${id}`, + method: 'get' + }); +}; +//导出 +export const xjrenwuExport = (data) => { + return request({ + url: '/ops/task/export', + method: 'post', + data: data + }); +}; diff --git a/src/assets/fonts/fonts.scss b/src/assets/fonts/fonts.scss index 2e56167..6892aa1 100644 --- a/src/assets/fonts/fonts.scss +++ b/src/assets/fonts/fonts.scss @@ -11,6 +11,7 @@ font-weight: normal; font-style: normal; } + // 思源字体 // @font-face { // font-family: 'SourceHanSansCN-Bold'; @@ -56,6 +57,7 @@ font-weight: normal; font-style: normal; } + // @font-face { // font-family: 'SourceHanSansCN-Bold'; // src: url('./ReflectTi/SourceHanSerifCN-Bold.otf');//暂时没用 @@ -110,6 +112,8 @@ font-weight: normal; font-style: normal; } + + //阿里黑体 @font-face { font-family: 'AlimamaShuHeiTi-Bold'; @@ -117,6 +121,7 @@ font-weight: normal; font-style: normal; } + // @font-face { // font-family: 'Alibaba-PuHuiTi-Heavy'; // src: url('./Alibaba/Alibaba-PuHuiTi-Heavy.otf');//暂时没用 @@ -135,6 +140,7 @@ font-weight: normal; font-style: normal; } + // @font-face { // font-family: 'Alibaba-PuHuiTi-Regular'; // src: url('./Alibaba/Alibaba-PuHuiTi-Regular.otf');//暂时没用 @@ -148,18 +154,19 @@ font-weight: normal; font-style: normal; } + @font-face { - font-family: 'D-Din'; + font-family: 'D-Din'; src: url('./D-Din//D-DIN.ttf'); font-weight: normal; font-weight: normal; font-style: normal; } + @font-face { font-family: 'Roboto-Regular'; //Roboto src: url('./Roboto//Roboto-Regular.ttf'); font-weight: normal; font-weight: normal; font-style: normal; -} - +} \ No newline at end of file diff --git a/src/assets/styles/dialog.scss b/src/assets/styles/dialog.scss new file mode 100644 index 0000000..a00f472 --- /dev/null +++ b/src/assets/styles/dialog.scss @@ -0,0 +1,16 @@ +#custom-dialog { + padding: 0; + + .el-dialog__header { + display: none; + } + + .el-dialog__body { + padding: 0 !important; + } + + .alert-content { + padding: 80px; + background: linear-gradient(180deg, rgba(0, 119, 255, 0.23) 0%, rgba(255, 255, 255, 0) 100%); + } +} \ No newline at end of file diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 7228c52..e6cee07 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -7,6 +7,8 @@ @use './ruoyi.scss'; @use 'animate.css'; @use 'element-plus/dist/index.css'; +@use './dialog.scss'; + body { height: 100%; @@ -208,4 +210,4 @@ aside { vertical-align: middle; margin-bottom: 10px; } -} +} \ No newline at end of file diff --git a/src/views/inspection/item/index.vue b/src/views/inspection/item/index.vue new file mode 100644 index 0000000..d0ada56 --- /dev/null +++ b/src/views/inspection/item/index.vue @@ -0,0 +1,225 @@ + + + diff --git a/src/views/materialManagement/components/DataAnalysis.vue b/src/views/materialManagement/components/DataAnalysis.vue new file mode 100644 index 0000000..2181888 --- /dev/null +++ b/src/views/materialManagement/components/DataAnalysis.vue @@ -0,0 +1,234 @@ + + + + + \ No newline at end of file diff --git a/src/views/materialManagement/components/DetailsProcess.vue b/src/views/materialManagement/components/DetailsProcess.vue new file mode 100644 index 0000000..e16a931 --- /dev/null +++ b/src/views/materialManagement/components/DetailsProcess.vue @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file diff --git a/src/views/materialManagement/components/SystemInfo.vue b/src/views/materialManagement/components/SystemInfo.vue new file mode 100644 index 0000000..8a2fcd9 --- /dev/null +++ b/src/views/materialManagement/components/SystemInfo.vue @@ -0,0 +1,142 @@ + + + + \ No newline at end of file diff --git a/src/views/materialManagement/components/detailInfo.vue b/src/views/materialManagement/components/detailInfo.vue new file mode 100644 index 0000000..0c23bdd --- /dev/null +++ b/src/views/materialManagement/components/detailInfo.vue @@ -0,0 +1,257 @@ + + + + + \ No newline at end of file diff --git a/src/views/materialManagement/inventoryManagement.vue b/src/views/materialManagement/inventoryManagement.vue new file mode 100644 index 0000000..04aeec7 --- /dev/null +++ b/src/views/materialManagement/inventoryManagement.vue @@ -0,0 +1,280 @@ + + + \ No newline at end of file diff --git a/src/views/materialManagement/planDetails.vue b/src/views/materialManagement/planDetails.vue new file mode 100644 index 0000000..48c5b6a --- /dev/null +++ b/src/views/materialManagement/planDetails.vue @@ -0,0 +1,57 @@ + + + \ No newline at end of file diff --git a/src/views/materialManagement/procurementPlan.vue b/src/views/materialManagement/procurementPlan.vue new file mode 100644 index 0000000..854bd7c --- /dev/null +++ b/src/views/materialManagement/procurementPlan.vue @@ -0,0 +1,569 @@ + + + \ No newline at end of file diff --git a/src/views/materialManagement/spareParts.vue b/src/views/materialManagement/spareParts.vue new file mode 100644 index 0000000..c81a6af --- /dev/null +++ b/src/views/materialManagement/spareParts.vue @@ -0,0 +1,439 @@ + + + \ No newline at end of file diff --git a/src/views/pvSystem/siteOverview/allAlarms.vue b/src/views/pvSystem/siteOverview/allAlarms.vue new file mode 100644 index 0000000..a72460a --- /dev/null +++ b/src/views/pvSystem/siteOverview/allAlarms.vue @@ -0,0 +1,75 @@ + + + \ No newline at end of file diff --git a/src/views/pvSystem/siteOverview/components/gaojing.vue b/src/views/pvSystem/siteOverview/components/gaojing.vue index 523fa0c..0d4fe46 100644 --- a/src/views/pvSystem/siteOverview/components/gaojing.vue +++ b/src/views/pvSystem/siteOverview/components/gaojing.vue @@ -1,7 +1,7 @@ + + \ No newline at end of file diff --git a/src/views/securitySurveillance/components/spgl.vue b/src/views/securitySurveillance/components/spgl.vue new file mode 100644 index 0000000..a6bb236 --- /dev/null +++ b/src/views/securitySurveillance/components/spgl.vue @@ -0,0 +1,320 @@ + + + diff --git a/src/views/securitySurveillance/components/spjk.vue b/src/views/securitySurveillance/components/spjk.vue new file mode 100644 index 0000000..12fa78d --- /dev/null +++ b/src/views/securitySurveillance/components/spjk.vue @@ -0,0 +1,177 @@ + + + + + \ No newline at end of file diff --git a/src/views/securitySurveillance/components/top.vue b/src/views/securitySurveillance/components/top.vue new file mode 100644 index 0000000..7b936fb --- /dev/null +++ b/src/views/securitySurveillance/components/top.vue @@ -0,0 +1,156 @@ + + + \ No newline at end of file diff --git a/src/views/securitySurveillance/index.vue b/src/views/securitySurveillance/index.vue new file mode 100644 index 0000000..a0fccf8 --- /dev/null +++ b/src/views/securitySurveillance/index.vue @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/src/views/zhinengxunjian/InspectionManagement.vue b/src/views/zhinengxunjian/InspectionManagement.vue index 3f43b3f..8ab639d 100644 --- a/src/views/zhinengxunjian/InspectionManagement.vue +++ b/src/views/zhinengxunjian/InspectionManagement.vue @@ -1,6 +1,7 @@ - diff --git a/src/views/zhinengxunjian/baoxiuguanli.vue b/src/views/zhinengxunjian/baoxiuguanli.vue index db5f442..58c6ad7 100644 --- a/src/views/zhinengxunjian/baoxiuguanli.vue +++ b/src/views/zhinengxunjian/baoxiuguanli.vue @@ -129,12 +129,12 @@ - + @@ -143,10 +143,8 @@ - + - - @@ -161,6 +159,12 @@ + + + + + + @@ -169,13 +173,31 @@ - -
-
- -
点击或拖拽图片至此处上传
-
支持JPG、PNG格式,最多3张
+ + +
+
+ +
点击或拖拽图片至此处上传
+
支持JPG、PNG格式,最多3张
+
+
+ +
+ 已选择{{ createTaskForm.fileList.length }}张图片,将在提交时上传
@@ -196,7 +218,7 @@ @@ -205,10 +227,12 @@ diff --git a/src/views/zhinengxunjian/shiyanjilu.vue b/src/views/zhinengxunjian/shiyanjilu.vue index a7f6ee1..584bdfa 100644 --- a/src/views/zhinengxunjian/shiyanjilu.vue +++ b/src/views/zhinengxunjian/shiyanjilu.vue @@ -12,7 +12,6 @@
-
筛选 导入数据 @@ -278,7 +277,7 @@