diff --git a/src/api/quality/income.js b/src/api/quality/income.js index 6b98800..c79debc 100644 --- a/src/api/quality/income.js +++ b/src/api/quality/income.js @@ -252,3 +252,16 @@ export function getClassInfoListByCheckType(query) { params: query }); } + +//状态修改 +export function submitCheckPics(recordId,fileList) { + const data = { + recordId, + fileList + } + return request({ + url: '/quality/qcIncome/submitCheckPics', + method: 'put', + data: data + }) +} \ No newline at end of file diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index b974304..288daf7 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -314,14 +314,14 @@ export default { this.poolNameList = JSON.parse(localStorage.getItem("POOL_NAME_LIST")); this.poolName = localStorage.getItem("USER_POOL_NAME_CURRENT"); - //先执行一次 - this.getUnReadList(); - // 实现轮询 - this.timer = setInterval(() => { - setTimeout(this.getUnReadList(), 30000); - }, 30000); - - + if(process.env.VUE_APP_BASE_API !='/dev-api'){ + //先执行一次 + this.getUnReadList(); + // 实现轮询 + this.timer = setInterval(() => { + setTimeout(this.getUnReadList(), 30000); + }, 30000); + } }, components: { Breadcrumb, diff --git a/src/views/plan/workorder/index.vue b/src/views/plan/workorder/index.vue index c45a128..896c6fe 100644 --- a/src/views/plan/workorder/index.vue +++ b/src/views/plan/workorder/index.vue @@ -1033,7 +1033,6 @@ export default { }, // 派发-工单派发按钮操作 handleUpdateDown(row) { - var statusesArray = this.statuses; for (var i = 0; i < statusesArray.length; i++) { if (statusesArray[i] != 'w0') {//已经下达的不允许操作 diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue index 672cea7..c20e284 100644 --- a/src/views/quality/qcIncome/checkProjectType.vue +++ b/src/views/quality/qcIncome/checkProjectType.vue @@ -259,7 +259,7 @@ :on-success="handleUploadSuccess" list-type="picture-card" :file-list="fileList" - :auto-upload="false"> + >