| | |
| | | }) |
| | | } |
| | | |
| | | // MES工忰å¢ãè·åå·¥åå· |
| | | export function AddMesOrderCodeSearch() { |
| | | return request({ |
| | | url: 'ProductionManagement/AddMesOrderCodeSearch', |
| | | method: 'post' |
| | | }) |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1682562180452" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2688" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M128 256a42.666667 42.666667 0 0 1 42.666667-42.666667h682.666666a42.666667 42.666667 0 0 1 42.666667 42.666667v469.333333a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V256z m85.333333 42.666667v384h597.333334V298.666667H213.333333z" fill="#157b7e" p-id="2689"></path><path d="M485.802667 712.981333a42.666667 42.666667 0 0 1 52.394666 0l225.664 175.530667-52.373333 67.370667L512 800.725333l-199.466667 155.157334-52.416-67.370667 225.706667-175.530667zM554.666667 85.333333v170.666667h-85.333334V85.333333h85.333334zM448 256v106.666667a64 64 0 1 0 128 0v-106.666667h85.333333v106.666667a149.333333 149.333333 0 1 1-298.666666 0v-106.666667h85.333333z" fill="#157b7e" p-id="2690"></path></svg> |
| | |
| | | <template> |
| | | <div :class="{'has-logo':showLogo}"> |
| | | |
| | | <logo v-if="showLogo" :collapse="isCollapse" /> |
| | | <logo v-if="showLogo" :collapse="isCollapse"/> |
| | | |
| | | <div |
| | | v-if="$store.state.app.sidebar.opened&&!$store.state.settings.menuIsHorizontal" |
| | |
| | | routes() { |
| | | return this.$router.options.routes |
| | | }, |
| | | // activeMenu() { |
| | | // const route = this.$route |
| | | // const { meta, path } = route |
| | | // // if set path, the sidebar will highlight the path you set |
| | | // removeCookie('ruleCode') |
| | | // setCookie('ruleCode', meta.code)// å°ç¼ç è§åcodeåå°cookieéé¢ |
| | | // if (meta.activeMenu) { |
| | | // return meta.activeMenu |
| | | // } |
| | | // return path |
| | | // }, |
| | | activeMenu() { |
| | | const route = this.$route |
| | | const { meta, path } = route |
| | |
| | | if (meta.activeMenu) { |
| | | return meta.activeMenu |
| | | } |
| | | |
| | | if (path.indexOf('kanbanManager') !== -1) { // å½ç¹å»æºæ
§çæ¿çæ¶å |
| | | const url = this.$router.resolve({ |
| | | path |
| | | // query: { id: 123 } |
| | | }) |
| | | const t = url.href.split('/') |
| | | |
| | | if (t[2] === 'jgcj') { |
| | | window.open('#/zhkbc?code=10101', '_blank') |
| | | } else if (t[2] === 'zscj') { |
| | | window.open('#/zhkbc?code=10102', '_blank') |
| | | } else if (t[2] === 'zpcj') { |
| | | window.open('#/zhkbc?code=10103', '_blank') |
| | | } else { |
| | | window.open('#/' + t[2], '_blank') |
| | | } |
| | | |
| | | } |
| | | |
| | | return path |
| | | }, |
| | | showLogo() { |
| | |
| | | meta: { code: '1061', title: 'åè´§æ¡£æ¡', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | { |
| | | path: '/kanbanManager', |
| | | component: Layout, |
| | | redirect: '/kanbanManager/zhkb', |
| | | name: 'æºæ
§çæ¿', |
| | | code: '2023', |
| | | meta: { title: 'æºæ
§çæ¿', icon: 'zhkb' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'zhkb', |
| | | name: 'ZHKBCancel', |
| | | component: () => import('@/views/kb/zhkb'), |
| | | meta: { title: '综åçæ¿', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'jgcj', |
| | | name: 'cgddCancel', |
| | | component: () => import('@/views/kb/zhkbc'), |
| | | meta: { title: 'é工车é´', icon: '', keepAlive: true } |
| | | },{ |
| | | path: 'zscj', |
| | | name: 'cgddCancel', |
| | | component: () => import('@/views/kb/zhkbc'), |
| | | meta: { title: '注å¡è½¦é´', icon: '', keepAlive: true } |
| | | },{ |
| | | path: 'zpcj', |
| | | name: 'cgddCancel', |
| | | component: () => import('@/views/kb/zhkbc'), |
| | | meta: { title: 'è£
é
车é´', icon: '', keepAlive: true } |
| | | }, |
| | | { |
| | | path: 'ckgl', |
| | | name: 'ckglCancel', |
| | | component: () => import('@/views/kb/ckgl'), |
| | | meta: { title: 'ä»åºç®¡ç', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | } |
| | | |
| | | // { |
| | |
| | | return i |
| | | } |
| | | }) |
| | | newRoutes.push({ path: '*', redirect: '/404', hidden: true }) |
| | | } else { |
| | | newRoutes = getAsyncRoutes(asyncRoutes, menu) |
| | | } |
| | |
| | | <div style="height: 470px;"> |
| | | <div class="smallTitle"> |
| | | <svg-icon icon-class="ph" class="svg_class" /> |
| | | åæåã产ååºåéæè¡Top5 |
| | | åæåã产ååºåéæè¡Top3 |
| | | </div> |
| | | <div class="lineContent horn" style="height: 435px"> |
| | | <div id="bar03" style="width: 100%;height:100%; " /> |
| | |
| | | <div style="height: 470px;"> |
| | | <div class="smallTitle"> |
| | | <svg-icon icon-class="ph" class="svg_class" /> |
| | | åææåºåéæè¡Top5 |
| | | åææåºåéæè¡Top3 |
| | | </div> |
| | | <div class="lineContent horn" style="height: 435px"> |
| | | <div id="bar04" style="width: 100%;height:100%;" /> |
| | |
| | | <el-table-column |
| | | prop="wo_code" |
| | | label="å å·¥åå·" |
| | | width="190" |
| | | width="214" |
| | | /> |
| | | <el-table-column |
| | | prop="partname" |
| | | label="产ååç§°" |
| | | width="350" |
| | | width="330" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div> |
| | |
| | | }, |
| | | // 产线å å·¥ä»»å¡ å·¦ä¸æ°æ® |
| | | getLeftBottomData() { |
| | | let startValue = 0 // åå§å¼ |
| | | const scale = 10// å»åº¦ |
| | | // let startValue = 0 // åå§å¼ |
| | | // const scale = 10// å»åº¦ |
| | | // |
| | | // LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | // this.tableDataLeftBottomTemp = res.data |
| | | // this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | // |
| | | // const loop = Math.floor(this.tableDataLeftBottomTemp.length / scale)// éè¦å¾ªç¯çæ¬¡æ° |
| | | // let nowLoop = 0// å½å循ç¯çæ¬¡æ° |
| | | // |
| | | // const timer = setInterval(() => { |
| | | // startValue = startValue + scale |
| | | // this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | // if (nowLoop === loop) { |
| | | // clearInterval(timer) |
| | | // this.getLeftBottomData() |
| | | // } |
| | | // |
| | | // nowLoop++ |
| | | // }, 1000 * 10) |
| | | // }) |
| | | |
| | | |
| | | LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | this.tableDataLeftBottomTemp = res.data |
| | | this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | this.tableDataLeftBottom = res.data |
| | | |
| | | const loop = Math.floor(this.tableDataLeftBottomTemp.length / scale)// éè¦å¾ªç¯çæ¬¡æ° |
| | | let nowLoop = 0// å½å循ç¯çæ¬¡æ° |
| | | const divData = this.$refs.tableDataLeftBottomRef.bodyWrapper |
| | | // æ¿å°å
ç´ åï¼å¯¹å
ç´ è¿è¡å®æ¶å¢å è·ç¦»é¡¶é¨è·ç¦»ï¼å®ç°æ»å¨ææ(æ¤é
置为æ¯100毫ç§ç§»å¨1åç´ ) |
| | | const aaa = setInterval(() => { |
| | | // å
ç´ èªå¢è·ç¦»é¡¶é¨1åç´ |
| | | divData.scrollTop += 1 |
| | | // divData.scrollTop += divData.scrollHeight / this.tableData.length |
| | | // 夿å
ç´ æ¯å¦æ»å¨å°åºé¨(å¯è§é«åº¦+è·ç¦»é¡¶é¨=æ´ä¸ªé«åº¦) |
| | | if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) { |
| | | // éç½®tableè·ç¦»é¡¶é¨è·ç¦» |
| | | divData.scrollTop = 0 |
| | | LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | this.tableDataLeftBottom = res.data |
| | | |
| | | const timer = setInterval(() => { |
| | | startValue = startValue + scale |
| | | this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | if (nowLoop === loop) { |
| | | clearInterval(timer) |
| | | this.getLeftBottomData() |
| | | if (this.tableDataLeftBottom.length > 10) { |
| | | clearInterval(aaa) |
| | | this.getLeftBottomData() |
| | | } |
| | | }) |
| | | } |
| | | |
| | | nowLoop++ |
| | | }, 1000 * 10) |
| | | }, this.tableDataLeftBottom.length <= 10 ? 1000 * 5 : 100) |
| | | }) |
| | | |
| | | }, |
| | | |
| | | getEcharts() { |
| | |
| | | border-radius: 50%; |
| | | } |
| | | |
| | | ::v-deep .el-table__body-wrapper{ |
| | | overflow: hidden !important; |
| | | } |
| | | |
| | | </style> |
| | | |
| | | <!--æç©º--> |
| | |
| | | <el-table-column |
| | | prop="wo_code" |
| | | label="å å·¥åå·" |
| | | width="190" |
| | | width="280" |
| | | /> |
| | | <el-table-column |
| | | prop="partname" |
| | | label="产ååç§°" |
| | | width="350" |
| | | width="260" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div> |
| | |
| | | }, |
| | | // 产线å å·¥ä»»å¡ å·¦ä¸æ°æ® |
| | | getLeftBottomData() { |
| | | let startValue = 0 // åå§å¼ |
| | | const scale = 10// å»åº¦ |
| | | // let startValue = 0 // åå§å¼ |
| | | // const scale = 10// å»åº¦ |
| | | // |
| | | // LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | // this.tableDataLeftBottomTemp = res.data |
| | | // this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | // |
| | | // const loop = Math.floor(this.tableDataLeftBottomTemp.length / scale)// éè¦å¾ªç¯çæ¬¡æ° |
| | | // let nowLoop = 0// å½å循ç¯çæ¬¡æ° |
| | | // |
| | | // const timer = setInterval(() => { |
| | | // startValue = startValue + scale |
| | | // this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | // if (nowLoop === loop) { |
| | | // clearInterval(timer) |
| | | // this.getLeftBottomData() |
| | | // } |
| | | // |
| | | // nowLoop++ |
| | | // }, 1000 * 10) |
| | | // }) |
| | | |
| | | LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | this.tableDataLeftBottomTemp = res.data |
| | | this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | this.tableDataLeftBottom = res.data |
| | | // this.number2 = this.tableData.length |
| | | |
| | | const loop = Math.floor(this.tableDataLeftBottomTemp.length / scale)// éè¦å¾ªç¯çæ¬¡æ° |
| | | let nowLoop = 0// å½å循ç¯çæ¬¡æ° |
| | | |
| | | const timer = setInterval(() => { |
| | | startValue = startValue + scale |
| | | this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | if (nowLoop === loop) { |
| | | clearInterval(timer) |
| | | this.getLeftBottomData() |
| | | const divData = this.$refs.tableDataLeftBottomRef.bodyWrapper |
| | | // æ¿å°å
ç´ åï¼å¯¹å
ç´ è¿è¡å®æ¶å¢å è·ç¦»é¡¶é¨è·ç¦»ï¼å®ç°æ»å¨ææ(æ¤é
置为æ¯100毫ç§ç§»å¨1åç´ ) |
| | | const aaa = setInterval(() => { |
| | | // å
ç´ èªå¢è·ç¦»é¡¶é¨1åç´ |
| | | divData.scrollTop += 1 |
| | | // divData.scrollTop += divData.scrollHeight / this.tableData.length |
| | | // 夿å
ç´ æ¯å¦æ»å¨å°åºé¨(å¯è§é«åº¦+è·ç¦»é¡¶é¨=æ´ä¸ªé«åº¦) |
| | | if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) { |
| | | // éç½®tableè·ç¦»é¡¶é¨è·ç¦» |
| | | divData.scrollTop = 0 |
| | | LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | this.tableDataLeftBottom = res.data |
| | | // this.number2 = this.tableData.length |
| | | if (this.tableDataLeftBottom.length > 10) { |
| | | clearInterval(aaa) |
| | | this.getLeftBottomData() |
| | | } |
| | | }) |
| | | } |
| | | |
| | | nowLoop++ |
| | | }, 1000 * 10) |
| | | }, this.tableDataLeftBottom.length <= 10 ? 1000 * 10 : 100) |
| | | }) |
| | | |
| | | }, |
| | | |
| | | getEcharts() { |
| | |
| | | border-radius: 50%; |
| | | } |
| | | |
| | | ::v-deep .el-table__body-wrapper{ |
| | | overflow: hidden !important; |
| | | } |
| | | |
| | | </style> |
| | | |
| | | <!--æç©º--> |
| | |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="å·¥åç¼å·" prop="mesordercode"> |
| | | <el-input v-model="dialogForm.mesordercode" :disabled="operation!=='add'" style="width: 200px"/> |
| | | <el-input v-model="dialogForm.mesordercode" disabled style="width: 200px"/> |
| | | </el-form-item> |
| | | <div style="display: flex"> |
| | | <el-form-item label="å·¥åç±»å" prop="mesorderstus"> |
| | |
| | | <script> |
| | | import Pagination from '@/components/Pagination' |
| | | import { |
| | | AddMesOrderCodeSearch, |
| | | AddUpdateMesOrder, |
| | | ClosedMesOrder, |
| | | DeleteMesOrder, ErpOrderSearch, JobCreationSonAddVison, MesBadOrderSearch, |
| | |
| | | }, |
| | | // æ°å¢æé® |
| | | async add(operation) { |
| | | const { data: res } = await AddMesOrderCodeSearch() |
| | | this.dialogForm.mesordercode = res |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | this.dialogForm.planstartdate = handleDatetime(new Date()) |
| | |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: 'http://121.196.36.24:8013', // 请æ±ç第ä¸â½
æ¥â¼å°å æ¬å°å¼åæå¡å¨ |
| | | // target: 'http://192.168.188.180:8001', // 请æ±ç第ä¸â½
æ¥â¼å°å ç¦è±æ³° ï¼æªä¸äºï¼ |
| | | target: 'http://xyfhk5.natappfree.cc', // 请æ±ç第ä¸â½
æ¥â¼å°å ç¦è±æ³° ï¼ä¸äºï¼ |
| | | target: 'http://xnkeij.natappfree.cc', // 请æ±ç第ä¸â½
æ¥â¼å°å ç¦è±æ³° ï¼ä¸äºï¼ |
| | | |
| | | changeOrigin: true, // 请æ±è·¨åæ¶ï¼é é
ç½®æ¤é¡¹ |
| | | pathRewrite: { // è·¯å¾éå,æ¿æ¢targetä¸ç请æ±å°å |