From a0ac0b1027c88df240efed42392a1c7f64d66f2d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Feb 2026 11:16:18 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/jagzwxm/ja_web
---
/dev/null | 321 -----------------------------------
applications/task-work-order/vite.config.mjs | 2
applications/task-work-order/src/styles/common/cockpit.scss | 42 +++-
applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue | 2
applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue | 1
applications/task-work-order/src/styles/element/index.scss | 9 +
applications/task-work-order/src/views/orderView/appConfiguration/materials/index.vue | 67 -------
applications/task-work-order/src/main.js | 55 +++---
8 files changed, 69 insertions(+), 430 deletions(-)
diff --git a/applications/task-work-order/src/main.js b/applications/task-work-order/src/main.js
index 04bc6a0..ce7bb18 100644
--- a/applications/task-work-order/src/main.js
+++ b/applications/task-work-order/src/main.js
@@ -17,7 +17,7 @@
import { language, messages } from './lang/'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import ElementPlus from 'element-plus'
-import 'element-plus/dist/index.css'
+import 'element-plus/theme-chalk/src/index.scss'
import Avue from '@smallwei/avue'
import '@smallwei/avue/lib/index.css'
import crudCommon from '@/mixins/crud.js'
@@ -45,7 +45,7 @@
// 视频回放
import 'video.js/dist/video-js.css'
-import "videojs-markers/dist/videojs.markers.css"
+import 'videojs-markers/dist/videojs.markers.css'
// 业务组件
import tenantPackage from './views/system/tenantpackage.vue'
@@ -62,36 +62,35 @@
// 获取url中是否存在token
const urlParams = getUrlParams(window.location.href)
-if (urlParams?.token && !localStorage.getItem("isReload")) {
- localStorage.setItem("isReload", true)
- // 设置cookie和localStorage
- setStore('saber-token', urlParams.token)
- setToken(urlParams.token)
- setRefreshToken(urlParams.token)
- // 设置用户信息,把大屏用户信息保存到localStorage
- let obj = {}
- obj = localStorage.getItem("bs_userInfo")
- obj = obj ? obj : localStorage.getItem("saber-userInfo")
- if (obj instanceof Object) {
- obj = obj.content
- } else {
- obj = JSON.parse(obj).content
- }
- setStore({ name: 'userInfo', content: obj })
- location.reload()
+if (urlParams?.token && !localStorage.getItem('isReload')) {
+ localStorage.setItem('isReload', true)
+ // 设置cookie和localStorage
+ setStore('saber-token', urlParams.token)
+ setToken(urlParams.token)
+ setRefreshToken(urlParams.token)
+ // 设置用户信息,把大屏用户信息保存到localStorage
+ let obj = {}
+ obj = localStorage.getItem('bs_userInfo')
+ obj = obj ? obj : localStorage.getItem('saber-userInfo')
+ if (obj instanceof Object) {
+ obj = obj.content
+ } else {
+ obj = JSON.parse(obj).content
+ }
+ setStore({ name: 'userInfo', content: obj })
+ location.reload()
} else {
- if (localStorage.getItem("isReload")) {
- localStorage.removeItem("isReload")
- }
+ if (localStorage.getItem('isReload')) {
+ localStorage.removeItem('isReload')
+ }
}
-
window.$crudCommon = crudCommon
window.axios = axios
window._ = _
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
- app.component(key, component)
+ app.component(key, component)
}
app.component('basicContainer', basicContainer)
app.component('welContainer', welContainer)
@@ -113,12 +112,12 @@
app.use(store)
app.use(router)
app.use(ElementPlus, {
- locale: messages[language],
+ locale: messages[language],
})
app.use(Avue, {
- axios,
- calcHeight: 10,
- locale: messages[language],
+ axios,
+ calcHeight: 10,
+ locale: messages[language],
})
app.use(avueUeditor, { axios })
app.use(NfDesignBase)
diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index ecb4468..b6af6e4 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -1028,18 +1028,6 @@
}
}
-.gd-tabs {
- .el-tabs__header {
- .el-tabs__item.is-active {
- color: #3247E5;
- }
-
- .el-tabs__active-bar {
- background: #3247E5;
- }
- }
-}
-
.gd-dialog-table {
background: transparent !important;
@@ -1188,6 +1176,35 @@
}
.gd-dialog-form {
+ // 最后一排不需要设置 margin-bottom
+ // border: 1px solid red;
+ // 倒数第二个也设置为0
+ // .el-col:nth-last-child(2) {
+ // margin-bottom: 0;
+ // }
+ // .el-col:nth-last-child(1) {
+ // margin-bottom: 0;
+ // }
+
+ // .el-form-item:nth-last-child(2) {
+ // margin-bottom: 0;
+ // }
+ // .el-form-item:nth-last-child(1) {
+ // margin-bottom: 0;
+ // }
+ .gd-select {
+ .el-select__wrapper {
+ height: 36px;
+ }
+ }
+
+ .gd-date-picker {
+ height: 36px;
+ }
+
+ .gd-input {
+ height: 36px;
+ }
.el-input,
.el-input-number {
min-width: 200px;
@@ -1199,6 +1216,7 @@
.el-input__inner {
text-align: left;
+ color: #383874;
&::placeholder {
text-align: left;
diff --git a/applications/task-work-order/src/styles/element/index.scss b/applications/task-work-order/src/styles/element/index.scss
new file mode 100644
index 0000000..22ccbdd
--- /dev/null
+++ b/applications/task-work-order/src/styles/element/index.scss
@@ -0,0 +1,9 @@
+$--colors: (
+ 'primary': (
+ 'base': #4C34FF,
+ ),
+);
+
+@forward 'element-plus/theme-chalk/src/common/var.scss' with (
+ $colors: $--colors,
+);
diff --git "a/applications/task-work-order/src/views/orderView/appConfiguration/inventory/\346\216\245\345\217\243\346\226\207\346\241\243.txt" "b/applications/task-work-order/src/views/orderView/appConfiguration/inventory/\346\216\245\345\217\243\346\226\207\346\241\243.txt"
deleted file mode 100644
index a0441ed..0000000
--- "a/applications/task-work-order/src/views/orderView/appConfiguration/inventory/\346\216\245\345\217\243\346\226\207\346\241\243.txt"
+++ /dev/null
@@ -1,537 +0,0 @@
-
-
-## 分页
-
-
-**接口地址**:`/implement/gdImplementList/page`
-
-
-**请求方式**:`GET`
-
-
-**请求数据类型**:`application/x-www-form-urlencoded`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入gdImplementList</p>
-
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|areaCode|所属区划编码|query|false|string||
-|current|当前页|query|false|integer(int32)||
-|matterCode|事项编码|query|false|string||
-|matterName|事项名称|query|false|string||
-|size|每页的数量|query|false|integer(int32)||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R«IPage«GdImplementListVO»»|
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|IPage«GdImplementListVO»|IPage«GdImplementListVO»|
-|  current||integer(int64)||
-|  pages||integer(int64)||
-|  records||array|GdImplementListVO|
-|    areaCode|所属区划编码|string||
-|    areaName|所属区划名称|string||
-|    catalogCode|目录编码|string||
-|    id|主键id|integer||
-|    implementCode|实施编码|string||
-|    implementName|实施清单名称|string||
-|    matterCode|事项编码|string||
-|    matterName|事项名称|string||
-|    orgCode|所属机构编码|string||
-|    orgName|所属机构名称|string||
-|    processDefinitionId|流程定义主键|string||
-|    processInstanceId|流程实例主键|string||
-|  size||integer(int64)||
-|  total||integer(int64)||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": {
- "current": 0,
- "pages": 0,
- "records": [
- {
- "areaCode": "",
- "areaName": "",
- "catalogCode": "",
- "id": 0,
- "implementCode": "",
- "implementName": "",
- "matterCode": "",
- "matterName": "",
- "orgCode": "",
- "orgName": "",
- "processDefinitionId": "",
- "processInstanceId": ""
- }
- ],
- "size": 0,
- "total": 0
- },
- "msg": "",
- "success": true
-}
-```
-
-
-## 详情
-
-
-**接口地址**:`/implement/gdImplementList/detail`
-
-
-**请求方式**:`GET`
-
-
-**请求数据类型**:`application/x-www-form-urlencoded`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入gdImplementList</p>
-
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|id|主键|query|true|integer(int64)||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R«GdImplementListVO»|
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|GdImplementListVO|GdImplementListVO|
-|  areaCode|所属区划编码|string||
-|  areaName|所属区划名称|string||
-|  catalogCode|目录编码|string||
-|  id|主键id|integer(int64)||
-|  implementCode|实施编码|string||
-|  implementName|实施清单名称|string||
-|  matterCode|事项编码|string||
-|  matterName|事项名称|string||
-|  orgCode|所属机构编码|string||
-|  orgName|所属机构名称|string||
-|  processDefinitionId|流程定义主键|string||
-|  processInstanceId|流程实例主键|string||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": {
- "areaCode": "",
- "areaName": "",
- "catalogCode": "",
- "id": 0,
- "implementCode": "",
- "implementName": "",
- "matterCode": "",
- "matterName": "",
- "orgCode": "",
- "orgName": "",
- "processDefinitionId": "",
- "processInstanceId": ""
- },
- "msg": "",
- "success": true
-}
-```
-
-
-## 新增或修改
-
-
-**接口地址**:`/implement/gdImplementList/submit`
-
-
-**请求方式**:`POST`
-
-
-**请求数据类型**:`application/json`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入gdImplementList</p>
-
-
-
-**请求示例**:
-
-
-```javascript
-{
- "areaCode": "",
- "areaName": "",
- "catalogCode": "",
- "id": 0,
- "implementCode": "",
- "implementName": "",
- "matterCode": "",
- "matterName": "",
- "orgCode": "",
- "orgName": "",
- "processDefinitionId": "",
- "processInstanceId": ""
-}
-```
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|gdImplementList|gdImplementList|body|true|GdImplementListDTO|GdImplementListDTO|
-|  areaCode|所属区划编码||false|string||
-|  areaName|所属区划名称||false|string||
-|  catalogCode|目录编码||false|string||
-|  id|主键id||false|integer(int64)||
-|  implementCode|实施编码||false|string||
-|  implementName|实施清单名称||false|string||
-|  matterCode|事项编码||false|string||
-|  matterName|事项名称||false|string||
-|  orgCode|所属机构编码||false|string||
-|  orgName|所属机构名称||false|string||
-|  processDefinitionId|流程定义主键||false|string||
-|  processInstanceId|流程实例主键||false|string||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R«boolean»|
-|201|Created||
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|boolean||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": true,
- "msg": "",
- "success": true
-}
-```
-
-
-## 逻辑删除
-
-
-**接口地址**:`/implement/gdImplementList/remove`
-
-
-**请求方式**:`POST`
-
-
-**请求数据类型**:`application/json`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入ids</p>
-
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|ids|主键集合|query|true|string||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R«boolean»|
-|201|Created||
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|boolean||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": true,
- "msg": "",
- "success": true
-}
-```
-
-
-
-
-## 查询配置实施清单-材料关联、流程关联
-
-
-**接口地址**:`/drone-gd/implement/gdImplementList/getThingListMaterialRelation`
-
-
-**请求方式**:`GET`
-
-
-**请求数据类型**:`application/x-www-form-urlencoded`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入gdImplementList</p>
-
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|id|主键|query|true|integer(int64)||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R«GetThingListMaterialRelationVO»|
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|GetThingListMaterialRelationVO|GetThingListMaterialRelationVO|
-|  implementListId|关联实施清单ID|integer(int64)||
-|  processDefinitionId|流程定义主键|string||
-|  processInstanceId|流程实例主键|string||
-|  thingListMaterialRels|实施清单-材料关联表(情形化配置)|array|GdThingListMaterialRel对象|
-|    createDept|创建部门|integer||
-|    createTime|创建时间|string||
-|    createUser|创建人|integer||
-|    id|主键id|integer||
-|    implementListId|关联实施清单ID|integer||
-|    isDeleted|是否已删除|integer||
-|    materialId|关联材料ID|integer||
-|    scenarioConfig|材料情形化配置:{"scenario_name":"情形1","is_need":1,"remark":"仅情形1需提供"}|string||
-|    sort|材料序号(列表展示字段)|integer||
-|    status|业务状态|integer||
-|    updateTime|更新时间|string||
-|    updateUser|更新人|integer||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": {
- "implementListId": 0,
- "processDefinitionId": "",
- "processInstanceId": "",
- "thingListMaterialRels": [
- {
- "createDept": 0,
- "createTime": "",
- "createUser": 0,
- "id": 0,
- "implementListId": 0,
- "isDeleted": 0,
- "materialId": 0,
- "scenarioConfig": "",
- "sort": 0,
- "status": 0,
- "updateTime": "",
- "updateUser": 0
- }
- ]
- },
- "msg": "",
- "success": true
-}
-```
-
-
-
-## 配置实施清单-材料关联、流程关联
-
-
-**接口地址**:`/drone-gd/implement/gdImplementList/thingListMaterialRelation`
-
-
-**请求方式**:`POST`
-
-
-**请求数据类型**:`application/json`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入gdImplementList</p>
-
-
-
-**请求示例**:
-
-
-```javascript
-{
- "implementListId": 0,
- "materialIds": [],
- "processDefinitionId": "",
- "processInstanceId": ""
-}
-```
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|param|param|body|true|ThingListMaterialRelationParam|ThingListMaterialRelationParam|
-|  implementListId|关联实施清单ID||false|integer(int64)||
-|  materialIds|关联材料ids||false|array|integer(int64)|
-|  processDefinitionId|流程定义主键||false|string||
-|  processInstanceId|流程实例主键||false|string||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R«boolean»|
-|201|Created||
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|boolean||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": true,
- "msg": "",
- "success": true
-}
-```
\ No newline at end of file
diff --git a/applications/task-work-order/src/views/orderView/appConfiguration/materials/index.vue b/applications/task-work-order/src/views/orderView/appConfiguration/materials/index.vue
index 523fb70..c8c18d6 100644
--- a/applications/task-work-order/src/views/orderView/appConfiguration/materials/index.vue
+++ b/applications/task-work-order/src/views/orderView/appConfiguration/materials/index.vue
@@ -11,24 +11,6 @@
/>
</el-form-item>
- <!-- <el-form-item label="所属区划" prop="areaCode">
- <el-tree-select
- class="gd-select gray"
- popper-class="gd-tree-select-popper"
- v-model="searchParams.areaCode"
- node-key="id"
- :props="treeSelectProps"
- placeholder="请选择"
- clearable
- filterable
- @change="handleSearch"
- :check-strictly="true"
- lazy
- :load="loadRegionNode"
- :render-after-expand="false"
- />
- </el-form-item> -->
-
<el-form-item class="gd-search-actions">
<el-button :icon="RefreshRight" @click="resetForm"></el-button>
<el-button class="search-btn" :icon="Search" @click="handleSearch"></el-button>
@@ -59,7 +41,6 @@
{{ getDictLabel(String(row.isAllScenario), dictObj.isAllScenario) }}
</template>
</el-table-column>
- <!-- <el-table-column prop="areaName" show-overflow-tooltip label="所属区域" /> -->
<el-table-column label="操作" class-name="operation-btns" width="200">
<template v-slot="{ row }">
<el-link type="primary" @click="openForm('view', row)">查看</el-link>
@@ -91,13 +72,12 @@
import { onMounted, ref, provide, nextTick } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import FormDiaLog from './FormDiaLog.vue'
-import { materialsPageApi, materialsRemoveApi, regionLazyTreeApi } from './materialsApi'
+import { materialsPageApi, materialsRemoveApi } from './materialsApi'
import { getDictLabel } from '@ztzf/utils'
// 初始化查询参数
const initSearchParams = () => ({
materialName: '', // 材料名称
- areaCode: '', // 所属区划
current: 1, // 当前页
size: 10, // 每页大小
})
@@ -112,17 +92,6 @@
necessity: [],
isAllScenario: [],
}) // 字典对象
-
-// 树形选择器配置
-const treeSelectProps = {
- value: 'id',
- label: 'name',
- children: 'children',
- // 判断叶子节点
- isLeaf: (data, node) => {
- return data.leaf === true
- },
-}
provide('dictObj', dictObj)
@@ -139,40 +108,6 @@
{ dictKey: '1', dictValue: '是' },
{ dictKey: '0', dictValue: '否' },
]
-}
-
-// 懒加载获取区域节点数据
-async function loadRegionNode(node, resolve) {
- try {
- // 限制只加载两级,当前节点 level >= 1 时不加载子节点
- if (node.level >= 2) {
- resolve([])
- return
- }
-
- // 初始化加载时传递 code 参数,加载子节点时传递 parentCode 参数
- const params = node.data?.id ? { parentCode: node.data.id } : { code: '360800000000' }
- const res = await regionLazyTreeApi(params)
- const nodes = res?.data?.data || []
-
- // 处理返回的节点数据
- const processedNodes = nodes.map(item => {
- // 判断是否为叶子节点:如果是第二级(node.level === 1)则为叶子节点
- const isLeaf = node.level === 1
-
- return {
- id: item.id || item.value,
- name: item.name || item.title || item.label,
- hasChildren: item.hasChildren || false,
- leaf: isLeaf,
- }
- })
-
- resolve(processedNodes)
- } catch (error) {
- console.error('获取区域数据失败:', error)
- resolve([])
- }
}
// 获取列表
diff --git "a/applications/task-work-order/src/views/orderView/appConfiguration/materials/\346\216\245\345\217\243\346\226\207\346\241\243.txt" "b/applications/task-work-order/src/views/orderView/appConfiguration/materials/\346\216\245\345\217\243\346\226\207\346\241\243.txt"
deleted file mode 100644
index f48ef91..0000000
--- "a/applications/task-work-order/src/views/orderView/appConfiguration/materials/\346\216\245\345\217\243\346\226\207\346\241\243.txt"
+++ /dev/null
@@ -1,321 +0,0 @@
-
-
-## 分页
-
-
-**接口地址**:`/implement/gdMaterial/page`
-
-
-**请求方式**:`GET`
-
-
-**请求数据类型**:`application/x-www-form-urlencoded`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入gdMaterial</p>
-
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|areaCode|区域编码|query|false|string||
-|current|当前页|query|false|integer(int32)||
-|id|主键id|query|false|integer(int64)||
-|isAllScenario|是否适用全部情形:1是 0否|query|false|integer(int32)||
-|materialDesc|材料说明|query|false|string||
-|materialName|材料名称(列表展示字段)|query|false|string||
-|necessity|必要性:必填/可选/容缺|query|false|string||
-|size|每页的数量|query|false|integer(int32)||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R«IPage«GdMaterialVO»»|
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|IPage«GdMaterialVO»|IPage«GdMaterialVO»|
-|  current||integer(int64)||
-|  pages||integer(int64)||
-|  records||array|GdMaterialVO|
-|    areaCode|区域编码|string||
-|    id|主键id|integer||
-|    isAllScenario|是否适用全部情形:1是 0否|integer||
-|    materialDesc|材料说明|string||
-|    materialName|材料名称(列表展示字段)|string||
-|    necessity|必要性:必填/可选/容缺|string||
-|  size||integer(int64)||
-|  total||integer(int64)||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": {
- "current": 0,
- "pages": 0,
- "records": [
- {
- "areaCode": "",
- "id": 0,
- "isAllScenario": 0,
- "materialDesc": "",
- "materialName": "",
- "necessity": ""
- }
- ],
- "size": 0,
- "total": 0
- },
- "msg": "",
- "success": true
-}
-```
-
-
-## 详情
-
-
-**接口地址**:`/implement/gdMaterial/detail`
-
-
-**请求方式**:`GET`
-
-
-**请求数据类型**:`application/x-www-form-urlencoded`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入gdMaterial</p>
-
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|id|主键|query|true|integer(int64)||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R«GdMaterialVO»|
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|GdMaterialVO|GdMaterialVO|
-|  areaCode|区域编码|string||
-|  id|主键id|integer(int64)||
-|  isAllScenario|是否适用全部情形:1是 0否|integer(int32)||
-|  materialDesc|材料说明|string||
-|  materialName|材料名称(列表展示字段)|string||
-|  necessity|必要性:必填/可选/容缺|string||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": {
- "areaCode": "",
- "id": 0,
- "isAllScenario": 0,
- "materialDesc": "",
- "materialName": "",
- "necessity": ""
- },
- "msg": "",
- "success": true
-}
-```
-
-
-## 新增或修改
-
-
-**接口地址**:`/implement/gdMaterial/submit`
-
-
-**请求方式**:`POST`
-
-
-**请求数据类型**:`application/json`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入gdMaterial</p>
-
-
-
-**请求示例**:
-
-
-```javascript
-{
- "areaCode": "",
- "id": 0,
- "isAllScenario": 0,
- "materialDesc": "",
- "materialName": "",
- "necessity": ""
-}
-```
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|gdMaterial|gdMaterial|body|true|GdMaterialDTO|GdMaterialDTO|
-|  areaCode|区域编码||false|string||
-|  id|主键id||false|integer(int64)||
-|  isAllScenario|是否适用全部情形:1是 0否||false|integer(int32)||
-|  materialDesc|材料说明||false|string||
-|  materialName|材料名称(列表展示字段)||false|string||
-|  necessity|必要性:必填/可选/容缺||false|string||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R|
-|201|Created||
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|object||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": {},
- "msg": "",
- "success": true
-}
-```
-
-
-## 逻辑删除
-
-
-**接口地址**:`/implement/gdMaterial/remove`
-
-
-**请求方式**:`POST`
-
-
-**请求数据类型**:`application/json`
-
-
-**响应数据类型**:`*/*`
-
-
-**接口描述**:<p>传入ids</p>
-
-
-
-**请求参数**:
-
-
-**请求参数**:
-
-
-| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
-| -------- | -------- | ----- | -------- | -------- | ------ |
-|ids|主键集合|query|true|string||
-
-
-**响应状态**:
-
-
-| 状态码 | 说明 | schema |
-| -------- | -------- | ----- |
-|200|OK|R|
-|201|Created||
-|401|Unauthorized||
-|403|Forbidden||
-|404|Not Found||
-
-
-**响应参数**:
-
-
-| 参数名称 | 参数说明 | 类型 | schema |
-| -------- | -------- | ----- |----- |
-|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|object||
-|msg|返回消息|string||
-|success|是否成功|boolean||
-
-
-**响应示例**:
-```javascript
-{
- "code": 0,
- "data": {},
- "msg": "",
- "success": true
-}
-```
\ No newline at end of file
diff --git a/applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue b/applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue
index 8830de9..b8a62bb 100644
--- a/applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue
+++ b/applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue
@@ -93,7 +93,7 @@
</div>
<!-- 编辑模式 -->
- <el-form class="gd-dialog-form" v-else ref="formRef" :model="formData" :rules="rules" label-width="110px">
+ <el-form class="gd-dialog-form" v-else ref="formRef" :model="formData" :rules="rules" label-width="130px">
<div class="detail-title">巡查任务详情</div>
<el-row>
<el-col :span="12">
diff --git a/applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue b/applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue
index 42cb618..51a743a 100644
--- a/applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue
+++ b/applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue
@@ -108,7 +108,6 @@
<el-form-item label="执行时间" prop="executeStartTime">
<el-date-picker
class="gd-date-picker"
- popper-class="gd-date-picker-popper"
v-model="dateRange"
type="daterange"
range-separator="至"
diff --git a/applications/task-work-order/vite.config.mjs b/applications/task-work-order/vite.config.mjs
index 831ff6c..2731f16 100644
--- a/applications/task-work-order/vite.config.mjs
+++ b/applications/task-work-order/vite.config.mjs
@@ -68,7 +68,7 @@
preprocessorOptions: {
scss: {
api: 'modern-compiler',
- additionalData: `@use "@/styles/variables.scss" as *;`,
+ additionalData: `@use "@/styles/variables.scss" as *; @use "@/styles/element/index.scss" as *;`,
},
},
postcss: {
--
Gitblit v1.9.3