diff --git a/src/views/ctr/index.vue b/src/views/ctr/index.vue index c46404a..1cb9d4b 100644 --- a/src/views/ctr/index.vue +++ b/src/views/ctr/index.vue @@ -1,440 +1,439 @@ +
+ 上一步 + 下一步
- - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/src/views/materials/appointment/index.vue b/src/views/materials/appointment/index.vue index cda181e..710abb2 100644 --- a/src/views/materials/appointment/index.vue +++ b/src/views/materials/appointment/index.vue @@ -10,7 +10,7 @@ @click="isDisabled = false" class="px-8 py-2.5 transition-all duration-300 font-medium" v-if="isDisabled" - v-hasPermi="['ailiaoshebei:purchaseUser:byProject']" + v-hasPermi="['cailiaoshebei:purchaseUser:addOrUpdate']" > 点击编辑 @@ -38,7 +38,7 @@ @click="submitForm" icon="Check" class="px-8 py-2.5 transition-all duration-300 transform hover:scale-105 bg-blue-500 hover:bg-blue-600 text-white font-medium" - v-hasPermi="['cailiaoshebei:purchaseUser:add']" + v-hasPermi="['cailiaoshebei:purchaseUser:addOrUpdate']" > 确认提交 @@ -121,6 +121,7 @@ const designUser = async () => { return; } Object.assign(form, res.data); + // form.userId = res.data.userId; isDisabled.value = true; } } catch (error) { diff --git a/src/views/tender/plan/index.vue b/src/views/tender/plan/index.vue index dfc29b3..63a4eff 100644 --- a/src/views/tender/plan/index.vue +++ b/src/views/tender/plan/index.vue @@ -167,10 +167,7 @@ - 一键展开 - - - 一键收起 + {{ isExpandAll ? '一键收起' : '一键展开' }} @@ -514,11 +511,12 @@ const changeSheet = () => { getTreeList(); }; -const toggleExpandAll = (isExpand: boolean) => { +const toggleExpandAll = () => { + isExpandAll.value = !isExpandAll.value; + console.log(isExpandAll.value); treeData.value.forEach((row) => { - treeTableRef.value.toggleRowExpansion(row, isExpand); + treeTableRef.value.toggleRowExpansion(row, isExpandAll.value); }); - isExpandAll.value = isExpand; }; //打开获取表数据 const getTreeList = async () => {