From f112e2c62b6fca7b115dd37e34dc19dbcbc91d15 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 07 三月 2025 14:52:41 +0800 Subject: [PATCH] 样式优化 --- src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue | 31 +++++-------------------------- 1 files changed, 5 insertions(+), 26 deletions(-) diff --git a/src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue b/src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue index 4321fb6..d7b606c 100644 --- a/src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue +++ b/src/views/CNAS/process/method/standardNoveltyRetrieval/index.vue @@ -13,14 +13,14 @@ </el-form> </div> <div> - <el-button size="medium" type="primary" @click="openApprovalDialog1">寤� 妗�</el-button> - <el-upload ref='upload' :action="action" :before-upload="beforeUpload" :headers="headers" :on-error="onError" + <el-button size="small" type="primary" @click="openApprovalDialog1">寤� 妗�</el-button> + <el-upload ref='upload' :action="action" :before-upload="beforeUpload" :headers="uploadHeader" :on-error="onError" :on-success="handleSuccessUp" :show-file-list="false" accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar' style="display: inline-block; margin-left: 10px;"> - <el-button :loading="upLoading" size="medium" type="primary">瀵煎叆</el-button> + <el-button :loading="upLoading" size="small" type="primary">瀵煎叆</el-button> </el-upload> - <el-button size="medium" style="margin-left: 10px;" type="primary" @click="openFormDia">鏂� 澧�</el-button> + <el-button size="small" style="margin-left: 10px;" type="primary" @click="openFormDia">鏂� 澧�</el-button> </div> </div> <div> @@ -96,6 +96,7 @@ addSearchNewArchived, exportMethodSearchNew, pageMethodSearchNew, pageSearchNewArchived, pageSearchNewBackups, ratifySearchNewArchivedr } from '@/api/cnas/process/method/standardNoveltyRetrieval' +import {selectUserCondition} from "@/api/performance/class"; export default { name: 'a7-standard-novelty-retrieval', @@ -468,7 +469,6 @@ writeDate: '', ratifyDate: '', }, - userList: [], approvalDialog: false, approvalDialog1: false, viewRocordDia: false, @@ -670,30 +670,9 @@ this.oldPage.size = page.limit this.searchList(); }, - // - getUserList() { - this.$axios.post(this.$api.user.selectUserList, { - page: { current: -1, size: -1, }, - entity: { name: null } - }, { - headers: { - 'Content-Type': 'application/json' - } - }).then(res => { - if (res.code === 201) { - return - } - this.userList = res.data.body.records - }) - }, }, // 鐢ㄤ簬涓婁紶鏂囦欢鐨勪俊鎭� computed: { - headers() { - return { - 'token': sessionStorage.getItem('token') - } - }, action() { return this.javaApi + '/processMethodSearchNew/importMethodSearchNew' } -- Gitblit v1.9.3