|
@@ -4,49 +4,15 @@
|
|
|
<div class="head-opt flex-1 flex justify-between items-center" style="margin-left: 0px">
|
|
<div class="head-opt flex-1 flex justify-between items-center" style="margin-left: 0px">
|
|
|
<div>
|
|
<div>
|
|
|
<!-- <span>场景:</span> -->
|
|
<!-- <span>场景:</span> -->
|
|
|
- <!-- <el-select
|
|
|
|
|
- v-model="selectedCompany"
|
|
|
|
|
- class="m-2"
|
|
|
|
|
- placeholder="请选择相关公司"
|
|
|
|
|
- style="width: 216px"
|
|
|
|
|
- @change="changeCompany"
|
|
|
|
|
- >
|
|
|
|
|
- <el-option
|
|
|
|
|
- v-for="item in scenesInfos"
|
|
|
|
|
- :key="item.id"
|
|
|
|
|
- :label="item.name"
|
|
|
|
|
- :value="item.id"
|
|
|
|
|
- />
|
|
|
|
|
- </el-select> -->
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- <!-- <div v-if="selectedCompany" style="display: flex">
|
|
|
|
|
- <div style="display: flex">
|
|
|
|
|
- <div class="label-workshop" style="margin-left: 0px">选择标签:</div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <el-radio-group
|
|
|
|
|
- v-model="label"
|
|
|
|
|
- :border="true"
|
|
|
|
|
- style="display: flex"
|
|
|
|
|
- @change="changeShop"
|
|
|
|
|
- >
|
|
|
|
|
- <el-radio-button
|
|
|
|
|
- v-for="item in labelList"
|
|
|
|
|
- :key="item.id"
|
|
|
|
|
- :label="item.id!"
|
|
|
|
|
- class="label-select"
|
|
|
|
|
- >{{ item.name }}</el-radio-button
|
|
|
|
|
- >
|
|
|
|
|
- </el-radio-group></div
|
|
|
|
|
- >
|
|
|
|
|
- </div>
|
|
|
|
|
- </div> -->
|
|
|
|
|
<div class="top-bar">
|
|
<div class="top-bar">
|
|
|
- <div class="back-btn" @click="router.back">
|
|
|
|
|
- <img src="@/assets/rollback.png" />
|
|
|
|
|
- <span>返回</span>
|
|
|
|
|
|
|
+ <div class="back-and-company">
|
|
|
|
|
+ <div class="back" @click="router.back">
|
|
|
|
|
+ <img src="@/assets/rollback.png" />
|
|
|
|
|
+ <span>返回</span>
|
|
|
|
|
+ </div>
|
|
|
<div class="company-name">{{ companyName }}</div>
|
|
<div class="company-name">{{ companyName }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <!-- <el-button @click="toJson">tojson</el-button> -->
|
|
|
|
|
<div class="operation-btns">
|
|
<div class="operation-btns">
|
|
|
<el-upload
|
|
<el-upload
|
|
|
class="avatar-uploader"
|
|
class="avatar-uploader"
|
|
@@ -62,7 +28,7 @@
|
|
|
<el-button :icon="Refresh"> 替换照片 </el-button>
|
|
<el-button :icon="Refresh"> 替换照片 </el-button>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
|
|
|
|
|
- <el-button :icon="Refresh" @click="clearLayout"> 重置 </el-button>
|
|
|
|
|
|
|
+ <el-button :icon="Refresh" @click="clearLayout"> 重置布局 </el-button>
|
|
|
|
|
|
|
|
<el-button @click="handleSave" type="primary" :disabled="!companyId"> 保存 </el-button>
|
|
<el-button @click="handleSave" type="primary" :disabled="!companyId"> 保存 </el-button>
|
|
|
</div>
|
|
</div>
|
|
@@ -81,9 +47,6 @@
|
|
|
:suffix-icon="Search"
|
|
:suffix-icon="Search"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
- <!-- <span v-if="filterShopList.length == 0" class="ml-1" style="color: #3f3f3f">
|
|
|
|
|
- 提示:请先选择相应公司和图片
|
|
|
|
|
- </span> -->
|
|
|
|
|
<el-scrollbar style="position: relative; height: calc(100% - 90px)">
|
|
<el-scrollbar style="position: relative; height: calc(100% - 90px)">
|
|
|
<div
|
|
<div
|
|
|
v-for="item in filterShopList"
|
|
v-for="item in filterShopList"
|
|
@@ -101,12 +64,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div ref="drawContainer" id="drawContainer" class="draw-container">
|
|
<div ref="drawContainer" id="drawContainer" class="draw-container">
|
|
|
<div id="shopEditContainer" v-moveable:1 class="shop-edit-container">
|
|
<div id="shopEditContainer" v-moveable:1 class="shop-edit-container">
|
|
|
- <MapContainer
|
|
|
|
|
- ref="mapContainerRef"
|
|
|
|
|
- :is-mobile-view="isMobileView"
|
|
|
|
|
- :module-code="labelMouduleCode"
|
|
|
|
|
- @on-open="openConfig"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <MapContainer ref="mapContainerRef" :is-mobile-view="isMobileView" />
|
|
|
</div>
|
|
</div>
|
|
|
<el-upload
|
|
<el-upload
|
|
|
v-if="!hasBg"
|
|
v-if="!hasBg"
|
|
@@ -121,39 +79,15 @@
|
|
|
:headers="getHeaders()"
|
|
:headers="getHeaders()"
|
|
|
>
|
|
>
|
|
|
<img src="~@/assets/images/img-upload.png" />
|
|
<img src="~@/assets/images/img-upload.png" />
|
|
|
|
|
+ <div class="upload-tips-text"
|
|
|
|
|
+ >请上传1920*1080尺寸的布局背景图,其他尺寸会影响布局准确性!
|
|
|
|
|
+ </div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="shop-tag-edit-area" v-if="hasBg">
|
|
<div class="shop-tag-edit-area" v-if="hasBg">
|
|
|
<ShopTagEditArea @transformer-change="transformChange" />
|
|
<ShopTagEditArea @transformer-change="transformChange" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <!-- <el-tooltip
|
|
|
|
|
- class="box-item position-tooltip"
|
|
|
|
|
- effect="dark"
|
|
|
|
|
- content="显示侧边栏"
|
|
|
|
|
- :offset="12"
|
|
|
|
|
- placement="left"
|
|
|
|
|
- >
|
|
|
|
|
- <div
|
|
|
|
|
- v-if="leftShow && activeShopId && !isMobileView && activeShopId != -1"
|
|
|
|
|
- class="circle-rectangle"
|
|
|
|
|
- :class="{ 'shape-shadow': shadow }"
|
|
|
|
|
- @mouseover="shadowAdd"
|
|
|
|
|
- @mouseout="shadowRemove"
|
|
|
|
|
- @click="dialogReopen"
|
|
|
|
|
- >
|
|
|
|
|
- <el-icon class="left-icon" size="16px"><ArrowLeftBold /></el-icon>
|
|
|
|
|
- <el-icon style="margin-top: 7px" size="16px"><ArrowLeftBold /></el-icon>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-tooltip> -->
|
|
|
|
|
-
|
|
|
|
|
- <!-- <ConfigDialog
|
|
|
|
|
- v-if="!isMobileView"
|
|
|
|
|
- ref="configDrawer"
|
|
|
|
|
- @on-close="onClose"
|
|
|
|
|
- @transformer-change="transformChange"
|
|
|
|
|
- class="drawer-position"
|
|
|
|
|
- /> -->
|
|
|
|
|
|
|
|
|
|
<ConfigFinish
|
|
<ConfigFinish
|
|
|
:visible="visibleResult"
|
|
:visible="visibleResult"
|
|
@@ -165,10 +99,9 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
- import ConfigDialog from './component/ConfigDrawer.vue';
|
|
|
|
|
import ConfigFinish from './component/ConfigFinish.vue';
|
|
import ConfigFinish from './component/ConfigFinish.vue';
|
|
|
import { storeToRefs } from 'pinia';
|
|
import { storeToRefs } from 'pinia';
|
|
|
- import { ElMessage, ElInput, ElSwitch, ElMessageBox } from 'element-plus';
|
|
|
|
|
|
|
+ import { ElMessage, ElInput, ElMessageBox } from 'element-plus';
|
|
|
import { onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue';
|
|
import { onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue';
|
|
|
import { getWorkshopListApi } from '@/api/scene/scene';
|
|
import { getWorkshopListApi } from '@/api/scene/scene';
|
|
|
import { computed } from 'vue';
|
|
import { computed } from 'vue';
|
|
@@ -182,17 +115,18 @@
|
|
|
import urlJoin from 'url-join';
|
|
import urlJoin from 'url-join';
|
|
|
import { useGlobSetting } from '@/hooks/setting';
|
|
import { useGlobSetting } from '@/hooks/setting';
|
|
|
import { getHeaders } from '@/utils/http/axios';
|
|
import { getHeaders } from '@/utils/http/axios';
|
|
|
- import { CompanyLayoutType, LayoutType, ShopType } from '@/types/page-config/type';
|
|
|
|
|
|
|
+ import { ShopType } from '@/types/page-config/type';
|
|
|
import ShopTagEditArea from './component/ShopTagEditArea.vue';
|
|
import ShopTagEditArea from './component/ShopTagEditArea.vue';
|
|
|
|
|
|
|
|
const mapEditor = useMapEditor();
|
|
const mapEditor = useMapEditor();
|
|
|
- const { bgImg, addedShops, activeShopId, showShops } = storeToRefs(mapEditor);
|
|
|
|
|
|
|
+ const { bgImg, addedShops, activeShopId, showShops, mapHeight, mapWidth } =
|
|
|
|
|
+ storeToRefs(mapEditor);
|
|
|
const { addShop, addBg, calcLayout, resetMap, createMap, deleteShop } = mapEditor;
|
|
const { addShop, addBg, calcLayout, resetMap, createMap, deleteShop } = mapEditor;
|
|
|
|
|
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
|
|
|
|
|
|
const pageConfig = usePageConfig();
|
|
const pageConfig = usePageConfig();
|
|
|
- const { scenesInfos, label, labelList, layoutId } = pageConfig;
|
|
|
|
|
|
|
+ const { label, layoutId } = pageConfig;
|
|
|
const { urlPrefix } = useGlobSetting();
|
|
const { urlPrefix } = useGlobSetting();
|
|
|
const drawContainer = ref<HTMLDivElement>();
|
|
const drawContainer = ref<HTMLDivElement>();
|
|
|
const mapContainerRef = ref();
|
|
const mapContainerRef = ref();
|
|
@@ -210,16 +144,17 @@
|
|
|
|
|
|
|
|
const shopList = ref<ShopType[]>([]); // 车间列表
|
|
const shopList = ref<ShopType[]>([]); // 车间列表
|
|
|
|
|
|
|
|
- // // mapContainer宽高
|
|
|
|
|
- // const mapContainerStageSize = reactive({ height: 0, width: 777 });
|
|
|
|
|
|
|
+ // mapContainer宽高
|
|
|
|
|
+ const mapContainerStageSize = reactive({ height: 0, width: 0 });
|
|
|
|
|
+ // // mapContainer缩放比例
|
|
|
|
|
+ const scale = computed(() =>
|
|
|
|
|
+ Math.min(
|
|
|
|
|
+ mapContainerStageSize.width / mapWidth.value,
|
|
|
|
|
+ mapContainerStageSize.height / mapHeight.value,
|
|
|
|
|
+ ),
|
|
|
|
|
+ );
|
|
|
|
|
|
|
|
const handleBeforeUpload = (rawFile) => {
|
|
const handleBeforeUpload = (rawFile) => {
|
|
|
- // if (!selectedCompany.value || !label.value) {
|
|
|
|
|
- // ElMessage.error({
|
|
|
|
|
- // message: '请先选择公司和标签',
|
|
|
|
|
- // });
|
|
|
|
|
- // return false;
|
|
|
|
|
- // }
|
|
|
|
|
if (
|
|
if (
|
|
|
rawFile.type !== 'image/jpg' &&
|
|
rawFile.type !== 'image/jpg' &&
|
|
|
rawFile.type !== 'image/jpeg' &&
|
|
rawFile.type !== 'image/jpeg' &&
|
|
@@ -236,18 +171,11 @@
|
|
|
return index >= 0;
|
|
return index >= 0;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- //左边的浮动按钮
|
|
|
|
|
- const leftShow = ref(true);
|
|
|
|
|
- const onClose = (val) => {
|
|
|
|
|
- leftShow.value = val;
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
const transformChange = () => {
|
|
const transformChange = () => {
|
|
|
mapContainerRef.value.updateLayoutTransformer();
|
|
mapContainerRef.value.updateLayoutTransformer();
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const actionUrl = computed(() => {
|
|
const actionUrl = computed(() => {
|
|
|
- // return urlJoin(urlPrefix, '/homepageConfig/updateCompanyPicture');
|
|
|
|
|
return urlJoin(urlPrefix, '/admin/homepageConfig/uploadCompanyPicture');
|
|
return urlJoin(urlPrefix, '/admin/homepageConfig/uploadCompanyPicture');
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -259,23 +187,6 @@
|
|
|
{ deep: true },
|
|
{ deep: true },
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
- const shadow = ref(false);
|
|
|
|
|
- const shadowAdd = () => {
|
|
|
|
|
- shadow.value = true;
|
|
|
|
|
- };
|
|
|
|
|
- const shadowRemove = () => {
|
|
|
|
|
- shadow.value = false;
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
- const configDrawer = ref();
|
|
|
|
|
- const dialogReopen = () => {
|
|
|
|
|
- configDrawer.value.openDialog();
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
- const openConfig = () => {
|
|
|
|
|
- configDrawer.value.openDialog();
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
//总体的保存,将整个数据传过去
|
|
//总体的保存,将整个数据传过去
|
|
|
const visibleResult = ref(false);
|
|
const visibleResult = ref(false);
|
|
|
const configStatus = ref(true);
|
|
const configStatus = ref(true);
|
|
@@ -290,23 +201,7 @@
|
|
|
addBg();
|
|
addBg();
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- const labelMouduleCode = computed(() => {
|
|
|
|
|
- return (
|
|
|
|
|
- scenesInfos.value
|
|
|
|
|
- .find((item) => item.id === companyId.value)
|
|
|
|
|
- ?.labelModuleList.find((item) => item.sceneLabel.id === label.value)?.sceneModule.code ||
|
|
|
|
|
- 'default'
|
|
|
|
|
- );
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- const changeShop = () => {
|
|
|
|
|
- hasBg.value = false;
|
|
|
|
|
- resetMap();
|
|
|
|
|
- getShopContent();
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
const getShopContent = () => {
|
|
const getShopContent = () => {
|
|
|
- // getCompanyLayoutApi({ companyId: selectedCompany.value || 2 }).then((res) => {
|
|
|
|
|
getWorkshopListApi({ companyId: companyId.value! }).then((res) => {
|
|
getWorkshopListApi({ companyId: companyId.value! }).then((res) => {
|
|
|
shopList.value = res;
|
|
shopList.value = res;
|
|
|
});
|
|
});
|
|
@@ -329,10 +224,7 @@
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- // const changeCompany = () => {
|
|
|
|
|
const clearLayout = () => {
|
|
const clearLayout = () => {
|
|
|
- // label.value = undefined;
|
|
|
|
|
-
|
|
|
|
|
ElMessageBox.confirm('是否重置当前设置?', '提示', {
|
|
ElMessageBox.confirm('是否重置当前设置?', '提示', {
|
|
|
confirmButtonText: '确认',
|
|
confirmButtonText: '确认',
|
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
@@ -347,7 +239,6 @@
|
|
|
// 删除键
|
|
// 删除键
|
|
|
if (e.keyCode === 46 || e.code === 'Delete') {
|
|
if (e.keyCode === 46 || e.code === 'Delete') {
|
|
|
deleteShop();
|
|
deleteShop();
|
|
|
- configDrawer.value.closeDialog();
|
|
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -367,7 +258,6 @@
|
|
|
//如果已经存在车间,则禁止加入
|
|
//如果已经存在车间,则禁止加入
|
|
|
const existingCamera = addedShops.value.find((item) => item.id === shop.id);
|
|
const existingCamera = addedShops.value.find((item) => item.id === shop.id);
|
|
|
if (existingCamera) return;
|
|
if (existingCamera) return;
|
|
|
- // activeShopId.value = shop.id;
|
|
|
|
|
if (!hasBg.value) {
|
|
if (!hasBg.value) {
|
|
|
ElMessage.warning({
|
|
ElMessage.warning({
|
|
|
message: '请先添加背景图片',
|
|
message: '请先添加背景图片',
|
|
@@ -389,15 +279,11 @@
|
|
|
posType: LabelPositionEnum.LEFT,
|
|
posType: LabelPositionEnum.LEFT,
|
|
|
};
|
|
};
|
|
|
addShop(shopNode);
|
|
addShop(shopNode);
|
|
|
- // dialogReopen();
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const handleSave = () => {
|
|
const handleSave = () => {
|
|
|
- const { json, scale } = mapContainerRef.value?.getLayout();
|
|
|
|
|
- console.log('layout json', JSON.parse(json));
|
|
|
|
|
- console.log('scale', scale);
|
|
|
|
|
- const layout = hasBg.value === false ? '' : calcLayout(json, scale);
|
|
|
|
|
- if (hasBg.value) console.log('Calc layout', JSON.parse(layout));
|
|
|
|
|
|
|
+ const { json } = mapContainerRef.value?.getLayout();
|
|
|
|
|
+ const layout = hasBg.value === false ? '' : calcLayout(json);
|
|
|
const param = {
|
|
const param = {
|
|
|
layout,
|
|
layout,
|
|
|
targetId: companyId.value || 2,
|
|
targetId: companyId.value || 2,
|
|
@@ -417,8 +303,17 @@
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+ watch(
|
|
|
|
|
+ () => mapHeight.value,
|
|
|
|
|
+ () => {
|
|
|
|
|
+ mapContainerStageSize.height = document.getElementById('drawContainer')?.clientHeight!;
|
|
|
|
|
+ mapContainerStageSize.width = document.getElementById('drawContainer')?.clientWidth!;
|
|
|
|
|
+ },
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
onBeforeUnmount(() => {
|
|
onBeforeUnmount(() => {
|
|
|
window.removeEventListener('keydown', handleKeyDown);
|
|
window.removeEventListener('keydown', handleKeyDown);
|
|
|
|
|
+ window.onresize = null;
|
|
|
resetMap();
|
|
resetMap();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -430,20 +325,16 @@
|
|
|
companyName.value = String(routerParams.companyName);
|
|
companyName.value = String(routerParams.companyName);
|
|
|
viewType.value = Number(routerParams.viewType);
|
|
viewType.value = Number(routerParams.viewType);
|
|
|
}
|
|
}
|
|
|
- // if (routerParams.labelId) {
|
|
|
|
|
- // label.value = Number(routerParams.labelId);
|
|
|
|
|
- // }
|
|
|
|
|
|
|
|
|
|
window.addEventListener('keydown', handleKeyDown);
|
|
window.addEventListener('keydown', handleKeyDown);
|
|
|
|
|
+ window.onresize = () => {
|
|
|
|
|
+ mapContainerStageSize.height = document.getElementById('drawContainer')?.clientHeight!;
|
|
|
|
|
+ mapContainerStageSize.width = document.getElementById('drawContainer')?.clientWidth!;
|
|
|
|
|
+ };
|
|
|
|
|
|
|
|
if (companyId.value) {
|
|
if (companyId.value) {
|
|
|
getShopContent();
|
|
getShopContent();
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- // console.log('clientHeight', document.getElementById('shopEditContainer')?.clientHeight);
|
|
|
|
|
- // console.log('clientWidth', document.getElementById('shopEditContainer')?.clientWidth);
|
|
|
|
|
- // mapContainerStageSize.height = document.getElementById('shopEditContainer')?.clientHeight!;
|
|
|
|
|
- // mapContainerStageSize.width = document.getElementById('shopEditContainer')?.clientWidth!;
|
|
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
@@ -541,15 +432,15 @@
|
|
|
.draw-container {
|
|
.draw-container {
|
|
|
height: calc(100vh - 160px);
|
|
height: calc(100vh - 160px);
|
|
|
position: relative;
|
|
position: relative;
|
|
|
- width: calc(100% - 600px);
|
|
|
|
|
margin: 10px;
|
|
margin: 10px;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
- border: 1px solid #1890ff;
|
|
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ align-items: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.shop-edit-container {
|
|
.shop-edit-container {
|
|
|
- height: 100%;
|
|
|
|
|
- border: 1px solid #ff7118;
|
|
|
|
|
|
|
+ scale: v-bind(scale);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.drawer-position {
|
|
.drawer-position {
|
|
@@ -604,17 +495,22 @@
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- .back-btn {
|
|
|
|
|
|
|
+ .back-and-company {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 10px;
|
|
gap: 10px;
|
|
|
- cursor: pointer;
|
|
|
|
|
- img {
|
|
|
|
|
- width: 14px;
|
|
|
|
|
- height: 14px;
|
|
|
|
|
- }
|
|
|
|
|
- span {
|
|
|
|
|
- line-height: 14px;
|
|
|
|
|
|
|
+ .back {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ img {
|
|
|
|
|
+ width: 14px;
|
|
|
|
|
+ height: 14px;
|
|
|
|
|
+ }
|
|
|
|
|
+ span {
|
|
|
|
|
+ line-height: 14px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.company-name {
|
|
.company-name {
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
@@ -623,7 +519,7 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.operation-btns {
|
|
.operation-btns {
|
|
|
- width: 350px;
|
|
|
|
|
|
|
+ width: 380px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
.el-button {
|
|
.el-button {
|
|
@@ -637,6 +533,10 @@
|
|
|
background-color: #ffffff;
|
|
background-color: #ffffff;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ :deep(.el-upload) {
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
:deep(.search-put .el-input__wrapper) {
|
|
:deep(.search-put .el-input__wrapper) {
|
|
|
background-color: #f0f2f5;
|
|
background-color: #f0f2f5;
|
|
|
}
|
|
}
|