| | |
| | | package com.mes.md.controller; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.github.yulichang.wrapper.MPJLambdaWrapper; |
| | | import com.mes.md.entity.Account; |
| | | import com.mes.md.entity.Tasking; |
| | | import com.mes.md.mapper.TaskingMapper; |
| | | import com.mes.utils.Result; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @RequestMapping("/tasking") |
| | | public class TaskingController { |
| | | |
| | | @Autowired |
| | | TaskingMapper taskingMapper; |
| | | |
| | | @ApiOperation("è´¦æ·ç»å®è§è²") |
| | | @PostMapping("/bindAccountRole") |
| | | @ResponseBody |
| | | public Result Tasking (@RequestBody Tasking tasking) { |
| | | List<Tasking> list=taskingMapper.selectList(new MPJLambdaWrapper<Tasking>().selectAll() |
| | | .eq(Tasking::getState,"线ä¸") |
| | | .eq(Tasking::getCurrentCraft,"gongui")); |
| | | return Result.build(200,"æå",list); |
| | | } |
| | | } |
| | | |
| | |
| | | cancel :'åæ¶', |
| | | derole :'æ¯å¦å é¤è¯¥è§è²', |
| | | prompt:'æç¤º', |
| | | titleMenu:'èå', |
| | | menu:'èåï¼', |
| | | menuchoice:'è¯·éæ©èå', |
| | | titlePage:'页é¢', |
| | | page:'页é¢ï¼', |
| | | pagechoice:'è¯·éæ©é¡µé¢', |
| | | }, |
| | |
| | | name: 'main', |
| | | component: () => import('../layout/MainErpView.vue'), |
| | | children:[ |
| | | |
| | | |
| | | { |
| | | path: 'Temperedlayout', |
| | | path: 'TL', |
| | | name: 'Temperedlayout', |
| | | component: () => import('../views/TL/Temperedlayout/Temperedlayout.vue'), |
| | | component: () => import('../views/TL/Temperedlayout.vue'), |
| | | children:[ |
| | | { |
| | | path: 'selectLayout', |
| | | name: 'selectLayout', |
| | | component: () => import('../views/TL/Temperedlayout/Temperedlayout.vue'), |
| | | path: '/TL/Temperedlayout', |
| | | name: 'Temperedlayout', |
| | | component: () => import('../views/TL/Temperedlayout.vue'), |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | /*----------- èªå¨ä¸ç ----------------*/ |
| | | path: 'ZiDongShangpian', |
| | | name: 'zidongshangpian', |
| | | component: () => import('../views/Marking/marking.vue'), |
| | | children: [ |
| | | { |
| | | path: '/Marking/marking', |
| | | name: 'marking', |
| | | component: () => import('../views/Marking/marking.vue'), |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | /*----------- èªå¨ææ æº ----------------*/ |
| | | path: 'Marking', |
| | | name: 'marking', |
| | | component: () => import('../views/Marking/marking.vue'), |
| | | children: [ |
| | | { |
| | | path: '/Marking/marking', |
| | | name: 'marking', |
| | | component: () => import('../views/Marking/marking.vue'), |
| | | } |
| | | ] |
| | | }, |
| New file |
| | |
| | | <!-- 空ç½é¡µ --> |
| | | <script setup> |
| | | import request from "@/utils/request"; |
| | | import { ElMessage } from "element-plus"; |
| | | </script> |
| | | <script> |
| | | export default { |
| | | mounted() { |
| | | //è·åæ°æ® |
| | | var data="ProcessId="+"P24032508"; |
| | | request.get("/TidyUpGlassModule/SelectTerritoryInfo?"+data).then((res) => { |
| | | if (res.code == 200) { |
| | | for(var i=0;i<res.data.length;i++){ |
| | | //éåæ°æ® |
| | | } |
| | | f1() |
| | | } else {blank |
| | | ElMessage.warning(res.msg) |
| | | router.push("/login") |
| | | } |
| | | }); |
| | | }, |
| | | methods: { |
| | | //æ¹æ³ |
| | | f1() { |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | </script> |
| | | |
| | | |
| | | |
| | | <template> |
| | | <div ref="content"> |
| | | <canvas ref="mycanvas"></canvas> |
| | | </div> |
| | | </template> |
| | | |
| | | <style scoped> |
| | | #main { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | |
| | | |
| | | |
| | | #div-title { |
| | | height: 5%; |
| | | width: 100%; |
| | | } |
| | | |
| | | #searchButton { |
| | | margin-top: -5px; |
| | | margin-left: 1rem; |
| | | } |
| | | |
| | | /*main-bodyæ ·å¼*/ |
| | | #main-body { |
| | | width: 99%; |
| | | height: 92%; |
| | | margin-top: 1%; |
| | | } |
| | | |
| | | #select { |
| | | margin-left: 0.5rem; |
| | | } |
| | | |
| | | :deep(.indexTag .el-breadcrumb__inner) { |
| | | color: #5CADFE !important; |
| | | } |
| | | </style> |
| New file |
| | |
| | | <!-- ææ æº --> |
| | | <script setup> |
| | | import request from "@/utils/request"; |
| | | import { ElMessage } from "element-plus"; |
| | | </script> |
| | | <script> |
| | | export default { |
| | | mounted() { |
| | | //è·åæ°æ® |
| | | var data="ProcessId="+"P24032508"; |
| | | request.get("/TidyUpGlassModule/SelectTerritoryInfo?"+data).then((res) => { |
| | | if (res.code == 200) { |
| | | for(var i=0;i<res.data.length;i++){ |
| | | //éåæ°æ® |
| | | } |
| | | f1(); |
| | | } else { |
| | | ElMessage.warning(res.msg) |
| | | router.push("/login"); |
| | | } |
| | | }); |
| | | }, |
| | | methods: { |
| | | //æ¹æ³ |
| | | f1() { |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | </script> |
| | | <template> |
| | | <div ref="content"> |
| | | <div id="div-title" style="font-size: 20px; font-weight: bold; margin:10px 0 10px 0;padding-left: 20px;"> |
| | | èªå¨ææ æº |
| | | </div> |
| | | <hr/> |
| | | <br> |
| | | <div id="search"> |
| | | <!-- åè½ --> |
| | | <el-button type="primary" id="searchButton">å¼å·¥</el-button> |
| | | <el-button type="primary" id="searchButton">ä¸çº¿</el-button> |
| | | <el-button type="primary" id="searchButton">ä¸çº¿</el-button> |
| | | <el-button type="primary" id="searchButton">ç ´æ</el-button> |
| | | <el-button type="primary" id="searchButton">å®å·¥</el-button> |
| | | </div> |
| | | <div id="main-body" style="min-height:240px;"> |
| | | <!-- è¡¨æ ¼å
容 --> |
| | | <el-table :data="tableData" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129',textAlign:'center'}"> |
| | | <el-table-column prop="date" label="åºå·" /> |
| | | <el-table-column prop="name" label="å·¥ç¨å·" /> |
| | | <el-table-column prop="name" label="ç»çç±»å" /> |
| | | <el-table-column prop="name" label="ç»çç¼å·" /> |
| | | <el-table-column prop="name" label="é¿" /> |
| | | <el-table-column prop="name" label="宽" /> |
| | | <el-table-column prop="name" label="å" /> |
| | | <el-table-column prop="name" label="ç¶æ" /> |
| | | </el-table> |
| | | </div> |
| | | |
| | | <div id="main-body" style="height: 100%;"> |
| | | <!-- ç»å¾å
容 --> |
| | | <el-image style="width: 100%; height: 460px;" src="../../src/assets/èªå¨ææ æº.png"></el-image> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <style scoped> |
| | | table{ |
| | | text-align: center; |
| | | width: 100%; |
| | | height: 100%; |
| | | border-collapse: collapse; |
| | | border-spacing: 0; |
| | | } |
| | | #main-body{ |
| | | width: 100%; |
| | | height: 100%; |
| | | border: 1px solid #ccc; |
| | | margin-top: 25px; |
| | | } |
| | | #searchButton{ |
| | | width: 100px; |
| | | height: 40px; |
| | | font-size: 16px; |
| | | border-radius: 5px; |
| | | background-color: #409EFF; |
| | | color: #fff; |
| | | border: none; |
| | | cursor: pointer; |
| | | } |
| | | </style> |
| | |
| | | :data="tableData" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> |
| | | <el-table-column prop="id" align="center" :label="$t('delivery.id')" min-width="180" /> |
| | | <el-table-column prop="role_name" align="center" :label="$t('delivery.role')" min-width="180" /> |
| | | <el-table-column prop="menu_name" align="center" :label="$t('delivery.titleMenu')" min-width="180" /> |
| | | <el-table-column prop="page_name" align="center" :label="$t('delivery.titlePage')" min-width="180" /> |
| | | <el-table-column fixed="right" :label="$t('delivery.operate')" align="center" width="270"> |
| | | <template #default="scope"> |
| | | <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('delivery.edit') }}</el-button> |