+
资料 {{ index + 1 }}
-
+
删除
-
-
+
+
@@ -85,39 +71,16 @@
- 确认提交
- 审核
- 重新发起审核
- 查看流程
- 导出
+ 确认提交
+ 审核
+ 重新发起审核
+ 查看流程
+ 导出
@@ -130,13 +93,15 @@ import { useUserStoreHook } from '@/store/modules/user';
import { ElMessage, ElLoading } from 'element-plus';
import { systemUserList } from '@/api/design/appointment';
import { collectBatch, byProjectId, exportWord } from '@/api/design/received';
+import { getUser } from '@/api/system/user';
+// 用户状态管理
// 获取用户 store
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const userStore = useUserStoreHook();
// 从 store 中获取当前选中的项目
const currentProject = computed(() => userStore.selectedProject);
const { des_user_major } = toRefs
(proxy?.useDict('des_user_major'));
-
+const userId = computed(() => userStore.userId);
// 表单引用
const mainFormRef = ref();
// 用户列表
@@ -314,12 +279,27 @@ const onView = () => {
}
});
};
+/** 获取当前用户详情 */
+const getUserDetail = async () => {
+ try {
+ const res = await getUser(userId.value);
+ // userInfo.value = res.data.user;
+ form.userId = res.data.user.userId;
+ form.phone = res.data.user.phonenumber;
+ form.email = res.data.user.email;
+ } catch (err) {
+ ElMessage.error('获取用户信息失败');
+ }
+};
+
// 页面挂载时初始化数据
onMounted(() => {
// 可以在这里添加初始化逻辑
+ getUserDetail();
getDeptAllUser(userStore.deptId).then(() => {
byProjectIdAll();
});
+
});
const onLoad = async () => {
// 导出接口
diff --git a/src/views/materials/batchPlan/indexEdit.vue b/src/views/materials/batchPlan/indexEdit.vue
index b5656a6..8e3a50d 100644
--- a/src/views/materials/batchPlan/indexEdit.vue
+++ b/src/views/materials/batchPlan/indexEdit.vue
@@ -3,18 +3,13 @@
-
+
-
+
物资设备批次需求计划
@@ -25,7 +20,8 @@
-
+
@@ -54,14 +50,8 @@
-
+
请选择要启动的流程:
@@ -70,12 +60,10 @@
@@ -123,7 +111,7 @@ const approvalRecordRef = ref>();
const flowCodeOptions = [
{
value: currentProject.value?.id + '_mrp',
- label: '物资供应总计划审批'
+ label: '物资需求计划审核'
}
];
diff --git a/src/views/materials/materialsEquipment/materialReceive/index.vue b/src/views/materials/materialsEquipment/materialReceive/index.vue
index 6e14b99..ab997cf 100644
--- a/src/views/materials/materialsEquipment/materialReceive/index.vue
+++ b/src/views/materials/materialsEquipment/materialReceive/index.vue
@@ -1,6 +1,7 @@
-
+
@@ -11,7 +12,8 @@
-
+
@@ -23,9 +25,11 @@
- 搜索
+ 搜索
- 重置
+ 重置
@@ -36,18 +40,12 @@
- 新增
+ 新增
- 删除
+ 删除
@@ -70,24 +68,21 @@
-
+
-
+
-
+
@@ -106,11 +101,10 @@
-
-
+
+
@@ -122,8 +116,7 @@
-
+
@@ -146,53 +139,38 @@
-
+
-
+
-
+
-
+
-
+
-
+
*自动计算(数量-验收数量)
@@ -232,12 +210,13 @@
- 注意:请上传doc/xls/ppt/txt/pdf/png/jpg/jpeg/zip格式文件
+ 注意:请上传doc/xls/ppt/txt/pdf/png/jpg/jpeg/zip格式文件
-
+
{{ dict.label }}
@@ -246,9 +225,7 @@
{{ dict.label }}
-->
-
+
diff --git a/src/views/materials/usageMaterials/purchase/index.vue b/src/views/materials/usageMaterials/purchase/index.vue
index f8e60ea..84d24cb 100644
--- a/src/views/materials/usageMaterials/purchase/index.vue
+++ b/src/views/materials/usageMaterials/purchase/index.vue
@@ -1,37 +1,25 @@
-
+
新增
-
+
刷新
-
-
+ :row-class-name="tableRowClassName">
+
+
+
@@ -55,49 +43,25 @@
-
-
-
-
+
+
+
+
-
+
-
+
@@ -141,12 +105,8 @@
-
+
@@ -159,7 +119,8 @@
-
+
diff --git a/src/views/out/designCompletion/index.vue b/src/views/out/designCompletion/index.vue
index efc5e82..ecdb6ab 100644
--- a/src/views/out/designCompletion/index.vue
+++ b/src/views/out/designCompletion/index.vue
@@ -1,11 +1,19 @@
-
+
-
+
+
+
+
+
+
+
搜索
@@ -22,13 +30,18 @@
-
+
+
+ 对甲
+ 对乙
+
+
@@ -41,15 +54,16 @@
- 编辑
+ 编辑
- 审核
+ 审核
-
+
@@ -60,14 +74,8 @@
-
+