|
@@ -1,54 +1,90 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <!-- 货架区域 -->
|
|
|
- <div class="areaDiv" style="width: 100%;overflow-x: auto;">
|
|
|
-
|
|
|
- <!-- 货架(单个) -->
|
|
|
- <template>
|
|
|
- <div class="tableBlock" v-for="item in shelvesTreeList" :key="item.id">
|
|
|
- <!-- 上部分-是个统计数据 -->
|
|
|
- <div class="topDiv">
|
|
|
- <span class="topSpan allTongji">
|
|
|
- <span>{{$t("lineSide.common.allCount")}}:</span>
|
|
|
- <countTo :duration="3000" :end-val="parseInt(item.allCount)" :start-val="0"/>
|
|
|
- </span>
|
|
|
- <span class="topSpan cunTongji">
|
|
|
- <span>{{$t("lineSide.common.stockCount")}}:</span>
|
|
|
- <countTo :duration="3000" :end-val="parseInt(item.stockCount)" :start-val="0"/>
|
|
|
- </span>
|
|
|
- <span class="topSpan lockTongji">
|
|
|
- <span>{{$t("lineSide.common.lockCount")}}:</span>
|
|
|
- <countTo :duration="3000" :end-val="parseInt(item.lockCount)" :start-val="0"/>
|
|
|
- </span>
|
|
|
- <span class="topSpan emptyTongji">
|
|
|
- <span>{{$t("lineSide.common.freeCount")}}:</span>
|
|
|
- <countTo :duration="3000" :end-val="parseInt(item.freeCount)" :start-val="0"/>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <!-- 中部-货架小格子 -->
|
|
|
- <table class="contentDiv" border="0" cellspacing="0" cellpadding="6">
|
|
|
- <tr v-for="(objTr, objIndex) in item.children" :key="objIndex">
|
|
|
- <td v-for="objTd in objTr.children" :key="objTd.toolId"
|
|
|
- :class="{ 'blueBg': objTd.toolHandleId, 'redBg': objTd.tdBackground }"
|
|
|
- @click="selectCell(objTd)"
|
|
|
- @dblclick="editOne(objTd)">
|
|
|
- {{objTd.no}}
|
|
|
- <el-image v-if="objTd.lockStatus == '0'" class="locked" :src="resolveLogo(lockImg)" fit="contain"></el-image>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- <!-- 下部-货架名称编号 -->
|
|
|
- <div class="footerDiv">{{item.name}}({{item.no}})</div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
-
|
|
|
-
|
|
|
- </div>
|
|
|
-
|
|
|
+ <!-- 搜索模块 -->
|
|
|
+ <div class="filter-container">
|
|
|
+ <span>
|
|
|
+ <span>订单名称:</span>
|
|
|
+ <el-input v-model="queryParams.model.orderName" :placeholder='$t("common.pleaseEnter")' style="width: 150px;" size="medium"/>
|
|
|
+ </span>
|
|
|
+ <span style="margin-left: 15px;">
|
|
|
+ <span>{{$t("lineSide.searchForm.status")}}:</span>
|
|
|
+ <el-select v-model="queryParams.model.status" :placeholder='$t("common.pleaseSelect")' size="medium" style="width: 150px;">
|
|
|
+ <el-option
|
|
|
+ v-for="item in audioStatus"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </span>
|
|
|
+ <span style="margin-left: 15px;">
|
|
|
+ <el-button plain type="primary" icon="el-icon-search" size="medium" @click="search">
|
|
|
+ {{ $t("table.search") }}
|
|
|
+ </el-button>
|
|
|
+ <el-button plain type="warning" icon="el-icon-refresh" size="medium" @click="reset">
|
|
|
+ {{ $t("table.reset") }}
|
|
|
+ </el-button>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <!-- 列表数据 -->
|
|
|
+ <el-table
|
|
|
+ :key="tableKey"
|
|
|
+ ref="table"
|
|
|
+ v-loading="loading"
|
|
|
+ :data="tableData.records"
|
|
|
+ border
|
|
|
+ fit
|
|
|
+ row-key="id"
|
|
|
+ style="width: 100%;"
|
|
|
+ @selection-change="onSelectChange"
|
|
|
+ @cell-click="cellClick"
|
|
|
+ >
|
|
|
+ <el-table-column label='' width="50" align="center"></el-table-column>
|
|
|
+ <el-table-column align="center" type="selection" width="50" :reserve-selection="true" />
|
|
|
+ <el-table-column prop="orderName" :label='"订单名称"' :show-overflow-tooltip="true"></el-table-column>
|
|
|
+ <el-table-column prop="deviceName" :label='"设备名称"' :show-overflow-tooltip="true" ></el-table-column>
|
|
|
+ <el-table-column prop="needToolCategory" :label='"缺少刀具类别"' :show-overflow-tooltip="true" ></el-table-column>
|
|
|
+ <el-table-column prop="status" :label='"任务状态"' :show-overflow-tooltip="true" >
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <el-tag :type="getTagType(row.status)">
|
|
|
+ {{ getToolTypeText(row.status) }}
|
|
|
+ </el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="createTime" :label='$t("lineSide.table.toolManagement.createTime")' width="180px"></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ :label="$t('table.operation')"
|
|
|
+ fixed="right"
|
|
|
+ align="center"
|
|
|
+ column-key="operation"
|
|
|
+ width="140px"
|
|
|
+ >
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <el-tooltip class="item" :content='"换刀"' effect="dark" placement="top-start">
|
|
|
+ <i
|
|
|
+ class="el-icon-view table-operation"
|
|
|
+ style="color: #2db7f5;"
|
|
|
+ @click="edit(row)"
|
|
|
+ />
|
|
|
+ </el-tooltip>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <pagination
|
|
|
+ v-show="tableData.total > 0"
|
|
|
+ :limit.sync="queryParams.size"
|
|
|
+ :page.sync="queryParams.current"
|
|
|
+ :total="Number(tableData.total)"
|
|
|
+ @pagination="fetch"
|
|
|
+ />
|
|
|
<tenant-edit
|
|
|
ref="edit"
|
|
|
:dialog-visible="dialog.isVisible"
|
|
|
:title="dialog.title"
|
|
|
+ :tool-category="toolCategory"
|
|
|
+ :device-name="deviceName"
|
|
|
+ :plan-id="planId"
|
|
|
+ :device-id="deviceId"
|
|
|
@close="editClose"
|
|
|
@success="editSuccess"
|
|
|
/>
|
|
@@ -61,7 +97,7 @@
|
|
|
v-el-drag-dialog
|
|
|
:close-on-click-modal="false"
|
|
|
:close-on-press-escape="true"
|
|
|
- title="预览"
|
|
|
+ :title='$t("common.preview")'
|
|
|
width="80%"
|
|
|
top="50px"
|
|
|
:visible.sync="preview.isVisible"
|
|
@@ -74,40 +110,24 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import Pagination from "@/components/Pagination"
|
|
|
import TenantEdit from "./components/Edit"
|
|
|
import TenantView from "./components/View"
|
|
|
- // 【区域管理】-API
|
|
|
- import areaMgrAPI from "@/api/resourceProductMgr/areaMgr"
|
|
|
- // 【边线库管理】-API
|
|
|
- import lineSideMgrApi from "@/api/lineSideLibrary/lineSideMgr"
|
|
|
-
|
|
|
+ // 【货架管理】-API
|
|
|
+ import toolManagementApi from "@/api/modelingCenter/toolManagement"
|
|
|
import elDragDialog from '@/directive/el-drag-dialog'
|
|
|
import { downloadFile, initEnums, initDicts, initQueryParams } from '@/utils/commons'
|
|
|
+ // 加载工具类
|
|
|
+ import { convertEnum, createTreeData } from '@/utils/utils'
|
|
|
import axios from 'axios'
|
|
|
- // 加载动态数字组件
|
|
|
- import countTo from 'vue-count-to'
|
|
|
export default {
|
|
|
- name: "LineSideEmulate",
|
|
|
+ name: "GoodsShelvesMgr",
|
|
|
directives: { elDragDialog },
|
|
|
- components: { TenantEdit, TenantView, countTo },
|
|
|
+ components: { Pagination, TenantEdit, TenantView },
|
|
|
props: {
|
|
|
- deviceId: {
|
|
|
- type: String,
|
|
|
- default:''
|
|
|
- }
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
- url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
|
|
|
- toolsImg: 'tools.png',
|
|
|
- programImg: 'program.png',
|
|
|
- lockImg: 'locked.png',
|
|
|
- srcList: [
|
|
|
- 'https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg',
|
|
|
- 'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'
|
|
|
- ],
|
|
|
- topTongjiData: {"shelvesCount": 0, "storgeCount": 0,"instockCount": 0,"freestockCount": 0,"lockstockCount": 0},
|
|
|
- shelvesTreeList: [], // 货架数据
|
|
|
audioStatus: [],
|
|
|
dialog: {
|
|
|
isVisible: false,
|
|
@@ -132,25 +152,31 @@
|
|
|
TenantTypeEnum: {},
|
|
|
TenantStatusEnum: {}
|
|
|
},
|
|
|
- cellSelections: {}
|
|
|
+ toolCategory:[],
|
|
|
+ deviceName:'',
|
|
|
+ planId:'',
|
|
|
+ deviceId:''
|
|
|
}
|
|
|
},
|
|
|
// 实例已经在内存中创建好,此时data和methods已将ok,如果要操作data中的数据或是调用methods中的方法,最早只能在created中操作
|
|
|
created() {
|
|
|
- // 加载列表数据-按区域
|
|
|
- console.log("经过这里"+this.deviceId)
|
|
|
- this.getTabList()
|
|
|
+ // 调用常量-审核状态
|
|
|
+ this.audioStatus = this.$constWKS.TOOLTASKLSIT
|
|
|
+ // 加载【字典】
|
|
|
+ initDicts(['NATION'], this.dicts);
|
|
|
+ // 加载列表数据
|
|
|
+ this.fetch()
|
|
|
},
|
|
|
- watch: {
|
|
|
- 'deviceId': {
|
|
|
- handler(val, oldVal) {
|
|
|
- console.log("经过这里2"+this.deviceId)
|
|
|
- // 加载列表数据
|
|
|
- this.getTabList()
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
computed: {
|
|
|
+ /* 转树形数据 */
|
|
|
+ optionData() {
|
|
|
+ if(this.tableData.records){
|
|
|
+ let cloneData = JSON.parse(JSON.stringify(this.tableData.records)) // 对源数据深度克隆
|
|
|
+ if(cloneData){
|
|
|
+ return createTreeData(cloneData)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
currentUser () {
|
|
|
return this.$store.state.account.user
|
|
|
},
|
|
@@ -162,14 +188,59 @@
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
- // 加载背景颜色
|
|
|
- setBackground(color){
|
|
|
- return "background: "+ color +";"
|
|
|
- },
|
|
|
- // 加载【本地图片】
|
|
|
- resolveLogo(logo) {
|
|
|
- return require(`@/assets/icon/${logo}`);
|
|
|
- },
|
|
|
+ // 【启用/冻结】按钮-事件
|
|
|
+ updateActiveStatus(status){
|
|
|
+ if (!this.selection.length) {
|
|
|
+ this.$message({
|
|
|
+ message: this.$t("tips.noDataSelected"),
|
|
|
+ type: "warning"
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.selection.length > 1) {
|
|
|
+ this.$message({
|
|
|
+ message: this.$t("tips.mustOne"),
|
|
|
+ type: "warning"
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ // 传值
|
|
|
+ let obj = {};
|
|
|
+ obj = this.selection[0];
|
|
|
+ obj.status = status;
|
|
|
+ // 调用接口后的提示信息
|
|
|
+ let msg = this.$t("tips.frozen")
|
|
|
+ if(status == "1"){
|
|
|
+ msg = this.$t("tips.enable")
|
|
|
+ }
|
|
|
+ toolManagementApi.update(obj).then(response => {
|
|
|
+ if (response.status == 200) {
|
|
|
+ this.$message({
|
|
|
+ message: msg,
|
|
|
+ type: "success"
|
|
|
+ })
|
|
|
+ // 重新查询列表数据
|
|
|
+ this.search()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 【冻结】-Table的Row操作事件
|
|
|
+ dongJieRow(row) {
|
|
|
+ // 传值
|
|
|
+ let obj = {};
|
|
|
+ obj = row;
|
|
|
+ obj.status = "0";
|
|
|
+ toolManagementApi.update(obj).then(response => {
|
|
|
+ if (response.status == 200) {
|
|
|
+ this.$message({
|
|
|
+ message: this.$t("tips.frozen"),
|
|
|
+ type: "success"
|
|
|
+ })
|
|
|
+ // 重新查询列表数据
|
|
|
+ this.search()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
viewClose () {
|
|
|
this.tenantViewVisible = false
|
|
|
},
|
|
@@ -177,8 +248,7 @@
|
|
|
this.dialog.isVisible = false
|
|
|
},
|
|
|
editSuccess () {
|
|
|
- //this.search()
|
|
|
- this.getTabList();
|
|
|
+ this.search()
|
|
|
},
|
|
|
onSelectChange (selection) {
|
|
|
this.selection = selection
|
|
@@ -197,8 +267,10 @@
|
|
|
add () {
|
|
|
this.$refs.edit.type = "add"
|
|
|
this.$refs.edit.setTenant(false, this.dicts)
|
|
|
+ // 【上级货架】数据设置
|
|
|
+ this.$refs.edit.list = this.tableData.records
|
|
|
this.dialog.title = this.$t("common.add")
|
|
|
- this.dialog.isVisible = true
|
|
|
+ this.dialog.isVisible = false
|
|
|
},
|
|
|
singleDelete (row) {
|
|
|
this.$refs.table.clearSelection()
|
|
@@ -214,24 +286,46 @@
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- this.$confirm(this.$t("lineSide.tips.wareTips"), this.$t("common.tips"), {
|
|
|
+ const readonlyIndex = this.selection.findIndex(item => item.readonly)
|
|
|
+
|
|
|
+ if (readonlyIndex > -1) {
|
|
|
+ this.$message({
|
|
|
+ message: this.$t("tips.systemData"),
|
|
|
+ type: "warning"
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ this.$confirm(this.$t("lineSide.tips.shelvsTips"), this.$t("common.tips"), {
|
|
|
distinguishCancelAndClose: true,
|
|
|
confirmButtonText: this.$t("common.confirm"),
|
|
|
cancelButtonText: this.$t("common.cancel"),
|
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
|
const ids = []
|
|
|
+ let contain = false
|
|
|
this.selection.forEach(item => {
|
|
|
+ if (item.readonly) {
|
|
|
+ contain = true
|
|
|
+ return
|
|
|
+ }
|
|
|
ids.push(item.id)
|
|
|
})
|
|
|
- this.delete(ids)
|
|
|
+ if (contain) {
|
|
|
+ this.$message({
|
|
|
+ message: this.$t("tips.systemData"),
|
|
|
+ type: "warning"
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.delete(ids)
|
|
|
+ }
|
|
|
}).catch(() => {})
|
|
|
},
|
|
|
clearSelections () {
|
|
|
this.$refs.table.clearSelection()
|
|
|
},
|
|
|
delete (ids) {
|
|
|
- areaMgrAPI.remove({ ids: ids }).then(response => {
|
|
|
+ toolManagementApi.remove({ ids: ids }).then(response => {
|
|
|
const res = response.data
|
|
|
if (res.isSuccess) {
|
|
|
this.$message({
|
|
@@ -249,31 +343,31 @@
|
|
|
this.tenantViewVisible = true
|
|
|
},
|
|
|
// 【修改】表头上Btn-事件
|
|
|
- editOne(row) {
|
|
|
- this.edit(row);
|
|
|
+ editOne() {
|
|
|
+ if (!this.selection.length) {
|
|
|
+ this.$message({
|
|
|
+ message: this.$t("tips.unSelected"),
|
|
|
+ type: "warning"
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.selection.length > 1) {
|
|
|
+ this.$message({
|
|
|
+ message: this.$t("tips.mustOne"),
|
|
|
+ type: "warning"
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.edit(this.selection[0]);
|
|
|
},
|
|
|
- selectCell(objTd) {
|
|
|
- objTd.selected = !objTd.selected;
|
|
|
- if(objTd.selected){
|
|
|
- objTd.tdBackground=true;
|
|
|
- }else{
|
|
|
- objTd.tdBackground=false;
|
|
|
- }
|
|
|
-
|
|
|
- },
|
|
|
edit (row) {
|
|
|
- console.log("row:",)
|
|
|
- this.$refs.edit.setTenant(row, this.dicts)
|
|
|
- this.$refs.edit.type = "edit"
|
|
|
- if(this.deviceId){
|
|
|
- this.$refs.edit.showFlag = false
|
|
|
- }else{
|
|
|
- this.$refs.edit.showFlag = true
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- this.dialog.title = this.$t("lineSide.common.strogeTool")
|
|
|
- this.dialog.isVisible = true
|
|
|
+ if (row.status === '1' ){
|
|
|
+ this.toolCategory = row.taskNodeToolList
|
|
|
+ this.deviceName = row.deviceName
|
|
|
+ this.planId = row.planId
|
|
|
+ this.deviceId = row.deviceId
|
|
|
+ this.dialog.isVisible = true
|
|
|
+ }
|
|
|
},
|
|
|
fetch (params = {}) {
|
|
|
this.loading = true
|
|
@@ -284,8 +378,9 @@
|
|
|
|
|
|
this.queryParams.current = params.current ? params.current : this.queryParams.current
|
|
|
this.queryParams.size = params.size ? params.size : this.queryParams.size
|
|
|
- areaMgrAPI.page(this.queryParams).then(response => {
|
|
|
+ toolManagementApi.toolTaskPage(this.queryParams).then(response => {
|
|
|
const res = response.data
|
|
|
+ console.log(res)
|
|
|
if (res.isSuccess) {
|
|
|
this.tableData = res.data
|
|
|
}
|
|
@@ -309,298 +404,27 @@
|
|
|
this.$refs.table.toggleRowSelection(row, true)
|
|
|
}
|
|
|
},
|
|
|
- // 获取列表数据
|
|
|
- getTabList(){
|
|
|
- console.log("deviceId:"+this.deviceId)
|
|
|
- lineSideMgrApi.iconListV2({}).then(res => {
|
|
|
- res = res.data
|
|
|
- console.log("方块列表:", res)
|
|
|
- if(res.isSuccess){
|
|
|
- let filteredData;
|
|
|
- if(this.deviceId){
|
|
|
- filteredData = res.data.shelvesTreeList.filter(item => item.deviceId === this.deviceId && item.toolType === "1");
|
|
|
- }else{
|
|
|
- filteredData = res.data.shelvesTreeList.filter(item => item.toolType === "4");
|
|
|
- }
|
|
|
-
|
|
|
- console.log("filteredData:",filteredData)
|
|
|
- // 设备的货架数据
|
|
|
- this.shelvesTreeList = filteredData
|
|
|
- // 统计数据
|
|
|
- this.topTongjiData = {
|
|
|
- "freestockCount": res.data.freestockCount,
|
|
|
- "instockCount": res.data.instockCount,
|
|
|
- "lockstockCount": res.data.lockstockCount,
|
|
|
- "shelvesCount": res.data.shelvesCount,
|
|
|
- "storgeCount": res.data.storgeCount
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+ getTagType(toolType) {
|
|
|
+ switch (toolType) {
|
|
|
+ case '1':
|
|
|
+ return 'info'; // 第一种类型的标签颜色
|
|
|
+ case '2':
|
|
|
+ return 'warning'; // 第二种类型的标签颜色
|
|
|
+ case '3':
|
|
|
+ return 'success'; // 第三种类型的标签颜色
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getToolTypeText(toolType) {
|
|
|
+ switch (toolType) {
|
|
|
+ case '1':
|
|
|
+ return "未开始"; // 第二种类型的文本
|
|
|
+ case '2':
|
|
|
+ return '进行中'; // 第三种类型的文本
|
|
|
+ case '3':
|
|
|
+ return '已完成'; // 第四种类型的文本
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-<!-- 全局样式-通过定义父DOM的calss,来只影响本组件 -->
|
|
|
-<style type="text/css">
|
|
|
- .areaDiv .el-progress-bar__innerText{
|
|
|
- position: relative;
|
|
|
- top: -2px;
|
|
|
- }
|
|
|
- .areaDiv .el-card__body{
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- flex-direction: column;
|
|
|
- padding: 10px;
|
|
|
- min-height: 190px;
|
|
|
- }
|
|
|
-</style>
|
|
|
-<!-- 本组件样式 -->
|
|
|
-<style lang="scss" scoped>
|
|
|
- .blockDiv{
|
|
|
- position: relative;
|
|
|
- border: 1px solid #EEEEEE;
|
|
|
- padding-left: 15px;
|
|
|
- -moz-border-radius: 5px;
|
|
|
- -webkit-border-radius: 5px;
|
|
|
- border-radius: 5px;
|
|
|
- text-align: center;
|
|
|
- color: white;
|
|
|
- -moz-box-shadow: 1px 5px 5px #c0b7b7;
|
|
|
- webkit-box-shadow: 1px 5px 5px #c0b7b7;
|
|
|
- box-shadow: 1px 5px 5px #c0b7b7;
|
|
|
- h1{
|
|
|
- margin: 20px;
|
|
|
- font-size: 45px;
|
|
|
- }
|
|
|
- p{
|
|
|
- text-align: left;
|
|
|
- color: #FFFFFF;
|
|
|
- }
|
|
|
- }
|
|
|
- .danweiSpan{
|
|
|
- display: inline-block;
|
|
|
- font-size: 16px;
|
|
|
- color: black;
|
|
|
- }
|
|
|
- .blockBg1{
|
|
|
- background: #0F79DC;
|
|
|
- border: 1px solid #0F79DC;
|
|
|
- }
|
|
|
- .blockBg2{
|
|
|
- background: #8E66E4;
|
|
|
- border: 1px solid #8E66E4;
|
|
|
- }
|
|
|
- .blockBg3{
|
|
|
- background: #3EB64B;
|
|
|
- border: 1px solid #3EB64B;
|
|
|
- }
|
|
|
- .blockBg4{
|
|
|
- background: #0BA6D5;
|
|
|
- border: 1px solid #0BA6D5;
|
|
|
- }
|
|
|
- .blockBg5{
|
|
|
- background: #E57878;
|
|
|
- border: 1px solid #E57878;
|
|
|
- }
|
|
|
- .blockBg6{
|
|
|
- background: #E37B3D;
|
|
|
- border: 1px solid #E37B3D;
|
|
|
- }
|
|
|
- .rowCls{
|
|
|
- background: white;
|
|
|
- box-sizing: border-box;
|
|
|
- border-bottom: 2px dotted #AAAAAA;
|
|
|
- margin-bottom: 15px;
|
|
|
- }
|
|
|
- .rowCls .el-col{
|
|
|
- margin-bottom: 20px;
|
|
|
- }
|
|
|
- .doubleTable{
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
- .doubleTable h1{
|
|
|
- margin: 17px 0;
|
|
|
- }
|
|
|
- .el-card{
|
|
|
- display: inline-block;
|
|
|
- min-width: 290px;
|
|
|
- margin: 0 5px 5px 0;
|
|
|
- }
|
|
|
- .areaTitle{
|
|
|
- margin-bottom: 15px;
|
|
|
- }
|
|
|
- .areaTitle span{
|
|
|
- position: relative;
|
|
|
- display: inline-block;
|
|
|
- padding-right: 20px;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
- .areaTitle span:before{
|
|
|
- position: absolute;
|
|
|
- content: '';
|
|
|
- background: #42d885;
|
|
|
- top: 0px;
|
|
|
- right: 0px;
|
|
|
- width: 10px;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
- .contentView{
|
|
|
- background: #CCCCCC;
|
|
|
- text-align: center;
|
|
|
- padding: 3px 5px;
|
|
|
- margin-bottom: 5px;
|
|
|
- border-bottom: 4px solid red;
|
|
|
- }
|
|
|
- .hebingDiv{
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- flex-wrap: wrap;
|
|
|
- max-width: 140px;
|
|
|
- min-height: 60px;
|
|
|
- border-bottom: 8px solid red;
|
|
|
- word-break: break-all;
|
|
|
- }
|
|
|
- .lineBianku{
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- background: #CCCCCC;
|
|
|
- text-align: center;
|
|
|
- padding: 3px 5px;
|
|
|
- min-height: 60px;
|
|
|
- max-width: 190px;
|
|
|
- word-break: break-all;
|
|
|
- }
|
|
|
- .eqTitle{
|
|
|
- width: 100%;
|
|
|
- max-width: 70px;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
- font-size: 12px;
|
|
|
- margin-bottom: 15px;
|
|
|
- }
|
|
|
- .eqTitle2{
|
|
|
- width: 100%;
|
|
|
- max-width: 70px;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
- font-size: 12px;
|
|
|
- }
|
|
|
- .recordSpan{
|
|
|
- display: inline-block;
|
|
|
- background: #0F79DC;
|
|
|
- font-size: 12px;
|
|
|
- padding: 2px 10px;
|
|
|
- color: white;
|
|
|
- -moz-border-radius: 3px;
|
|
|
- -webkit-border-radius: 3px;
|
|
|
- border-radius: 3px;
|
|
|
- }
|
|
|
- .jinduTiao{
|
|
|
- margin: 5px 0;
|
|
|
- }
|
|
|
- .statusDiv{
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
- .statusDiv span{
|
|
|
- display: inline-block;
|
|
|
- font-size: 12px;
|
|
|
- padding: 2px 10px;
|
|
|
- color: white;
|
|
|
- -moz-border-radius: 2px;
|
|
|
- -webkit-border-radius: 2px;
|
|
|
- border-radius: 2px;
|
|
|
- }
|
|
|
- .linkLine{
|
|
|
- /*background: #13CE66;*/
|
|
|
- }
|
|
|
- .jianguan{
|
|
|
- /*background: #0A76A4;*/
|
|
|
- }
|
|
|
- .producting{
|
|
|
- /*background: #3888FA;*/
|
|
|
- }
|
|
|
- .footerDiv{
|
|
|
- text-align: center;
|
|
|
- width: 100%;
|
|
|
- padding: 7px 0;
|
|
|
- border: 1px solid #AAAAAA;
|
|
|
- }
|
|
|
- .footerDiv a{
|
|
|
- display: inline-block;
|
|
|
- background: #0F79DC;
|
|
|
- font-size: 12px;
|
|
|
- padding: 5px 15px;
|
|
|
- color: white;
|
|
|
- -moz-border-radius: 3px;
|
|
|
- -webkit-border-radius: 3px;
|
|
|
- border-radius: 3px;
|
|
|
- }
|
|
|
- .footerDiv a:hover{
|
|
|
- opacity: 0.7;
|
|
|
- }
|
|
|
- .tableBlock{
|
|
|
- margin: 15px 30px 15px 0;
|
|
|
- display: inline-block;
|
|
|
- margin-left: 30%;
|
|
|
- }
|
|
|
- .topDiv{
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
- .topSpan{
|
|
|
- display: inline-block;
|
|
|
- padding: 10px;
|
|
|
- color: white;
|
|
|
- border: 1px solid #FFFFFF;
|
|
|
- border-radius: 5px;
|
|
|
- margin-right: 5px;
|
|
|
- }
|
|
|
- .allTongji{
|
|
|
- background: #0BA6D5;
|
|
|
- border: 1px solid #0BA6D5;
|
|
|
- }
|
|
|
- .cunTongji{
|
|
|
- background: #0F79DC;
|
|
|
- border: 1px solid #0F79DC;
|
|
|
- }
|
|
|
- .lockTongji{
|
|
|
- background: #E57878;
|
|
|
- border: 1px solid #E57878;
|
|
|
- }
|
|
|
- .emptyTongji{
|
|
|
- border: 1px solid #AAAAAA;
|
|
|
- color: #333333;
|
|
|
- }
|
|
|
- .contentDiv{
|
|
|
- margin: 10px 0;
|
|
|
- border-left: 1px solid #AAAAAA;
|
|
|
- border-top: 1px solid #AAAAAA;
|
|
|
- }
|
|
|
- .contentDiv tr td{
|
|
|
- position: relative;
|
|
|
- cursor: pointer;
|
|
|
- padding: 10px 25px;
|
|
|
- border-right: 1px solid #AAAAAA;
|
|
|
- border-bottom: 1px solid #AAAAAA;
|
|
|
- }
|
|
|
- .blueBg{
|
|
|
- background: #548EC5;
|
|
|
- color: white;
|
|
|
- }
|
|
|
- .locked{
|
|
|
- position: absolute;
|
|
|
- right: 2px;
|
|
|
- top: 0;
|
|
|
- width: 20px;
|
|
|
- height: 25px;
|
|
|
- }
|
|
|
- .redBg {
|
|
|
- background: red;
|
|
|
- color: white;
|
|
|
- }
|
|
|
-
|
|
|
-</style>
|
|
|
+<style lang="scss" scoped></style>
|