修改
This commit is contained in:
@ -6,7 +6,7 @@ VITE_APP_ENV = 'development'
|
|||||||
|
|
||||||
# 开发环境
|
# 开发环境
|
||||||
# 李陈杰 209
|
# 李陈杰 209
|
||||||
VITE_APP_BASE_API = 'http://192.168.110.180:8899'
|
VITE_APP_BASE_API = 'http://192.168.110.158:8899'
|
||||||
# 曾涛
|
# 曾涛
|
||||||
# VITE_APP_BASE_API = 'http://192.168.110.180:8899'
|
# VITE_APP_BASE_API = 'http://192.168.110.180:8899'
|
||||||
# 罗成
|
# 罗成
|
||||||
|
@ -21,7 +21,7 @@ export const AddbiddingUser = (data) => {
|
|||||||
data
|
data
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
// 新增招投标人员
|
// 查询招投标人员
|
||||||
export const biddingUserList = (projectId) => {
|
export const biddingUserList = (projectId) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/bidding/biddingUser/list',
|
url: '/bidding/biddingUser/list',
|
||||||
|
@ -96,10 +96,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="toggleExpandAll(true)">一键展开</el-button>
|
<el-button type="primary" @click="toggleExpandAll">{{ isExpandAll ? '一键收起' : '一键展开' }}</el-button>
|
||||||
</el-form-item>
|
|
||||||
<el-form-item>
|
|
||||||
<el-button type="primary" @click="toggleExpandAll(false)">一键收起</el-button>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-card>
|
</el-card>
|
||||||
@ -413,11 +410,12 @@ const changeSheet = () => {
|
|||||||
getTreeList();
|
getTreeList();
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleExpandAll = (isExpand: boolean) => {
|
const toggleExpandAll = () => {
|
||||||
|
isExpandAll.value = !isExpandAll.value;
|
||||||
|
console.log(isExpandAll.value);
|
||||||
treeData.value.forEach((row) => {
|
treeData.value.forEach((row) => {
|
||||||
treeTableRef.value.toggleRowExpansion(row, isExpand);
|
treeTableRef.value.toggleRowExpansion(row, isExpandAll.value);
|
||||||
});
|
});
|
||||||
isExpandAll.value = isExpand;
|
|
||||||
};
|
};
|
||||||
//打开获取表数据
|
//打开获取表数据
|
||||||
const getTreeList = async () => {
|
const getTreeList = async () => {
|
||||||
|
@ -14,11 +14,9 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="toggleExpandAll(true)">一键展开</el-button>
|
<el-button type="primary" @click="toggleExpandAll">{{ isExpandAll ? '一键收起' : '一键展开' }}</el-button>
|
||||||
</el-form-item>
|
|
||||||
<el-form-item>
|
|
||||||
<el-button type="primary" @click="toggleExpandAll(false)">一键收起</el-button>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-upload
|
<el-upload
|
||||||
ref="uploadRef"
|
ref="uploadRef"
|
||||||
@ -274,11 +272,12 @@ const handleSave = (row?: any, type?: any) => {
|
|||||||
};
|
};
|
||||||
const tableRef = ref<any>();
|
const tableRef = ref<any>();
|
||||||
|
|
||||||
const toggleExpandAll = (isExpand: boolean) => {
|
const toggleExpandAll = () => {
|
||||||
|
isExpandAll.value = !isExpandAll.value;
|
||||||
|
console.log(isExpandAll.value);
|
||||||
tableData.value.forEach((row) => {
|
tableData.value.forEach((row) => {
|
||||||
tableRef.value.toggleRowExpansion(row, isExpand);
|
tableRef.value.toggleRowExpansion(row, isExpandAll.value);
|
||||||
});
|
});
|
||||||
isExpandAll.value = isExpand;
|
|
||||||
};
|
};
|
||||||
//导入
|
//导入
|
||||||
const importExcel = (options: any): any => {
|
const importExcel = (options: any): any => {
|
||||||
|
@ -17,10 +17,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="toggleExpandAll(true)">一键展开</el-button>
|
<el-button type="primary" @click="toggleExpandAll">{{ isExpandAll ? '一键收起' : '一键展开' }}</el-button>
|
||||||
</el-form-item>
|
|
||||||
<el-form-item>
|
|
||||||
<el-button type="primary" @click="toggleExpandAll(false)">一键收起</el-button>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
@ -163,11 +160,12 @@ const changeSheet = (val: any) => {
|
|||||||
getTableData();
|
getTableData();
|
||||||
};
|
};
|
||||||
//展开树
|
//展开树
|
||||||
const toggleExpandAll = (isExpand: boolean) => {
|
const toggleExpandAll = () => {
|
||||||
|
isExpandAll.value = !isExpandAll.value;
|
||||||
|
console.log(isExpandAll.value);
|
||||||
tableData.value.forEach((row) => {
|
tableData.value.forEach((row) => {
|
||||||
tableRef.value.toggleRowExpansion(row, isExpand);
|
tableRef.value.toggleRowExpansion(row, isExpandAll.value);
|
||||||
});
|
});
|
||||||
isExpandAll.value = isExpand;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//获取版本号
|
//获取版本号
|
||||||
|
Reference in New Issue
Block a user