chengxiangling
2025-05-16 af1c9e588f1de0240390648f9bb56aa486870aff
src/views/basicData/resourceGroup/index.vue
@@ -1,10 +1,10 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="90px">
    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-position="left" >
      <el-row :gutter="20">
        <el-col
        :span="6">
      <el-form-item label="资源组" prop="resourceGroupName">
      <el-form-item label="资源组" label-width="60px" prop="resourceGroupName">
        <el-input
          v-model="queryParams.resourceGroupName"
          placeholder="请输入资源组名称"
@@ -15,7 +15,7 @@
        </el-col>
        <el-col
        :span="6">
      <el-form-item label="截止机加需求日期" style="width: 400px" label-width="150px">
      <el-form-item label="截止机加需求日期" style="width: 400px" label-width="140px">
        <el-date-picker
          v-model="daterangeRequestDate"
          value-format="YYYY-MM-DD"
@@ -26,14 +26,14 @@
        ></el-date-picker>
      </el-form-item>
        </el-col>
        <el-col
        <!-- <el-col
          :span="12"
          style="text-align: right;">
      <el-form-item>
        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
      </el-form-item>
        </el-col>
        </el-col> -->
      </el-row>
    </el-form>
@@ -56,7 +56,10 @@
          v-hasPermi="['ApsResourceGroup:ApsResourceGroup:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
      <right-toolbar v-model:showSearch="showSearch"
        @queryTable="handleQuery"
        @resetTable="resetQuery"
      ></right-toolbar>
    </el-row>
    <HxlhTable
@@ -161,7 +164,7 @@
import HxlhTable from '@/components/HxlhTable/index.vue'
import { getToken } from "@/utils/auth.js";
import { ref } from "vue";
import { ElMessage } from 'element-plus'
// import { ElMessage } from 'element-plus'
const { proxy } = getCurrentInstance();
const ApsResourceGroupList = ref([]);
@@ -175,7 +178,7 @@
const title = ref("");
const daterangeRequestDate = ref([]);
//弹窗相关
const height = ref(document.documentElement.clientHeight - 230 + "px;")
const height = ref(document.documentElement.clientHeight - 220 + "px;")
const isVisible = ref(false);
const isError = ref(false);
const planned = ref(true);