From cbf34ff9312073e96a43fd1fa5d41c6d42b352bd Mon Sep 17 00:00:00 2001
From: xzg <4727863@qq.com>
Date: Thu, 11 Jan 2024 17:00:36 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A7=92=E8=89=B2=E5=8F=82?=
=?UTF-8?q?=E6=95=B0=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/aftersales/aftersalesWorkOrder.vue | 16 ++++++----------
src/views/aftersales/aftersalesWorkOrderAdd.vue | 6 +++---
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue
index 17fa6c49..d0508562 100644
--- a/src/views/aftersales/aftersalesWorkOrder.vue
+++ b/src/views/aftersales/aftersalesWorkOrder.vue
@@ -1113,19 +1113,16 @@ const IndexTable = val => {
columnList[2].checkarr = []; //重置下拉搜索框
columnList[3].checkarr = [];
-
updateDictionary(columnList[2].checkarr, 'pc_work_order'); //异常类型
updateDictionary(columnList[3].checkarr, 'pc_discovery_node'); //发现环节
updateDictionary(columnList[17].checkarr, 'work_order_status'); //发现环节
// 获取角色权限
getDictionaryBiz('after_sales_visits').then(res => {
-
console.log(res, '角色字典');
const matchingItem = res.data.data.find(
item => item.dictValue == JSON.parse(localStorage.getItem('TWMS-userInfo')).content.role_name
);
if (matchingItem) {
-
console.log(TabList.value, '导航');
UserPermissions.value = matchingItem.dictValue;
console.log(matchingItem.dictValue, '角色');
@@ -1140,11 +1137,11 @@ const IndexTable = val => {
}
console.log(UserPermissions.value, '当前角色权限');
let data = {
- workOrderStatus:TabPermissions.value == '0' && UserPermissions.value == '仓库客服' ? '1000' : null,//不可调整顺序
- ...val,//接收搜索参数值
- current:page.value.currentPage, //页码
- size:page.value.pageSize, //条数
- };
+ workOrderStatus:TabPermissions.value == '0' && UserPermissions.value == '仓库客服' ? '1000' : null, //不可调整顺序
+ ...val, //接收搜索参数值
+ current: page.value.currentPage, //页码
+ size: page.value.pageSize, //条数
+ };
$_getList(data).then(res => {
Tableheaderswitching(columnList);
console.log(res, '初始化返回值');
@@ -1248,8 +1245,7 @@ const OnLoad = () => {
console.log(data, '要提交的数据');
updateDictionary(columnList[2].checkarr, 'pc_work_order'); //异常类型
updateDictionary(columnList[3].checkarr, 'pc_discovery_node'); //发现环节
-
- IndexTable(details.query);
+ IndexTable();
getDeptWarehouse({}).then(res => {
res.data.data.forEach(item => {
warehouseData.value.push({
diff --git a/src/views/aftersales/aftersalesWorkOrderAdd.vue b/src/views/aftersales/aftersalesWorkOrderAdd.vue
index 3c617f85..55618a98 100644
--- a/src/views/aftersales/aftersalesWorkOrderAdd.vue
+++ b/src/views/aftersales/aftersalesWorkOrderAdd.vue
@@ -97,7 +97,7 @@
:content="item.orderCode ? item.orderCode : '订单自编号'"
placement="top"
>
-