Browse Source

修改字段

master
李达明 1 month ago
parent
commit
e53ab85149
  1. 10
      .env.prod
  2. 18
      .env.test
  3. 50
      .env.wyf
  4. 10
      src/views/ccwin/eqBlender/eqBlender.data.ts
  5. 10
      src/views/ccwin/eqCoater/eqCoater.data.ts
  6. 10
      src/views/ccwin/eqFine/eqFine.data.ts
  7. 10
      src/views/ccwin/eqPre/eqPre.data.ts
  8. 10
      src/views/ccwin/eqRollsqueezer/eqRollsqueezer.data.ts
  9. 10
      src/views/ccwin/eqStacking/eqStacking.data.ts
  10. 10
      src/views/ccwin/paAc/paAc.data.ts
  11. 37
      src/views/ccwin/paDhu/paDhu.data.ts
  12. 10
      src/views/ccwin/paLoopwater/paLoopwater.data.ts
  13. 10
      src/views/ccwin/paRo/paRo.data.ts
  14. 37
      src/views/ccwin/paVacuo/paVacuo.data.ts
  15. 10
      src/views/ccwin/paWastewater/paWastewater.data.ts

10
.env.prod

@ -4,10 +4,10 @@ NODE_ENV=production
VITE_DEV=false VITE_DEV=false
# 请求路径 # 请求路径
VITE_BASE_URL='http://dev.ccwin-in.com:25300/api' VITE_BASE_URL='http://10.56.17.106:25111'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://dev.ccwin-in.com:25300/api/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://10.56.17.106:25111/api/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH= VITE_API_BASEPATH=
@ -28,13 +28,13 @@ VITE_SOURCEMAP=false
VITE_BASE_PATH=/ VITE_BASE_PATH=/
# 输出路径 # 输出路径
VITE_OUT_DIR=sfms3.0-ui VITE_OUT_DIR=sfms3.0-ui-prod
# 自定义接口路径 # 自定义接口路径
VITE_INTERFACE_URL='http://dev.ccwin-in.com:25310/magic/web/index.html' VITE_INTERFACE_URL='http://10.56.17.106:25111/magic/web/index.html'
# 积木报表请求路径 # 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25310' VITE_JMREPORT_BASE_URL='http://10.56.17.106:25111'
# 租户配置 # 租户配置
VITE_TENANT='["东驰新能源"]' VITE_TENANT='["东驰新能源"]'

18
.env.test

@ -4,10 +4,11 @@ NODE_ENV=test
VITE_DEV=false VITE_DEV=false
# 请求路径 # 请求路径
VITE_BASE_URL='http://dev.ccwin-in.com:29000/api' VITE_BASE_URL='http://10.56.17.106:25111'
#VITE_BASE_URL='http://dev.ccwin-in.com:25111'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://dev.ccwin-in.com:29000/api/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://10.56.17.106:25111/api/admin-api/infra/file/upload'
#VITE_UPLOAD_URL='http://dev.ccwin-in.com:25111/api/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH= VITE_API_BASEPATH=
@ -28,16 +29,17 @@ VITE_SOURCEMAP=false
VITE_BASE_PATH=/ VITE_BASE_PATH=/
# 输出路径 # 输出路径
VITE_OUT_DIR=sfms3.0-ui VITE_OUT_DIR=sfms3.0-ui-test
# 自定义接口路径 # 自定义接口路径
VITE_INTERFACE_URL='http://dev.ccwin-in.com:29000/magic/web/index.html' VITE_INTERFACE_URL='http://10.56.17.106:25111/magic/web/index.html'
#VITE_INTERFACE_URL='http://dev.ccwin-in.com:25111/magic/web/index.html'
# 积木报表请求路径 # 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:29000' VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25111'
# 租户配置 # 租户配置
VITE_TENANT='["长春","成都"]' VITE_TENANT='["东驰新能源"]'
# 查看质检报告环境 # 查看质检报告环境
VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400' VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400'
@ -47,4 +49,4 @@ VITE_NEED_CODE = true
# 是否需要下载PDA链接 # 是否需要下载PDA链接
VITE_PDA_URL = true VITE_PDA_URL = true

50
.env.wyf

