董国庆
2026-06-17 faad667e40f42d7bbcd8fbdce2560162fe4edf87
文本域样式/地图样式/测试工作台 状态样式保持一致于地图
9个文件已修改
52 ■■■■■ 已修改文件
src/views/businessOperations/operationWorkbench/components/FencePanel.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/operationWorkbench/components/PointPanel.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/operationWorkbench/components/StationPanel.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/operationWorkbench/map.scss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/testDemo/operationWorkbench/components/FencePanel.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/testDemo/operationWorkbench/components/PointPanel.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/testDemo/operationWorkbench/components/StationPanel.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/testDemo/operationWorkbench/list.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/testDemo/operationWorkbench/map.scss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/operationWorkbench/components/FencePanel.vue
@@ -571,7 +571,10 @@
                  type="textarea"
                  maxlength="200"
                  show-count
                  clearable
                  :theme-overrides="{
                    countTextColor: 'rgba(23, 31, 38, 0.3)',
                    countTextColorDisabled: 'rgba(23, 31, 38, 0.3)',
                  }"
                  :disabled="isLocked"
                />
              </n-form-item>
src/views/businessOperations/operationWorkbench/components/PointPanel.vue
@@ -352,6 +352,10 @@
                type="textarea"
                maxlength="500"
                show-count
                :theme-overrides="{
                  countTextColor: 'rgba(23, 31, 38, 0.3)',
                  countTextColorDisabled: 'rgba(23, 31, 38, 0.3)',
                }"
                :autosize="{ minRows: 3, maxRows: 5 }"
                :placeholder="remarkRequired ? '请输入测试不通过原因' : '请输入备注'"
              />
src/views/businessOperations/operationWorkbench/components/StationPanel.vue
@@ -415,7 +415,10 @@
                type="textarea"
                maxlength="200"
                show-count
                clearable
                :theme-overrides="{
                  countTextColor: 'rgba(23, 31, 38, 0.3)',
                  countTextColorDisabled: 'rgba(23, 31, 38, 0.3)',
                }"
              />
            </div>
          </div>
src/views/businessOperations/operationWorkbench/map.scss
@@ -659,7 +659,7 @@
  height: 100%;
  min-height: 640px;
  border: 1px solid #e4e7ec;
  border-radius: 20px;
  border-radius: 0;
  background: #eef2f6;
  overflow: hidden;
}
src/views/testDemo/operationWorkbench/components/FencePanel.vue
@@ -562,7 +562,10 @@
                  type="textarea"
                  maxlength="200"
                  show-count
                  clearable
                  :theme-overrides="{
                    countTextColor: 'rgba(23, 31, 38, 0.3)',
                    countTextColorDisabled: 'rgba(23, 31, 38, 0.3)',
                  }"
                  :disabled="isLocked"
                />
              </n-form-item>
src/views/testDemo/operationWorkbench/components/PointPanel.vue
@@ -236,6 +236,10 @@
                type="textarea"
                maxlength="500"
                show-count
                :theme-overrides="{
                  countTextColor: 'rgba(23, 31, 38, 0.3)',
                  countTextColorDisabled: 'rgba(23, 31, 38, 0.3)',
                }"
                :autosize="{ minRows: 3, maxRows: 5 }"
                :placeholder="remarkRequired ? '请输入测试不通过原因' : '请输入备注'"
              />
src/views/testDemo/operationWorkbench/components/StationPanel.vue
@@ -415,7 +415,10 @@
                type="textarea"
                maxlength="200"
                show-count
                clearable
                :theme-overrides="{
                  countTextColor: 'rgba(23, 31, 38, 0.3)',
                  countTextColorDisabled: 'rgba(23, 31, 38, 0.3)',
                }"
              />
            </div>
          </div>
src/views/testDemo/operationWorkbench/list.vue
@@ -29,6 +29,7 @@
import sortAsc from '@/assets/geofence/sort2.png'
import sortDesc from '@/assets/geofence/sort3.png'
import moreIcon from '@/assets/element-img/more.png'
import { getFenceWorkbenchStatusText } from './status'
const { hasPermission } = usePermission()
@@ -373,16 +374,8 @@
  }
}
function getFenceStatusText(status: number) {
  if (Number(status) === 0)
    return '草稿'
  if (Number(status) === 1)
    return '待生效'
  if (Number(status) === 2)
    return '启用中'
  if (Number(status) === 3)
    return '已停用'
  return '-'
function getFenceStatusText(item: any) {
  return getFenceWorkbenchStatusText(item?.flowStatus, item?.status)
}
function getStationStatusText(item: any) {
@@ -1898,12 +1891,11 @@
      {
        title: '状态',
        key: 'status',
        width: 80,
        width: 110,
        resizable: true,
        render(row) {
          const statusText = getFenceStatusText(row.status)
          const type = getFenceTagType(row.status)
          return <NTag type={type} bordered={false}>{statusText}</NTag>
          const statusText = getFenceStatusText(row)
          return renderPointStatusTag(statusText)
        },
      },
      {
src/views/testDemo/operationWorkbench/map.scss
@@ -661,7 +661,7 @@
  height: 100%;
  min-height: 640px;
  border: 1px solid #e4e7ec;
  border-radius: 20px;
  border-radius: 0;
  background: #eef2f6;
  overflow: hidden;
}