1
This commit is contained in:
@ -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"
|
||||||
|
@ -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;
|
||||||
|
@ -112,7 +112,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"
|
||||||
|
Reference in New Issue
Block a user