|
@ -14,7 +14,7 @@ import DragBar from "@/components/DragBar"; |
|
|
import { getWorkshopName, getWorkshopList } from "@/server/base.js"; |
|
|
import { getWorkshopName, getWorkshopList } from "@/server/base.js"; |
|
|
import { getStanderOne } from "@/server/api.js"; |
|
|
import { getStanderOne } from "@/server/api.js"; |
|
|
import { getColumnName, mappingText, permissions } from "@/utils/allField.js"; |
|
|
import { getColumnName, mappingText, permissions } from "@/utils/allField.js"; |
|
|
import { calculationTableHeight } from "@/utils/tableHeight.js"; |
|
|
|
|
|
|
|
|
import { calculationTableHeight, saveRowWidth, getRowWidth } from "@/utils/tableHeight.js"; |
|
|
import { dragChangeSize } from "@/utils/dragChangeSize.js"; |
|
|
import { dragChangeSize } from "@/utils/dragChangeSize.js"; |
|
|
import SvgIcon from '@/components/SvgIcon' // svg组件
|
|
|
import SvgIcon from '@/components/SvgIcon' // svg组件
|
|
|
import SearchTemplate from "@/components/SearchTemplate.vue"; |
|
|
import SearchTemplate from "@/components/SearchTemplate.vue"; |
|
@ -43,7 +43,10 @@ app.config.globalProperties.getWorkshopList = getWorkshopList; // 获取工厂 |
|
|
app.config.globalProperties.getWorkshopName = getWorkshopName; // 获取工厂名称
|
|
|
app.config.globalProperties.getWorkshopName = getWorkshopName; // 获取工厂名称
|
|
|
app.config.globalProperties.transFormat = transFormat; // 秒转化HH:ss
|
|
|
app.config.globalProperties.transFormat = transFormat; // 秒转化HH:ss
|
|
|
app.config.globalProperties.timeTransSeconds = timeTransSeconds; // 时间转化为秒
|
|
|
app.config.globalProperties.timeTransSeconds = timeTransSeconds; // 时间转化为秒
|
|
|
|
|
|
app.config.globalProperties.getRowWidth = getRowWidth; // table读取列宽
|
|
|
|
|
|
app.config.globalProperties.saveRowWidth = saveRowWidth; // table保存列宽
|
|
|
app.config.globalProperties.calculationTableHeight = calculationTableHeight; // table固定高度计算
|
|
|
app.config.globalProperties.calculationTableHeight = calculationTableHeight; // table固定高度计算
|
|
|
|
|
|
|
|
|
app.config.globalProperties.dragChangeSize = dragChangeSize; // table固定高度计算
|
|
|
app.config.globalProperties.dragChangeSize = dragChangeSize; // table固定高度计算
|
|
|
app.config.globalProperties.msgSuccess = function (msg) { |
|
|
app.config.globalProperties.msgSuccess = function (msg) { |
|
|
this.$message({ showClose: true, message: msg, type: "success" }); |
|
|
this.$message({ showClose: true, message: msg, type: "success" }); |
|
|