From 4d0a487dc5f6b8dc15a8177d519f76ebaeb0d2ee Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 13 三月 2025 17:19:39 +0800
Subject: [PATCH] 原材料下单样式修改
---
src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue | 56 +++++---------------------------------------------------
1 files changed, 5 insertions(+), 51 deletions(-)
diff --git a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
index 23651f0..b00e8cb 100644
--- a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
+++ b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
@@ -34,8 +34,6 @@
</div>
</div>
<div class="table">
- <!-- <ValueTable ref="ValueTable" :url="$api.manageRecordTotal.pageManageRecordTotal"
- :componentData="componentData" :key="upIndex" /> -->
<lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading"
:height="'calc(100vh - 280px)'" @pagination="pagination"></lims-table>
</div>
@@ -95,7 +93,6 @@
<script>
import limsTable from "@/components/Table/lims-table.vue";
import filePreview from '@/components/Preview/filePreview.vue'
-import ValueTable from '@/components/Table/value-table.vue'
import {
addManageRecordVerify,
pageManageRecordVerify,
@@ -107,7 +104,6 @@
} from '@/api/cnas/systemManagement/documentRecords.js'
export default {
components: {
- ValueTable,
filePreview,
limsTable,
},
@@ -173,8 +169,8 @@
{
name: "鎵瑰噯",
type: "text",
- clickFun: (handleApproval) => {
- this.handleSubmit(row);
+ clickFun: (row) => {
+ this.handleApproval(row);
},
disabled: (row) => {
return !row.submitUserName || !!row.ratifyUserName
@@ -253,45 +249,6 @@
this.getList0()
},
methods: {
- getPower() {
- let power = JSON.parse(sessionStorage.getItem('power'))
- let add = false
- let del = false
- let up = false;
- let sub = false
- let ratify = false
- for (var i = 0; i < power.length; i++) {
- if (power[i].menuMethod == 'addManageRecordVerify') {
- add = true
- }
- if (power[i].menuMethod == 'delManageRecordVerify') {
- del = true
- }
- if (power[i].menuMethod == 'exportManageRecordVerify') {
- up = true
- }
- if (power[i].menuMethod == 'submitManageRecordTotal') {
- sub = true
- }
- if (power[i].menuMethod == 'ratifyManageRecordTotal') {
- ratify = true
- }
- }
- if (!ratify) {
- this.componentData.do.splice(3, 1)
- }
- if (!sub) {
- this.componentData.do.splice(2, 1)
- }
- if (!del) {
- this.componentData0.do.splice(1, 1)
- }
- if (!add) {
- this.componentData0.do.splice(0, 1)
- }
- this.addPower = add
- this.upPower = up
- },
openAdd(title, row) {
this.title = title;
if (row) {
@@ -397,8 +354,7 @@
}).catch(err => { });
},
handleDown0(row) {
- let url = this.javaApi + '/word/' + row.url
- this.$download.saveAs(url, '澶栨潵鏂囦欢纭璁板綍')
+ this.$download.saveAs(row.url, '澶栨潵鏂囦欢纭璁板綍')
},
// 鎻愪氦
handleSubmit(row) {
@@ -414,7 +370,7 @@
type: 'success',
message: '鎻愪氦鎴愬姛!'
});
- this.refreshTable()()
+ this.refreshTable()
}).catch(err => { });
})
},
@@ -436,12 +392,11 @@
}).then(res => {
this.checkLoading = false
this.noCheckLoading = false
- if (res.code === 201) return
this.$message({
type: 'success',
message: '鎿嶄綔鎴愬姛!'
});
- this.refreshTable()()
+ this.refreshTable()
this.lookDialogVisible = false
}).catch(err => { });
},
@@ -453,7 +408,6 @@
})
.then(() => {
delManageRecordVerify({ id: row.id }).then((res) => {
- if (res.code == 201) return;
this.$message.success("鍒犻櫎鎴愬姛");
this.getList0()
});
--
Gitblit v1.9.3