README.md | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
jcdm-admin/src/main/resources/logback.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
jcdm-common/src/main/java/com/jcdm/common/utils/file/FileTypeUtils.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
jcdm-common/src/main/java/com/jcdm/common/utils/file/FileUtils.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
jcdm-ui/src/views/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
jcdm-ui/src/views/main/bs/material/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
jcdm-ui/src/views/main/kb/stationTerminal/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
jcdm-ui/src/views/main/om/productionOrde/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
README.md
@@ -3,8 +3,6 @@ ## å¹³å°ç®ä» è¥ä¾æ¯ä¸å¥å ¨é¨å¼æºçå¿«éå¼åå¹³å°ï¼æ¯«æ ä¿çç»ä¸ªäººåä¼ä¸å 费使ç¨ã * å端éç¨VueãElement UIã * å端éç¨Spring BootãSpring SecurityãRedis & Jwtã * æé认è¯ä½¿ç¨Jwtï¼æ¯æå¤ç»ç«¯è®¤è¯ç³»ç»ã jcdm-admin/src/main/resources/logback.xml
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- æ¥å¿åæ¾è·¯å¾ --> <property name="log.path" value="/home/ruoyi/logs" /> <property name="log.path" value="/home/mes/logs" /> <!-- æ¥å¿è¾åºæ ¼å¼ --> <property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" /> jcdm-common/src/main/java/com/jcdm/common/utils/file/FileTypeUtils.java
@@ -13,7 +13,7 @@ /** * è·åæ件类å * <p> * ä¾å¦: ruoyi.txt, è¿å: txt * ä¾å¦: jcdm.txt, è¿å: txt * * @param file æ件å * @return åç¼ï¼ä¸å«".") @@ -30,7 +30,7 @@ /** * è·åæ件类å * <p> * ä¾å¦: ruoyi.txt, è¿å: txt * ä¾å¦: jcdm.txt, è¿å: txt * * @param fileName æ件å * @return åç¼ï¼ä¸å«".") jcdm-common/src/main/java/com/jcdm/common/utils/file/FileUtils.java
@@ -256,7 +256,7 @@ } /** * è·åæ件å称 /profile/upload/2022/04/16/ruoyi.png -- ruoyi.png * è·åæ件å称 /profile/upload/2022/04/16/jcdm.png * * @param fileName è·¯å¾å称 * @return 没ææ件路å¾çå称 @@ -274,7 +274,7 @@ } /** * è·åä¸å¸¦åç¼æ件å称 /profile/upload/2022/04/16/ruoyi.png -- ruoyi * è·åä¸å¸¦åç¼æ件å称 /profile/upload/2022/04/16/jcdm.png * * @param fileName è·¯å¾å称 * @return 没ææ件路å¾ååç¼çå称 jcdm-ui/src/views/index.vue
@@ -9,81 +9,7 @@ <hr /> </el-col> </el-row> <el-row :gutter="20"> <el-col :sm="24" :lg="12" style="padding-left: 20px"> <h2>æ±å®¸MES管çæ¡æ¶</h2> <p> </p> </el-col> <el-col :sm="24" :lg="12" style="padding-left: 50px"> <el-row> <el-col :span="12"> <h2>ææ¯éå</h2> </el-col> </el-row> <el-row> <el-col :span="6"> <h4>å端ææ¯</h4> <ul> <li>SpringBoot</li> <li>Spring Security</li> <li>JWT</li> <li>MyBatis</li> <li>Druid</li> <li>Fastjson</li> <li>...</li> </ul> </el-col> <el-col :span="6"> <h4>å端ææ¯</h4> <ul> <li>Vue</li> <li>Vuex</li> <li>Element-ui</li> <li>Axios</li> <li>Sass</li> <li>Quill</li> <li>...</li> </ul> </el-col> </el-row> </el-col> </el-row> <el-divider /> <el-row :gutter="20"> <el-col :xs="24" :sm="24" :md="12" :lg="8"> <el-card class="update-log"> <div slot="header" class="clearfix"> <span>ä¿¡æ¯</span> </div> <div class="body"> </div> </el-card> </el-col> <el-col :xs="24" :sm="24" :md="12" :lg="8"> <el-card class="update-log"> <div slot="header" class="clearfix"> <span>æ¥å¿</span> </div> <div class="body"> </div> </el-card> </el-col> <el-col :xs="24" :sm="24" :md="12" :lg="8"> <el-card class="update-log"> <div slot="header" class="clearfix"> <span>æ¯æ</span> </div> <div class="body"> </div> </el-card> </el-col> </el-row> </div> </template> jcdm-ui/src/views/main/bs/material/index.vue
@@ -83,41 +83,48 @@ <el-table v-loading="loading" border :data="materialList" @selection-change="handleSelectionChange" v-if="materialList.length > 0"> <el-table-column type="selection" width="55" align="center" /> <el-table-column label="ç©æç¼å·" width="130" align="center" prop="materialCode"> <el-table-column label="ç©æç¼å·" align="center" prop="materialCode" width="180"> </el-table-column> <el-table-column label="ç©æå称" align="center" prop="materialName"> <el-table-column label="ç©æå称" align="center" prop="materialName" width="250"> </el-table-column> <el-table-column label="è§å¾" align="center" prop="materialView"> <el-table-column label="è§å¾" align="center" prop="materialView" width="180"> </el-table-column> <!-- <el-table-column label="ç§ç±»" align="center" prop="typeZ">--> <!-- </el-table-column>--> <el-table-column label="ç±»å" align="center" prop="typeL"> <template slot-scope="scope"> <dict-tag :options="dict.type.material_type" :value="scope.row.typeL"/> </template> </el-table-column> <el-table-column label="åä½" align="center" prop="unit"> <el-table-column label="åå·" align="center" prop="typeZ" width="180"> </el-table-column> <el-table-column label="åä½" align="center" prop="unit" width="80"> <template slot-scope="scope"> <dict-tag :options="dict.type.unit" :value="scope.row.unit"/> </template> </el-table-column> <!-- <el-table-column label="ERPè§æ ¼" align="center" prop="erpSpec">--> <!-- </el-table-column>--> <el-table-column label="æ°æ®æ¥æº" align="center" prop="dataSource"> </el-table-column> <el-table-column label="ç¶æ" align="center" prop="status"> <el-table-column label="ç¶æ" align="center" prop="status" width="80"> <template slot-scope="scope"> <dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/> </template> </el-table-column> <el-table-column label="åå" align="center" prop="supplier"> <!-- <el-table-column label="åå" align="center" prop="supplier"> </el-table-column>--> <el-table-column label="å¤æ³¨" align="center" prop="remarks" width="180"> </el-table-column> <el-table-column label="å¤æ³¨" align="center" prop="remarks"> <el-table-column label="å建人" align="center" prop="createUser" width="150"> </el-table-column> <el-table-column label="å建æ¶é´" align="center" prop="createTime" width="180"> <template slot-scope="scope"> <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> </template> <el-table-column label="å建æ¶é´" align="center" prop="createTime" width="170"> </el-table-column> <el-table-column label="æ´æ°äºº" align="center" prop="updateUser" width="150"> </el-table-column> <el-table-column label="æ´æ°æ¶é´" align="center" prop="updateTime" width="170"> </el-table-column> <el-table-column label="æ°æ®æ¥æº" align="center" prop="dataSource"> </el-table-column> <el-table-column fixed="right" label="æä½" width="200" align="center" class-name="small-padding fixed-width"> <template slot-scope="scope"> @@ -167,14 +174,8 @@ <el-form-item label="ç©æå称" prop="materialName"> <el-input v-model="form.materialName" placeholder="请è¾å ¥ç©æå称" /> </el-form-item> <el-form-item label="è§å¾" prop="materialView"> <el-input v-model="form.materialView" placeholder="请è¾å ¥è§å¾" /> </el-form-item> <!-- <el-form-item label="ç§ç±»" prop="typeZ">--> <!-- <el-input v-model="form.typeZ" placeholder="请è¾å ¥ç§ç±»" />--> <!-- </el-form-item>--> <el-form-item label="ç±»å" prop="typeL"> <!-- <el-input v-model="form.typeL" placeholder="请è¾å ¥ç±»å" />--> <el-form-item label="ç©æç±»å" prop="typeL"> <!-- <el-input v-model="form.typeL" placeholder="请è¾å ¥ç±»å" />--> <el-select v-model="form.typeL" style="width: 204px;" placeholder="请éæ©åä½" clearable> <el-option v-for="dict in dict.type.material_type" @@ -183,6 +184,12 @@ :value="dict.value" /> </el-select> </el-form-item> <el-form-item label="ç©æåå·" prop="typeZ"> <el-input v-model="form.typeZ" placeholder="请è¾å ¥ç§ç±»" /> </el-form-item> <el-form-item label="è§å¾" prop="materialView"> <el-input v-model="form.materialView" placeholder="请è¾å ¥è§å¾" /> </el-form-item> <el-form-item label="åä½" prop="unit"> <!-- <el-input v-model="form.unit" placeholder="请è¾å ¥åä½" />--> @@ -198,12 +205,12 @@ <el-form-item label="å¤æ³¨" prop="remarks"> <el-input v-model="form.remarks" placeholder="请è¾å ¥å¤æ³¨" /> </el-form-item> <el-form-item label="ERPè§æ ¼" prop="erpSpec"> <!-- <el-form-item label="ERPè§æ ¼" prop="erpSpec"> <el-input v-model="form.erpSpec" placeholder="请è¾å ¥ERPè§æ ¼" /> </el-form-item> <el-form-item label="åå" prop="supplier"> </el-form-item>--> <!-- <el-form-item label="åå" prop="supplier"> <el-input v-model="form.supplier" placeholder="请è¾å ¥åå" /> </el-form-item> </el-form-item>--> <el-form-item label="ç¶æ" prop="status"> <el-radio-group v-model="form.status"> <el-radio @@ -286,9 +293,6 @@ ], typeL: [ { required: true, message: "ç±»åä¸è½ä¸ºç©º", trigger: "blur" } ], unit: [ { required: true, message: "åä½ä¸è½ä¸ºç©º", trigger: "blur" } ], } }; jcdm-ui/src/views/main/kb/stationTerminal/index.vue
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,170 @@ <template> <div class="app-container"> <el-row :gutter="5"> <el-col :span="6"> <el-card shadow="hover"> å·¥ä½ç¼å· : OP1010 </el-card> </el-col> <el-col :span="6"> <el-card shadow="hover"> å·¥ä½å称 : è´´æ æº-è´´ç </el-card> </el-col> <el-col :span="12"> <el-card shadow="hover"> æ»æç¼ç : 1000000000000001 </el-card> </el-col> </el-row> <el-row :gutter="5" style="margin-top: 5px"> <el-col :span="6" > <el-card class="bottom-card"> <div slot="header" class="clearfix"> <span>å½å工件信æ¯</span> </div> <el-descriptions :column="1" border> <el-descriptions-item> <template slot="label"> <span>å·¥åç¼å·</span> </template> <span>test00000001</span> </el-descriptions-item> <el-descriptions-item> <template slot="label"> <span>产åç¼å·</span> </template> <span>test00000001</span> </el-descriptions-item> <el-descriptions-item> <template slot="label"> <span>产ååå·</span> </template> <span>test00000001</span> </el-descriptions-item> <el-descriptions-item> <template slot="label"> <span>产åå称</span> </template> <span>test00000001</span> </el-descriptions-item> <el-descriptions-item> <template slot="label"> <span>èæ</span> </template> <span>æ±èçèå·å¸å´ä¸åºå´ä¸</span> </el-descriptions-item> </el-descriptions> <el-divider></el-divider> <el-row> <el-col :span="12"> <el-button class="circle-button" circle></el-button> <span> PLCç¶æ</span> </el-col> <el-col :span="12"> <el-button class="circle-button" circle></el-button> <span> æ«ç æªç¶æ</span> </el-col> </el-row> <el-row style="margin-top: 20px"> <el-col :span="12"> <el-button class="circle-button" circle></el-button> <span> 工件å°ä½</span> </el-col> <el-col :span="12"> <el-button class="circle-button" circle></el-button> <span> æ«ç å®æ</span> </el-col> </el-row> <el-row style="margin-top: 20px"> <el-col :span="12"> <el-button class="circle-button" circle></el-button> <span> å¼å§ä½ä¸</span> </el-col> <el-col :span="12"> <el-button class="circle-button" circle></el-button> <span> å 许æ¾è¡</span> </el-col> </el-row> </el-card> </el-col> <el-col :span="18"> <el-tabs type="border-card" style="height: 600px"> <el-tab-pane> <span slot="label"> <a class="el-icon-date"></a>é¦é¡µ</span> <el-col :span="8"> <el-table> <el-table-column label="åºå·" align="center" prop="repairIdentification" width="50px"/> <el-table-column label="æä½å 容" align="center" prop="boxCode" width="300px"/> </el-table> </el-col> <el-col :span="16"> <el-image style="height: 520px;width: 100%" :src="imgSrc"></el-image> </el-col> </el-tab-pane> <el-tab-pane> <span slot="label"> <b class="el-icon-date"></b>ç©æBOM</span> <el-empty > <span slot="description">ææ æ°æ®</span> </el-empty> </el-tab-pane> <el-tab-pane> <span slot="label"> <c class="el-icon-date"></c>ééæ¸ å</span> <el-empty > <span slot="description">ææ æ°æ®</span> </el-empty> </el-tab-pane> <el-tab-pane> <span slot="label"> <d class="el-icon-date"></d>å®ç¯ç¶æ</span> <el-empty > <span slot="description">ææ æ°æ®</span> </el-empty> </el-tab-pane> <el-tab-pane> <span slot="label"> <e class="el-icon-date"></e>å·¥èºé æ¹</span> <el-empty > <span slot="description">ææ æ°æ®</span> </el-empty> </el-tab-pane> </el-tabs> </el-col> </el-row> </div> </template> <script> export default { components: {}, props: [], data() { return { imgSrc: '', } }, computed: {}, watch: {}, created() {}, mounted() {}, methods: {} } </script> <style scoped> .bottom-card{ height: 600px; } .circle-button{ height: 30px; width: 30px; //background-color: #ce0b0b; //background-color: #00afff; background-color: #13ce66; } span{ font-size: 15px; } </style> jcdm-ui/src/views/main/om/productionOrde/index.vue
@@ -469,8 +469,10 @@ // å¨è¿éç¼åå¤çéä¸äºä»¶çé»è¾ handleSelectChange(selectedOption) { this.form.lineCode = null; this.queryParams.workshopCode = selectedOption; listLineInfo(this.queryParams).then(response => { let params = { workshopCode: selectedOption }; listLineInfo(params).then(response => { this.lineOptions = response.rows; }); }, @@ -509,7 +511,6 @@ getList() { this.loading = true; listProductionOrde(this.queryParams).then(response => { console.log(response) this.productionOrdeList = response.rows; this.total = response.total; this.loading = false;