From ceec89801ad69708c33babb90d4f9d9ebfd8e3f9 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 27 八月 2026 16:20:42 +0800
Subject: [PATCH] fix(order): -移除英文字段验证 - 删除与OA流程相关的无用代码和组件 - 移除系统用户管理中的获取三方人员功能 - 更新设备二维码链接使用动态API地址 - 清理不合格处理页面中的OA相关功能和字段 - 移除登录页面的集团集成登录按钮 - 删除未使用的API接口和组件引用
---
src/views/business/unpass/index-manage.vue | 133 ++++----------------------------------------
1 files changed, 13 insertions(+), 120 deletions(-)
diff --git a/src/views/business/unpass/index-manage.vue b/src/views/business/unpass/index-manage.vue
index 12c203a..0e07476 100644
--- a/src/views/business/unpass/index-manage.vue
+++ b/src/views/business/unpass/index-manage.vue
@@ -28,52 +28,33 @@
:page="page" :tableLoading="tableLoading"></lims-table>
</div>
<el-dialog
- title="鎻愪氦"
- :show-close="false"
- :close-on-press-escape="false"
- :close-on-click-modal="false"
- :visible.sync="dialogVisible"
- width="30%">
- <span>鏄惁纭鎻愪氦OA锛�</span>
- <span slot="footer" class="dialog-footer">
- <el-button @click="dialogVisible = false">鍙� 娑�</el-button>
- <el-button type="primary" @click="submitOA" :loading="submitOALoading">纭� 瀹�</el-button>
- </span>
- </el-dialog>
- <el-dialog
title="鍒犻櫎"
:show-close="false"
:close-on-press-escape="false"
:close-on-click-modal="false"
:visible.sync="deleteVisible"
width="30%">
- <span>鏄惁纭<span style="color: #FF4902">鍒犻櫎</span>OA锛�</span>
+ <span>鏄惁纭<span style="color: #FF4902">鍒犻櫎</span>璇ヨ褰曪紵</span>
<span slot="footer" class="dialog-footer">
<el-button @click="deleteVisible = false">鍙� 娑�</el-button>
- <el-button type="primary" @click="cancelOA" :loading="cancelOALoading">纭� 瀹�</el-button>
+ <el-button type="primary" @click="deleteRecord" :loading="deleteLoading">纭� 瀹�</el-button>
</span>
</el-dialog>
<UnPassDialog ref="unPassDialog" v-if="unPassDialog"
:orderId="orderId"
@resetForm="resetForm1"
:unPassDialog="unPassDialog"></UnPassDialog>
- <OAProcess ref="OAProcess"
- :OAProcess="OAProcess"
- @closeOAProcess="closeOAProcess"
- v-if="OAProcess"></OAProcess>
</div>
</template>
<script>
import UnPassDialog from "./components/unPassDialog.vue";
-import OAProcess from "./components/OAProcess.vue";
import limsTable from "@/components/Table/lims-table.vue";
-import {deleteUnqualifiedHandler, page, pushOA} from "@/api/business/unqualifiedHandler";
+import {deleteUnqualifiedHandler, page} from "@/api/business/unqualifiedHandler";
export default {
components: {
limsTable,
- OAProcess,
UnPassDialog,
},
data() {
@@ -87,34 +68,6 @@
tableLoading: false,
column: [
{ label: '缂栧彿', prop: 'no', width: "160px", },
- // {
- // label: "OA瀹℃牳鐘舵��",
- // prop: "oaState",
- // width: "100px",
- // dataType: "tag",
- // formatData: (params) => {
- // if (params == 1) {
- // return "寰呭鏍�";
- // } else if(params == 2) {
- // return "瀹℃牳涓�";
- // } else if(params == 3) {
- // return "閫氳繃";
- // } else {
- // return "椹冲洖";
- // }
- // },
- // formatType: (params) => {
- // if (params == 1) {
- // return "warning";
- // } else if(params == 2) {
- // return "info";
- // } else if(params == 3) {
- // return "success";
- // } else {
- // return "danger";
- // }
- // },
- // },
{ label: '璁㈠崟鍙�', prop: 'orderNo' },
{
label: "闆朵欢鍙�",
@@ -190,36 +143,10 @@
width: '180px',
operation: [
{
- name: '鎻愪氦OA',
- type: 'text',
- clickFun: (row) => {
- this.openOA(row);
- },
- disabled: (row, index) => {
- return row.requestId !== null // 鏈塺equestId璇存槑宸茬粡鎻愪氦杩嘜A锛屼笉鍙啀娆℃彁浜�
- },
- showHide: (row) => {
- return this.checkPermi(["unpass:add"]);
- },
- },
- {
- name: '鏌ョ湅OA娴佺▼',
- type: 'text',
- clickFun: (row) => {
- this.OAView(row);
- },
- showHide: (row) => {
- return this.checkPermi(["unpass:view"]);
- },
- },
- {
name: '鍒犻櫎',
type: 'text',
clickFun: (row) => {
- this.deleteOA(row);
- },
- disabled: (row, index) => {
- return row.requestId !== null // 鏈塺equestId璇存槑宸茬粡鎻愪氦杩嘜A锛屼笉鍙啀娆℃彁浜�
+ this.openDelete(row);
},
showHide: (row) => {
return this.checkPermi(["unpass:delete"]);
@@ -234,13 +161,10 @@
current: 1
},
statusList: [],
- dialogVisible: false, // 纭鎻愪氦OA寮规
unPassDialog: false, // 涓嶅悎鏍煎鐞嗗脊妗�
orderId: '',
- OAProcess: false, // OA娴佺▼寮规
- submitOALoading: false, // OA娴佺▼寮规鎻愪氦鎸夐挳loading
- deleteVisible: false, // OA娴佺▼鍒犻櫎寮规
- cancelOALoading: false, // OA娴佺▼鍒犻櫎寮规鎻愪氦鎸夐挳loading
+ deleteVisible: false, // 鍒犻櫎纭寮规
+ deleteLoading: false, // 鍒犻櫎鎸夐挳loading
};
},
mounted() {
@@ -279,58 +203,27 @@
this.$refs.unPassDialog.$refs['unPassForm'].resetFields();
this.unPassDialog = false
},
- // 鎵撳紑鍒犻櫎OA纭寮规
- deleteOA (row) {
+ // 鎵撳紑鍒犻櫎纭寮规
+ openDelete (row) {
this.handlerId = row.handlerId
this.deleteVisible = true
},
- // 鎻愪氦鍒犻櫎鐢宠
- cancelOA () {
+ // 鍒犻櫎璁板綍
+ deleteRecord () {
this.de = true
deleteUnqualifiedHandler({id: this.handlerId,}).then(res => {
- this.cancelOALoading = false
+ this.deleteLoading = false
if (res.code === 200) {
this.deleteVisible = false
this.$message.success('鍒犻櫎鎴愬姛')
this.refreshTable('page')
}
}).catch(error => {
- this.cancelOALoading = false
+ this.deleteLoading = false
console.error(error);
});
},
- // 鏌ョ湅鎻愪氦OA鐨勬暟鎹�
- openOA (row) {
- this.handlerId = row.handlerId
- this.dialogVisible = true
- },
- // 鏌ョ湅OA娴佺▼
- OAView (row) {
- this.OAProcess = true
- this.$nextTick(() => {
- this.$refs.OAProcess.getInfo(row.handlerId)
- })
- },
- // 鍏抽棴鏌ョ湅OA娴佺▼鐨勫脊妗�
- closeOAProcess () {
- this.OAProcess = false
- },
- //鎻愪氦OA
- submitOA(row) {
- // 鎻愪氦OA
- this.submitOALoading = true
- pushOA({handlerId: this.handlerId,}).then(res => {
- this.submitOALoading = false
- if (res.code === 200) {
- this.dialogVisible = false
- this.$message.success('鎻愪氦鎴愬姛')
- this.refreshTable('page')
- }
- }).catch(error => {
- this.submitOALoading = false
- console.error(error);
- });
- }
}
};
</script>
+
--
Gitblit v1.9.3