shj
2022-07-12 870d0b78a4da7ee5ec4ba9c18609a3ca09621e78
src/views/goalManagement/targetSettings/index.vue
@@ -9,7 +9,7 @@
            <div class="btns">
              <div>
                <el-button type="primary" :icon="Plus" @click="openD('新建')">新建</el-button>
                <el-button type="danger" :icon="Delete">删除</el-button>
                <el-button type="danger" :icon="Delete" plain>删除</el-button>
              </div>
              <div>
                <el-button :icon="Upload" @click="upButton"></el-button>
@@ -24,7 +24,6 @@
            ref="multipleTableRef"
            :data="tableData"
            style="width: 100%"
            @selection-change="handleSelectionChange"
          >
            <el-table-column
              label="序号"
@@ -91,10 +90,10 @@
              show-overflow-tooltip
            >
              <template #default>
                <el-button link type="primary" size="small" :icon="View" @click="handleClick"
                <el-button link type="primary" size="default" :icon="View" @click="handleClick"
                  >查看</el-button
                >
                <el-button link type="primary" size="small" :icon="Delete">删除</el-button>
                <el-button link type="primary" size="default" :icon="Delete">删除</el-button>
              </template>
            </el-table-column>
          </el-table>
@@ -118,7 +117,7 @@
</template>
<script lang="ts">
import dailogAdd from './component/dailogAdd.vue'
import upData from './component/updata.vue'
import upData from '../../../components/updata/updata.vue'
import search from './component/search.vue'
import { ref, toRefs, reactive, onMounted, defineComponent } from "vue";
import {
@@ -196,6 +195,9 @@
    ];
    const currentPage4 = ref(4);
    const pageSize4 = ref(100);
    const small = ref(false)
    const disabled = ref(false)
    const background = ref(false)
    const handleSizeChange = (val: number) => {
      console.log(`${val} items per page`);
    };
@@ -226,6 +228,9 @@
      openD,
      upShow,
      upButton,
      small,
      disabled,
      background,
      Plus,
      Delete,
      Upload,