解决冲突

This commit is contained in:
Teo
2025-08-29 16:17:24 +08:00
4 changed files with 10 additions and 4 deletions

View File

@ -14,7 +14,6 @@ import Header from './components/header.vue';
import leftPage from './components/leftPage.vue'; import leftPage from './components/leftPage.vue';
import centerPage from './components/centerPage.vue'; import centerPage from './components/centerPage.vue';
import rightPage from './components/rightPage.vue'; import rightPage from './components/rightPage.vue';
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@ -5,7 +5,12 @@
<div class="bg-gradient-to-r from-blue-500 to-blue-600 text-white p-6"> <div class="bg-gradient-to-r from-blue-500 to-blue-600 text-white p-6">
<h2 class="text-2xl font-bold flex items-center"><i class="el-icon-user-circle mr-3"></i>人员配置</h2> <h2 class="text-2xl font-bold flex items-center"><i class="el-icon-user-circle mr-3"></i>人员配置</h2>
<p class="text-blue-100 mt-2 opacity-90">请配置项目相关负责人员信息</p> <p class="text-blue-100 mt-2 opacity-90">请配置项目相关负责人员信息</p>
<el-button @click="disabledForm = false" class="px-8 py-2.5 transition-all duration-300 font-medium" v-if="disabledForm"> <el-button
@click="disabledForm = false"
v-hasPermi="['design:user:list']"
class="px-8 py-2.5 transition-all duration-300 font-medium"
v-if="disabledForm"
>
点击编辑 点击编辑
</el-button> </el-button>
</div> </div>
@ -220,7 +225,7 @@
</div> </div>
<!-- 提交按钮区域 --> <!-- 提交按钮区域 -->
<div class="flex justify-center space-x-6 mt-8 pt-6 border-t border-gray-100"> <div class="flex justify-center space-x-6 mt-8 pt-6 border-t border-gray-100">
<el-button <el-button
type="primary" type="primary"
size="large" size="large"

View File

@ -436,6 +436,8 @@ const disabledForm = ref(true); // 初始禁用表单(编辑时开启)
/** 查询当前部门的所有用户(确保用户列表有效) */ /** 查询当前部门的所有用户(确保用户列表有效) */
const getDeptAllUser = async (deptId: number | undefined) => { const getDeptAllUser = async (deptId: number | undefined) => {
console.log(1111111111111);
if (!deptId) { if (!deptId) {
ElMessage.warning('请先选择部门'); ElMessage.warning('请先选择部门');
return; return;

View File

@ -114,7 +114,7 @@
<el-button <el-button
type="primary" type="primary"
@click="submitForm" @click="submitForm"
v-hasPermi="['design:collect:add']" v-hasPermi="['design:collect:batch']"
v-if="!form.id || form.status == 'draft'" v-if="!form.id || form.status == 'draft'"
size="large" size="large"
class="px-8 transition-all hover:bg-blue-600" class="px-8 transition-all hover:bg-blue-600"