项目代码/client/dist.7z | 补丁 | 查看 | 原始文档 | blame | 历史 | |
项目代码/client/src/views/system/UserInfo.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
项目代码/client/src/views/tts/BasicInformation/Basicinformation.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
项目代码/client/src/views/tts/DataLogging/Datalogging.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
项目代码/client/src/views/tts/TaskManagement/Taskmanagement.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
项目代码/client/src/views/tts/TheCurrentJob/Startjob.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
项目代码/client/src/views/tts/UserManagement/Usermanagement.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ÏîÄ¿´úÂë/client/dist.7zBinary files differ
ÏîÄ¿´úÂë/client/src/views/system/UserInfo.vue
@@ -11,7 +11,7 @@ > <el-image style="width: 100px; height: 100px" :src="'http://192.168.0.80:5000' + userInfo.headImageUrl" :src="'http://115.159.85.185:9098' + userInfo.headImageUrl" :fit="fit" /> <!-- <img @@ -327,11 +327,37 @@ if (!formEl) return; await formEl.validate((valid, fields) => { if (valid) { if ( Passwordform.value.newPwd == "" || Passwordform.value.oldPwd == "" || newPwd.value == "" ) { ElMessage({ message: "è¾å ¥æ¡ä¸è½ä¸ºç©º", type: "warning", }); return; } if (Passwordform.value.newPwd == Passwordform.value.oldPwd) { ElMessage({ message: "两次å¯ç ä¸è´", type: "warning", }); return; } if (Passwordform.value.newPwd != newPwd.value) { ElMessage({ message: "æ°å¯ç ä¸ä¸è´", type: "warning", }); return; } UpdatePassword(Passwordform.value).then((res) => { ElMessage({ message: "ä¿®æ¹æå", type: "success", }); dialogVisible.value = false; console.log(res); }); } else { @@ -359,7 +385,6 @@ upload.value.handleRemove(file); }; const onSubmit = () => { if (form.value.files == "") { ElMessage({ message: "å¾çä¸è½ä¸ºç©º", type: "warning" }); return; ÏîÄ¿´úÂë/client/src/views/tts/BasicInformation/Basicinformation.vue
@@ -106,7 +106,8 @@ ><el-icon style="margin-right: 0.2rem"> <Plus /> </el-icon >æ°å»º</el-button > <!-- <el-button <el-button @click="importDialogVisible = true" size="small" style="width: 5.5rem; height: 2rem; font-size: 0.88rem" >æ¹éå¯¼å ¥</el-button @@ -116,7 +117,7 @@ style="width: 5.5rem; height: 2rem; font-size: 0.88rem" @click="printExcel" >æ¹é导åº</el-button > --> > <el-button @click="deleteAll" size="small" @@ -482,12 +483,27 @@ </div> </template> </el-dialog> <el-dialog v-model="importDialogVisible"> <UploadExcel @importExcelAfter="importExcelAfter" :url="isactive == 1 ? 'api/ArticleInfom/Import' : 'api/Tools/Import'" :template="{ url: isactive == 1 ? 'api/ArticleInfom/DownLoadTemplate' : 'api/Tools/DownLoadTemplate', fileName: isactive == 1 ? 'ä¿¡æ¯å¯¼å ¥æ¨¡æ¿' : 'å·¥å ·å¯¼å ¥æ¨¡æ¿', }" /> </el-dialog> </div> </template> <script setup> import { ref, reactive, onMounted, toRef } from "vue"; import { ElMessage, ElMessageBox } from "element-plus"; import { formatTime } from "@/utils/index.js"; import UploadExcel from "@/components/basic/UploadExcel.vue"; import { getBasicinformation, addBasicinformation, @@ -515,7 +531,7 @@ const isactive = ref(1); const dialogVisible = ref(false); const dialogVisible1 = ref(false); const importDialogVisible = ref(false); // å¯¼å ¥ const selectoptions = ref([]); const infoOpitions = ref([ { ÏîÄ¿´úÂë/client/src/views/tts/DataLogging/Datalogging.vue
@@ -1,7 +1,10 @@ <template> <div class="Datalogging"> <div class="content"> <div class="checkbox"> <div class="checkbox" :style="{ width: roleINFO == 1 ? '16rem' : '11rem' }" > <div :class="['item', isactive == 1 ? 'isactive' : '']" @click="changeactive(1)" @@ -15,6 +18,7 @@ ä½ä¸åè®°å½ </div> <div v-if="roleINFO == 1" :class="['item', isactive == 3 ? 'isactive' : '']" @click="changeactive(3)" > @@ -849,7 +853,9 @@ > <span style="width: 6rem; text-align: right; display: block" >ä»»å¡åç§°ï¼</span ><span>{{ pesonData[0].takename }}</span> ><span>{{ pesonData.length != 0 ? pesonData[0].takename : "" }}</span> </div> <div style=" @@ -861,7 +867,9 @@ > <span style="width: 6rem; text-align: right; display: block" >ææ¯åï¼</span ><span>{{ pesonData[0].jishuyuan }}</span> ><span>{{ pesonData.length != 0 ? pesonData[0].jishuyuan : "" }}</span> </div> <div style=" @@ -873,7 +881,9 @@ > <span style="width: 6rem; text-align: right; display: block" >æ£ä¿®å·¥é¿ï¼</span ><span>{{ pesonData[0].gonzhang }}</span> ><span>{{ pesonData.length != 0 ? pesonData[0].gonzhang : "" }}</span> </div> <div style=" @@ -885,7 +895,9 @@ > <span style="width: 6rem; text-align: right; display: block" >è´¨æ£åï¼</span ><span>{{ pesonData[0].zhijianyuan }}</span> ><span>{{ pesonData.length != 0 ? pesonData[0].zhijianyuan : "" }}</span> </div> <div style=" @@ -897,7 +909,9 @@ > <span style="width: 6rem; text-align: right; display: block" >åç©ä½ä¸åï¼</span ><span>{{ pesonData[0].lijuzouyeyuan }}</span> ><span>{{ pesonData.length != 0 ? pesonData[0].lijuzouyeyuan : "" }}</span> </div> <div style=" @@ -909,7 +923,9 @@ > <span style="width: 6rem; text-align: right; display: block" >è¾ å©åï¼</span ><span>{{ pesonData[0].fuzyuan }}</span> ><span>{{ pesonData.length != 0 ? pesonData[0].fuzyuan : "" }}</span> </div> <div style=" @@ -1158,6 +1174,8 @@ ], }).then((res) => { pesonData.value = res.rows; console.log(res.rows); TorquedialogVisible.value = true; }); }; @@ -1469,7 +1487,7 @@ const roleINFO = ref(); onMounted(() => { initData(); roleINFO.value = JSON.parse(localStorage.getItem("user")); roleINFO.value = JSON.parse(localStorage.getItem("user")).roleId; console.log(roleINFO.value); }); </script> ÏîÄ¿´úÂë/client/src/views/tts/TaskManagement/Taskmanagement.vue
@@ -142,6 +142,12 @@ > <el-table-column type="selection" align="center" min-width="1%" /> <el-table-column prop="takeName" label="ä»»å¡åç§°" align="center" min-width="2%" /> <el-table-column prop="trainKind" label="车å" align="center" ÏîÄ¿´úÂë/client/src/views/tts/TheCurrentJob/Startjob.vue
@@ -171,7 +171,7 @@ > </span> </div> <div style="position: absolute; width: 47rem; height: 2.5rem"> <div style="position: absolute; width: 62rem; height: 2.5rem"> <el-table empty-text="ææ æ°æ®" style="margin-top: 0.88rem" @@ -191,7 +191,7 @@ <el-table-column property="craftsStep" label="å·¥èºé¡¹ç¹/æ¥éª¤" min-width="30%" min-width="13%" > <template #default="scope"> <span @@ -205,16 +205,41 @@ " >{{ scope.row.craftsStep }} </span></template ></el-table-column > > </el-table-column> <el-table-column property="craftContent" label="å·¥èºå 容" min-width="70%" min-width="40%" > <template #default="scope"> <el-tooltip placement="bottom" effect="light"> <template #content> <span style="display: block; width: 15rem">{{ scope.row.craftContent }}</span> </template> <span @click="true" style=" color: #ffffff; font-size: 0.88rem; display: -webkit-box; /* 设置为WebKitå æ ¸çå¼¹æ§ç忍¡å */ -webkit-box-orient: vertical; /* åç´æå */ -webkit-line-clamp: 2; /* éå¶æ¾ç¤ºä¸¤è¡ */ overflow: hidden; /* éèè¶ åºèå´çå 容 */ text-overflow: ellipsis; /* 使ç¨çç¥å· */ " >{{ scope.row.craftContent }}</span > </el-tooltip> </template></el-table-column > <el-table-column property="tools" label="å·¥å ·" min-width="12%"> <template #default="scope"> <span @click="true" ref="spanHide" style=" color: #ffffff; font-size: 0.88rem; @@ -224,12 +249,32 @@ overflow: hidden; /* éèè¶ åºèå´çå 容 */ text-overflow: ellipsis; /* 使ç¨çç¥å· */ " >{{ scope.row.craftContent }}</span >{{ scope.row.tools }} </span></template ></el-table-column > <el-table-column property="craftsStep" label="ç©æ" min-width="15%" > <template #default="scope"> <span style=" color: #ffffff; font-size: 0.88rem; display: -webkit-box; /* 设置为WebKitå æ ¸çå¼¹æ§ç忍¡å */ -webkit-box-orient: vertical; /* åç´æå */ -webkit-line-clamp: 2; /* éå¶æ¾ç¤ºä¸¤è¡ */ overflow: hidden; /* éèè¶ åºèå´çå 容 */ text-overflow: ellipsis; /* 使ç¨çç¥å· */ " >{{ scope.row.material }}</span ></template ></el-table-column > </el-table> <div class="consten" v-if="contentShow"> <div class="consten" v-show="contentShow"> <el-table empty-text="ææ æ°æ®" :data="gridData" @@ -363,7 +408,7 @@ justify-content: center; align-items: center; position: absolute; top: 35%; top: 38%; left: 50%; transform: translateX(-50%); z-index: 999; @@ -419,7 +464,7 @@ > <el-button :disabled="obj.setpNum == sunNUm" @click="Next(false)" @click="DialogVisible = true" type="primary" :style="{ width: '5rem', @@ -454,13 +499,30 @@ <!-- 强å¶è·³è½¬ç¡®è®¤æ¡ --> <el-dialog v-model="centerDialogVisible" title="确认" width="300" center> <span> å½å任塿ªå®æï¼æ¯å¦å¼ºå¶è·³è½¬å°ä¸ä¸æ¥ï¼ </span> <span sty> å½å任塿ªå®æï¼æ¯å¦å¼ºå¶è·³è½¬å°ä¸ä¸æ¥ï¼ </span> <template #footer> <div class="dialog-footer"> <el-button style="width: 5rem" @click="centerDialogVisible = false" >åæ¶</el-button > <el-button style="width: 5rem" type="primary" @click="Next(true)"> 确认 </el-button> </div> </template> </el-dialog> <!-- æ¯å¦åæ ¼æå·²å®æ --> <el-dialog v-model="DialogVisible" title="确认" width="300" center> <span style="display: block; text-align: center; font-size: 1.5rem"> 请确认å½åæ¥éª¤å·²å®æä¸åæ ¼ </span> <template #footer> <div class="dialog-footer"> <el-button style="width: 5rem" @click="DialogVisible = false" >åæ¶</el-button > <el-button style="width: 5rem" type="primary" @click="Next(false)"> 确认 </el-button> </div> @@ -491,12 +553,11 @@ const container = ref(null); // let scene, camera, renderer, controls; const router = useRouter(); const gridData = ref([]); const contentShow = ref(false); const contentShow1 = ref(false); const DialogVisible = ref(false); const info = ref({}); info.value = history.state?.info ? JSON.parse(history.state?.info) : {}; const title = ref(""); @@ -507,7 +568,7 @@ const Torque = ref(""); const showDetail1 = (va1) => { contentShow1.value = false; contentShow.value = va1; contentShow.value = true; }; const showDetail = (va1) => { contentShow1.value = va1; @@ -591,11 +652,13 @@ obj.value = res.data.nowdate[0]; if (res.data.nowdate[0].setpNum == obj.value.setpNum) { centerDialogVisible.value = true; DialogVisible.value = false; return; } return; } centerDialogVisible.value = false; DialogVisible.value = false; gridData.value = [res.data.nex]; xPos.value = gridData.value[0].pointAxisXYZ != null && @@ -631,7 +694,6 @@ from.value.gruops = info.value.grouptype; from.value.id = info.value.njtakeid; from.value.creater = info.value.creater; console.log(from.value, info.value); ChangeStatus(from.value).then((res) => { ElMessage({ @@ -737,6 +799,7 @@ const BASE_COLOR = [0.2, 0.4, 0.6]; const RED_COLOR = [3.0, 0.2, 0.4]; const GREEN_COLOR = [0.0, 1.0, 0.0]; const xPos = ref(""); const yPos = ref(""); const zPos = ref(""); @@ -788,7 +851,6 @@ material.needsUpdate = true; // å¼ºå¶æ´æ°æè´¨ }); }); console.log(part.split(",")); if ( part == "æèè¡åæ¯å¨èºæ 1,æèè¡åæ¯å¨èºæ 2,æèè¡åæ¯å¨èºæ 3,æèè¡åæ¯å¨èºæ 4" @@ -886,12 +948,12 @@ [] ); }; window.addEventListener("resize", () => { console.log("åå§ååºæ¯", window.innerWidth, window.innerHeight); // camera.aspect = window.innerWidth / window.innerHeight; // camera.updateProjectionMatrix(); // renderer.setSize(window.innerWidth, window.innerHeight); }); // window.addEventListener("resize", () => { // // console.log("åå§ååºæ¯", window.innerWidth, window.innerHeight); // // camera.aspect = window.innerWidth / window.innerHeight; // // camera.updateProjectionMatrix(); // // renderer.setSize(window.innerWidth, window.innerHeight); // }); const nodeList = [ "è½¬åæ¶", "æèè¡åæ¯å¨èºæ 1,æèè¡åæ¯å¨èºæ 2,æèè¡åæ¯å¨èºæ 3,æèè¡åæ¯å¨èºæ 4", @@ -990,7 +1052,7 @@ onMounted(() => { // åå§ååºæ¯ renderer.setSize(window.innerWidth / 1.5, window.innerHeight / 2); renderer.setSize(window.innerWidth / 1.01, window.innerHeight / 2.1); renderer.setClearColor(0xeeeeee); // è®¾ç½®èæ¯è² // å¯ç¨ç©çæ¸²ææ¨¡å¼ // renderer.physicallyCorrectLights = true; @@ -1000,6 +1062,12 @@ // æ·»å äº¤äºæ§å¶å¨ï¼é¼ æ ææ½ç¼©æ¾ï¼ const controls = new OrbitControls(camera, renderer.domElement); controls.enablePan = false; //ç¦æ¢å³é®ææ½ //ç¸æºä½ç½®ä¸è§å¯ç®æ ç¹æå°å¼ controls.minDistance = 650; //ç¸æºä½ç½®ä¸è§å¯ç®æ ç¹æå¤§å¼ controls.maxDistance = 900; camera.position.set(...CAMERA_POS); controls.update(); @@ -1135,10 +1203,11 @@ } .rect-item2 { width: 49.88rem; width: 65rem; height: 15.38rem; border: 0.1rem solid #02cde6; padding: 0.69rem 1.44rem; position: relative; .el-table :deep(.el-table__header th) { border: solid 1px #1ac0f6; @@ -1146,8 +1215,9 @@ } .consten { position: relative; top: 0; width: 100%; position: absolute; top: 10rem; z-index: 999; } } ÏîÄ¿´úÂë/client/src/views/tts/UserManagement/Usermanagement.vue
@@ -425,11 +425,11 @@ size="small" > <el-option :disabled="item.value == 20" :disabled="item.roleId == 1" v-for="item in groupOptions" :key="item.value" :label="item.label" :value="item.value" :key="item.roleId" :label="item.roleName" :value="item.roleId" /> </el-select> </el-form-item> @@ -811,17 +811,11 @@ { value: 1, label: "æ¯" }, ]); //åç» const groupOptions = ref([ { value: 20, label: "è¶ çº§ç®¡çå" }, { value: 21, label: "è´¨æ£ç»" }, { value: 22, label: "çµæ°ç»" }, { value: 23, label: "æºæ¢°ç»" }, { value: 24, label: "å°æ²ç»" }, ]); const groupOptions = ref([]); const formUser = ref({ user_Id: undefined, userName: "", role_Id: 21, role_Id: 2, roleName: "", phoneNo: "", remark: "", @@ -988,6 +982,7 @@ tableData.value = res.rows; pageTotal.value = res.total; }); getRole(); }; //å页请æ±åæ° const pageQuery = ref({ @@ -1258,6 +1253,7 @@ GetPageDataApi({ ...pageQuery.value, filter }).then((res) => { grideData.value = res.rows; pageTotal.value = res.total; groupOptions.value = res.rows; }); }; //æå°æ°æ®