Browse Source

修复样式问题

feature/three
LiLongLong 3 months ago
parent
commit
bc51611bdc
  1. 3
      src/components/craft/AddCraftDialog.vue
  2. 3
      src/components/craft/CraftStatus.vue
  3. 6
      src/views/ore/index.vue
  4. 6
      src/views/solution/index.vue
  5. 4
      src/views/user/index.vue

3
src/components/craft/AddCraftDialog.vue

@ -237,7 +237,7 @@ defineExpose({
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.4rem;
width: 12.5rem;
width: 10rem;
place-items: center;
height: 3rem;
}
@ -245,6 +245,7 @@ defineExpose({
.transfer-right{
max-height: 40vh;
overflow: auto;
width:30rem;
}
.step-content{

3
src/components/craft/CraftStatus.vue

@ -68,7 +68,7 @@ const loading = ref(false)
const queryCraftStatus = () => {
loading.value = true
craftstatus().then((res) => {
console.log('rs====', res)
loading.value = false
if (res && res.length) {
const uniqueData: CraftTypes.CraftState[] = []
const idMap: Record<string | number, string | boolean> = {}
@ -95,7 +95,6 @@ const queryCraftStatusByHeatId = (heatId: string) => {
if (res.state === 'FINISHED' || res.state === 'ERROR') {
clearInterval(byHeatIdTimes.value)
}
loading.value = false
onHandleSteps(res.steps)
scrollToBottom()
})

6
src/views/ore/index.vue

@ -54,7 +54,7 @@ const onEditOre = () => {
const onDelOre = () => {
if (!selectedList.value.length) {
ElMessage.warning('请选择要编辑的数据')
ElMessage.warning('请选择要删除的数据')
return
}
ElMessageBox.confirm(
@ -165,10 +165,10 @@ const onShowCraft = () => {
</el-table>
<!-- <FtTable :columns="columns" has-header :btn-list="btnList" :get-data-fn="queryOresList" /> -->
</div>
<FtDialog v-model="visible" title="添加矿石" style="width:25vw; height:25vh">
<FtDialog v-model="visible" title="添加矿石" width="30%">
<div class="add-content">
<label>矿石名称</label>
<span><el-input v-model="name" style="width:200px" /></span>
<span><el-input v-model="name" placeholder="矿石名称" style="width:200px" /></span>
</div>
<template #footer>
<div class="footer">

6
src/views/solution/index.vue

@ -42,7 +42,7 @@ const editSolution = () => {
const delSolution = () => {
if (!selectedList.value.length) {
ElMessage.warning('请选择要编辑的数据')
ElMessage.warning('请选择要删除的数据')
return
}
ElMessageBox.confirm(
@ -125,10 +125,10 @@ const closeDialog = () => {
<el-table-column prop="updateTime" label="更新时间" />
</el-table>
</div>
<FtDialog v-model="visible" title="添加溶液" style="width:25vw; height:25vh">
<FtDialog v-model="visible" title="添加溶液" width="30%">
<div class="add-content">
<label>溶液名称</label>
<span><el-input v-model="name" style="width:200px" /></span>
<span><el-input v-model="name" placeholder="溶液名称" style="width:200px" /></span>
</div>
<template #footer>
<div class="footer">

4
src/views/user/index.vue

@ -43,7 +43,7 @@ const editUser = () => {
}
const onDelUser = () => {
if (!selectedList.value.length) {
ElMessage.warning('请选择要编辑的数据')
ElMessage.warning('请选择要删除的数据')
return
}
ElMessageBox.confirm(
@ -154,7 +154,7 @@ const doSave = () => {
<el-table-column prop="updateTime" label="更新时间" />
</el-table>
</div>
<FtDialog v-model="visible" title="添加用户" style="width:35vw;">
<FtDialog v-model="visible" title="添加用户" width="30%">
<div>
<el-form ref="userFormRef" :model="userForm" label-width="auto" style="max-width: 600px">
<el-form-item

Loading…
Cancel
Save