@ -1,46 +1,64 @@
# 开发环境 # 生产环境
NODE_ENV=development NODE_ENV=test
VITE_DEV=false VITE_DEV=false
# 请求路径 # # 请求路径
VITE_BASE_URL='http://192.168.0.105:12080' # VITE_BASE_URL='http://192.168.0.113:12080'
# # 上传路径
# VITE_UPLOAD_URL='http://192.168.0.113:12080/admin-api/infra/file/upload'
# # 请求路径
# VITE_BASE_URL='https://scp.faway-hella.com/api'
# # 上传路径
# VITE_UPLOAD_URL='https://scp.faway-hella.com/api/admin-api/infra/file/upload'
# 请求路径
VITE_BASE_URL='http://172.21.32.13/api'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://192.168.0.105:12080/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://172.21.32.13/api/admin-api/infra/file/upload'
# # 请求路径
# VITE_BASE_URL='http://dev.ccwin-in.com:25300/api'
# # 上传路径
# VITE_UPLOAD_URL='http://dev.ccwin-in.com:25300/api/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH=/dev-api VITE_API_BASEPATH=
# 接口地址 # 接口地址
VITE_API_URL=/admin-api VITE_API_URL=/admin-api
# 打包路径
VITE_BASE_PATH=/
# 是否删除debugger # 是否删除debugger
VITE_DROP_DEBUGGER=true VITE_DROP_DEBUGGER=true
# 是否删除console.log # 是否删除console.log
VITE_DROP_CONSOLE=false VITE_DROP_CONSOLE=true
# 是否sourcemap # 是否sourcemap
VITE_SOURCEMAP=false VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 输出路径 # 输出路径
VITE_OUT_DIR=dist VITE_OUT_DIR=sfms3.0
# # 自定义接口路径
# VITE_INTERFACE_URL='http://192.168.0.108:12080/magic/web/index.html'
# # 积木报表请求路径
# VITE_JMREPORT_BASE_URL='http://192.168.0.108:12080'
# 自定义接口路径 # 自定义接口路径
VITE_INTERFACE_URL='http://localhost:12080/magic/web/index.html' VITE_INTERFACE_URL='http://dev.ccwin-in.com:25310/magic/web/index.html'
# 积木报表请求路径 # 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://localhost:12080' VITE_JMREPORT_BASE_URL='http://192.168.0.108:12080'
# 租户配置 # 租户配置
VITE_TENANT='["东驰新能源"]' VITE_TENANT='["东驰新能源"]'
# 查看质检报告环境 # 查看质检报告环境
VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400' VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400'
# 是否需要验证码
VITE_NEED_CODE = false

10
src/views/ccwin/eqBlender/eqBlender.data.ts

@ -22,7 +22,7 @@ export const EqBlender = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const EqBlender = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

10
src/views/ccwin/eqCoater/eqCoater.data.ts

@ -22,7 +22,7 @@ export const EqCoater = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const EqCoater = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

10
src/views/ccwin/eqFine/eqFine.data.ts

@ -22,7 +22,7 @@ export const EqFine = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const EqFine = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

10
src/views/ccwin/eqPre/eqPre.data.ts

@ -22,7 +22,7 @@ export const EqPre = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const EqPre = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

10
src/views/ccwin/eqRollsqueezer/eqRollsqueezer.data.ts

@ -22,7 +22,7 @@ export const EqRollsqueezer = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const EqRollsqueezer = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

10
src/views/ccwin/eqStacking/eqStacking.data.ts

@ -22,7 +22,7 @@ export const EqStacking = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const EqStacking = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

10
src/views/ccwin/paAc/paAc.data.ts

@ -22,7 +22,7 @@ export const PaAc = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const PaAc = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

37
src/views/ccwin/paDhu/paDhu.data.ts

@ -1,4 +1,5 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
// 表单校验 // 表单校验
export const PaDhuRules = reactive({ export const PaDhuRules = reactive({
}) })
@ -29,32 +30,32 @@ export const PaDhu = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
// }, },
// { {
// label: '创建时间', label: '创建时间',
// field: 'createTime', field: 'createTime',
// sort: 'custom', sort: 'custom',
// formatter: dateFormatter, formatter: dateFormatter,
// isSearch: true, isSearch: true,
// search: { search: {
// component: 'DatePicker', component: 'DatePicker',
// componentProps: { componentProps: {
// valueFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'YYYY-MM-DD HH:mm:ss',
// type: 'daterange', type: 'daterange',
// defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
// } }
// }, },
// isForm: false, isForm: false,
// }, // },
// { // {
// label: '操作', // label: '操作',

10
src/views/ccwin/paLoopwater/paLoopwater.data.ts

@ -22,7 +22,7 @@ export const PaLoopwater = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const PaLoopwater = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

10
src/views/ccwin/paRo/paRo.data.ts

@ -22,7 +22,7 @@ export const PaRo = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const PaRo = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

37
src/views/ccwin/paVacuo/paVacuo.data.ts

@ -1,4 +1,5 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
// 表单校验 // 表单校验
export const PaVacuoRules = reactive({ export const PaVacuoRules = reactive({
@ -30,32 +31,32 @@ export const PaVacuo = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
// }, },
// { {
// label: '创建时间', label: '创建时间',
// field: 'createTime', field: 'createTime',
// sort: 'custom', sort: 'custom',
// formatter: dateFormatter, formatter: dateFormatter,
// isSearch: true, isSearch: true,
// search: { search: {
// component: 'DatePicker', component: 'DatePicker',
// componentProps: { componentProps: {
// valueFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'YYYY-MM-DD HH:mm:ss',
// type: 'daterange', type: 'daterange',
// defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
// } }
// }, },
// isForm: false, isForm: false,
// }, // },
// { // {
// label: '操作', // label: '操作',

10
src/views/ccwin/paWastewater/paWastewater.data.ts

@ -22,7 +22,7 @@ export const PaWastewater = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据点名称', label: '数据点名称',
field: 'iname', field: 'iname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '采集值', label: '采集值',
@ -31,16 +31,16 @@ export const PaWastewater = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false, isSearch: false,
}, },
{ {
label: '仪表的编号', label: '设备编号',
field: 'mcode', field: 'mcode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '仪表的名称', label: '设备名称',
field: 'mname', field: 'mname',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '创建时间', label: '创建时间',

Loading…
Cancel
Save