{
+ if (result.success) {
+ if (result.result && result.result.length) {
+ this.isIscDevice = result.result[0].supplierType == 9 ? true: false;
+ }
+ }
+ });
+ },
// 监听mqtt下发信息然后刷新列表
mqttMSG() {
// mqtt连接 +"/#" +workerId
diff --git a/src/views/projectFront/laborManage/personDetails.vue b/src/views/projectFront/laborManage/personDetails.vue
index 9ddd8b98..1eaf7c08 100644
--- a/src/views/projectFront/laborManage/personDetails.vue
+++ b/src/views/projectFront/laborManage/personDetails.vue
@@ -2812,6 +2812,8 @@ export default {
name: item.imageUrl.split("*")[0],
url: item.imageUrl.split("*")[1],
}];
+ } else {
+ item.fileList = []
}
}
});
diff --git a/src/views/projectFront/laborManage/personModule/administration.vue b/src/views/projectFront/laborManage/personModule/administration.vue
index 59ede25b..39248fe6 100644
--- a/src/views/projectFront/laborManage/personModule/administration.vue
+++ b/src/views/projectFront/laborManage/personModule/administration.vue
@@ -320,6 +320,7 @@
>导入照片
- {{ $t("message.laborMange.refresh") }}
+ {{
+ $t("message.laborMange.refresh")
+ }}
-
+
下发状态:
导入照片
-
+
下发状态:
-
+
-
+
下发状态:
{
+ if (result.success) {
+ if (result.result) {
+ this.isIscDevice = result.result.supplierType == 9 ? true: false;
+ }
+ }
+ });
+ },
// 人员录入关闭
comboFormClose() {
this.comboFormVisible = false;
@@ -1532,6 +1547,9 @@ export default {
});
},
tableRowClassName({ row, rowIndex }) {
+ if(!this.isIscDevice){
+ return
+ }
if (row.sendSuccessStatus === 1) {
return "green2";
}
From bd15c67d92e7d067aafd2c0a7724c1ef5e25a547 Mon Sep 17 00:00:00 2001
From: Vce
Date: Wed, 5 Jun 2024 13:54:32 +0800
Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=A0=E5=8F=82?=
=?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BB=A5=E5=8F=8A=E6=80=8E=E5=8A=A0?=
=?UTF-8?q?=E8=AF=95=E9=A2=98=E5=86=85=E5=AE=B9=E8=A7=A3=E6=9E=90=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/js/http.js | 6 ++--
src/store/index.js | 12 ++++----
.../questionManagement/questionManagement.vue | 30 ++++++++++++-------
.../subjectManagement/subjectManagement.vue | 2 +-
4 files changed, 29 insertions(+), 21 deletions(-)
diff --git a/src/assets/js/http.js b/src/assets/js/http.js
index d257c7a7..c2a2effa 100644
--- a/src/assets/js/http.js
+++ b/src/assets/js/http.js
@@ -84,10 +84,10 @@ if (process.env.NODE_ENV == "development") {
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
// axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
- axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
+ // axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
- // axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
+ axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈
// axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头
// axios.defaults.baseURL ='http://101.43.164.214:11111/' // 百色三标段项目
@@ -95,7 +95,7 @@ if (process.env.NODE_ENV == "development") {
// axios.defaults.baseURL = 'http://125.88.207.86:8099/'//中建四局(沙湖)线上(最新)地址
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:15551/'//测试地址
// axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢正式地址(弃用)
- // axios.defaults.baseURL = 'http://42.180.188.17:9809/'//鞍钢正式地址
+ // axios.defaults.baseURL = 'http://42.180.188.17:9809/'//鞍钢正式地址
// axios.defaults.baseURL = 'http://47.93.215.234:11211/'//鞍钢测试地址(弃用)
// axios.defaults.baseURL = 'http://42.180.188.17:11211/' //鞍钢测试地址
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:19814/'//测试地址
diff --git a/src/store/index.js b/src/store/index.js
index e6e656be..b5d87b35 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -48,14 +48,14 @@ export default new Vuex.Store({
PAGESIZRS: [10, 20, 30, 50],
// UPLOADURL:' http://101.43.164.214:11111/upload/image/',// 百色
// FILEURL:' http://101.43.164.214:11111/image/',// 百色
- // UPLOADURL:'http://182.90.224.237:51234/upload/image/',
- // FILEURL:'http://182.90.224.237:51234/image/',
+ UPLOADURL:'http://182.90.224.237:51234/upload/image/',
+ FILEURL:'http://182.90.224.237:51234/image/',
// UPLOADURL: "http://192.168.34.155:19111/upload/image/", // 洁本地
// FILEURL: "http://192.168.34.155:19111/image/", //洁本地
- UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地
- FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地
+ // UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地
+ // FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地
// WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地)
- WORKFLOWURL: "http://192.168.34.126:88/#/workspace/forms", //罗峰工作流地址(本地)
+ // WORKFLOWURL: "http://192.168.34.126:88/#/workspace/forms", //罗峰工作流地址(本地)
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',// 郭圣雄远程
// FILEURL:'http://182.90.224.237:51234/image/',//郭圣雄远程
// UPLOADURL:'http://42.180.188.17:11211/upload/image',//测试
@@ -67,7 +67,7 @@ export default new Vuex.Store({
// FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境
// // WORKFLOWURL: 'http://47.93.215.234:19998/#/workspace/forms',//鞍钢平台工作流地址(弃用)
// // WORKFLOWURL: 'http://47.93.215.234:19098/#/workspace/forms',//鞍钢测试平台工作流地址(弃用)
- // // WORKFLOWURL: 'http://42.180.188.17:19998/#/workspace/forms',//鞍钢平台工作流地址
+ WORKFLOWURL: 'http://42.180.188.17:19998/#/workspace/forms',//鞍钢平台工作流地址
// WORKFLOWURL: "http://42.180.188.17:19098/#/workspace/forms", //鞍钢测试平台工作流地址
//---------------------------------------------------------------------------------------------
// BASEURL: baseUrl
diff --git a/src/views/projectFront/examSystem2/questionManagement/questionManagement.vue b/src/views/projectFront/examSystem2/questionManagement/questionManagement.vue
index 34f7ae0a..63f2b4e5 100644
--- a/src/views/projectFront/examSystem2/questionManagement/questionManagement.vue
+++ b/src/views/projectFront/examSystem2/questionManagement/questionManagement.vue
@@ -90,7 +90,11 @@
style="width: 100%; color: #737996"
@selection-change="handleCheckedCitiesChange"
>
-
+
+
+
+
+
{{ scope.row.type && typeArr[scope.row.type - 1].name }}
@@ -656,7 +660,7 @@ export default {
// + '&endReceiveTime=' + this.time[1] + '&startReceiveTime=' + this.time[0] + '&devName=' + this.devName, {
// fetch(this.$http.defaults.baseURL + 'exam/questionBank/exportXls?&projectSn=' + this.projectSn + "&subjectId=" + this.subjectId,{
let data = {
- projectSn:this.projectSn,
+ projectSn:this.$store.state.projectSn,
subjectId:this.subjectId
}
fetch(this.$http.defaults.baseURL + 'exam/questionBank/exportXls',{
@@ -739,7 +743,7 @@ export default {
},
getExamSubjectList() { // 获取科目类型列表
let data = {
- sn: this.projectSn,
+ projectSn: this.$store.state.projectSn,
}
// listTreeExamSubjectApi(data).then((res) => {
listExamSubjectApi(data).then((res) => {
@@ -752,10 +756,10 @@ export default {
//获取列表数据
getExamSubjectTreeList() {
let data = {
- sn: this.$store.state.projectSn,
+ // projectSn: this.$store.state.projectSn,
}
- listTreeExamSubjectApi(data).then((res) => {
- // listExamSubjectApi(data).then((res) => {
+ // listTreeExamSubjectApi(data).then((res) => {
+ listExamSubjectApi(data).then((res) => {
if (res.code == 200) {
this.level1CompanyData = res.result;
console.log('11111111111111',res);
@@ -777,6 +781,7 @@ export default {
pageSize: this.pageSize,
questionName: this.tableParameter.name,
subjectId: this.subjectId,
+ projectSn: this.$store.state.projectSn
}).then((result) => {
if (result.success) {
console.log(result);
@@ -872,7 +877,8 @@ export default {
optionList:tempOptions,
options:this.questionForm.type == 1 ? this.questionForm.options : multiOptions,
score:this.questionForm.score,
- subjectId:this.subjectId,
+ subjectId:this.questionForm.subjectId,
+ projectSn:this.$store.state.projectSn
}).then(result => {
if (result.success) {
this.$message.success(result.message);
@@ -914,7 +920,7 @@ export default {
options:this.questionForm.type == 1 ? option : multiOptions,
score:this.questionForm.score,
subjectId:this.subjectId,
- projectSn: this.projectSn,
+ projectSn: this.$store.state.projectSn,
}).then(result => {
if (result.success) {
console.log('信息添加成功', result);
@@ -941,7 +947,8 @@ export default {
// 预览
previewDialog(item) {
detailIdQuestionBankApi({
- id: item.id
+ id: item.id,
+ projectSn: this.$store.state.projectSn
}).then(result => {
if (result.success) {
this.questionForm = result.result;
@@ -1072,7 +1079,7 @@ export default {
refreshBtn() {
window._paq.push(['trackEvent', '点击', '刷新', '刷新人员信息'])
this.page = 1
-
+
this.tableParameter.name = ''
// this.tableParameter.workerName = ''
// this.tableParameter.inserviceType = ''
@@ -1144,7 +1151,8 @@ export default {
moveQuestionBankApi({
id:this.editQuestion.id,
- subjectId:this.subjectId2
+ subjectId:this.subjectId2,
+ projectSn: this.$store.state.projectSn
}).then(result => {
if (result.success) {
this.$message.success(result.message);
diff --git a/src/views/projectFront/examSystem2/subjectManagement/subjectManagement.vue b/src/views/projectFront/examSystem2/subjectManagement/subjectManagement.vue
index 1b600a2a..55588df9 100644
--- a/src/views/projectFront/examSystem2/subjectManagement/subjectManagement.vue
+++ b/src/views/projectFront/examSystem2/subjectManagement/subjectManagement.vue
@@ -139,7 +139,7 @@ export default {
//获取列表数据
getExamSubjectList() {
let data = {
- // sn: this.projectSn,
+ projectSn: this.projectSn,
pageNo: this.pagInfo.pageNo,
pageSize: this.pagInfo.pageSize,
}
From 13c0c5b1d565ff5602399493a0147a5cb23fc4d8 Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Wed, 5 Jun 2024 15:16:25 +0800
Subject: [PATCH 4/4] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/js/http.js | 4 +-
src/components/centerChange.vue | 34 ++++-
src/components/header.vue | 24 ++-
src/components/userChange.vue | 138 +++++++++++-------
src/views/companyAdmin/layout.vue | 27 +++-
.../equipmentCenter/laborManage/devConfig.vue | 6 +-
src/views/infoCenter/layout.vue | 27 +++-
.../projectFront/carManage/carManage.vue | 2 +-
.../projectFront/carManage/realTimeData.vue | 17 +++
src/views/supplierAdmin/layout.vue | 26 +++-
src/views/userCenter/layout.vue | 28 +++-
src/views/workSpace/index.vue | 1 +
12 files changed, 262 insertions(+), 72 deletions(-)
diff --git a/src/assets/js/http.js b/src/assets/js/http.js
index d257c7a7..d8b3c583 100644
--- a/src/assets/js/http.js
+++ b/src/assets/js/http.js
@@ -82,9 +82,9 @@ if (process.env.NODE_ENV == "development") {
// axios.defaults.baseURL ='http://huli.zjzhiliao.com/jxjgdapi/' //金林湾测试线上
// axios.defaults.baseURL ='http://101.43.164.214:45001/' //上海张江
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
- // axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
+ axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
- axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
+ // axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
diff --git a/src/components/centerChange.vue b/src/components/centerChange.vue
index 28b2dea8..37eb54f2 100644
--- a/src/components/centerChange.vue
+++ b/src/components/centerChange.vue
@@ -13,6 +13,16 @@
个人中心
+
+ {{item.moduleName}}
+
+
+
@@ -45,15 +55,35 @@