diff --git a/src/apis/container.ts b/src/apis/container.ts index f827a06..0122b0d 100644 --- a/src/apis/container.ts +++ b/src/apis/container.ts @@ -1,5 +1,5 @@ import http from 'libs/http' -export const getContainerList = (): Promise> => http.get(`/container/list`) +export const getContainerList = (): Promise => http.get(`/container/list`) export const updateContainer = (params: Container.ContainerItem): Promise => http.put(`/container`, params) diff --git a/src/components/craft/AddCraftDialog.vue b/src/components/craft/AddCraftDialog.vue index 2172ce0..07bed27 100644 --- a/src/components/craft/AddCraftDialog.vue +++ b/src/components/craft/AddCraftDialog.vue @@ -224,7 +224,7 @@ defineExpose({ 取消 - + 确定 diff --git a/src/components/craft/CraftStatus.vue b/src/components/craft/CraftStatus.vue index 4e63277..6e4403a 100644 --- a/src/components/craft/CraftStatus.vue +++ b/src/components/craft/CraftStatus.vue @@ -158,7 +158,7 @@ defineExpose({
工艺执行状态
-
+
{{ item.oresName }} {{ item.craftsName }} @@ -198,16 +198,21 @@ defineExpose({ height: 50vh; max-height: 50vh; overflow: auto; - padding: 20px; + padding: 10px; + } + .state-back{ + background: #0d0d0d; + color: #0f0; + border-radius: 10px; } .state-span{ padding-left: 10px; } .state-log-label{ font-weight: 600; - font-size: .875rem; + font-size: 10px; } .state-log-text{ - font-size: .875rem; + font-size: 10px; } diff --git a/src/types/user.d.ts b/src/types/user.d.ts index 5c51922..9f2c8cf 100644 --- a/src/types/user.d.ts +++ b/src/types/user.d.ts @@ -16,7 +16,7 @@ declare namespace User { nickname: string | number password: string | number role: string | number - fixedUser: string | number + fixedUser?: string | number deleted: string | number } diff --git a/src/views/container/index.vue b/src/views/container/index.vue index 05cf606..ef46af6 100644 --- a/src/views/container/index.vue +++ b/src/views/container/index.vue @@ -29,7 +29,7 @@ const querySolutionList = async () => { const queryContainerList = () => { getContainerList().then((res) => { if (res) { - const list: Container.ContainerItem[] = res.list + const list: Container.ContainerItem[] = res const solutionList: Container.ContainerItem[] = [] list.forEach((item, index) => { // 只有8种,不会多也不会少, 多的不要 diff --git a/src/views/container/liquidItem.vue b/src/views/container/liquidItem.vue index e965b0d..b1125e0 100644 --- a/src/views/container/liquidItem.vue +++ b/src/views/container/liquidItem.vue @@ -139,7 +139,7 @@ const onSubmitSolution = () => { 取消 - + 确认
@@ -197,7 +197,7 @@ const onSubmitSolution = () => { width: 15vw; } .footer { - margin-top: 4rem; + margin-top: 3rem; line-height: 20px; } .footer-content{ diff --git a/src/views/craft/index.vue b/src/views/craft/index.vue index d973a10..f989ad0 100644 --- a/src/views/craft/index.vue +++ b/src/views/craft/index.vue @@ -145,10 +145,10 @@ const returnOre = () => { diff --git a/src/views/ore/index.vue b/src/views/ore/index.vue index 8115474..a2bdd88 100644 --- a/src/views/ore/index.vue +++ b/src/views/ore/index.vue @@ -133,10 +133,10 @@ const onShowCraft = () => {
- + 添加矿石 - + 编辑矿石 @@ -165,7 +165,7 @@ const onShowCraft = () => {
- +
@@ -175,7 +175,7 @@ const onShowCraft = () => { 取消 - + 确定
diff --git a/src/views/solution/index.vue b/src/views/solution/index.vue index 68d1906..c01fdee 100644 --- a/src/views/solution/index.vue +++ b/src/views/solution/index.vue @@ -106,10 +106,10 @@ const closeDialog = () => {