Compare commits
2 Commits
ca707233fb
...
c024fc8ca2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c024fc8ca2 | ||
|
|
f150a25e63 |
|
|
@ -31,6 +31,7 @@ import { onMounted, ref } from 'vue';
|
|||
|
||||
import { importPriceByExcel } from "@/api/mediaLibrary"
|
||||
|
||||
const emit = defineEmits(['handleReloadList']);
|
||||
const { proxy } = getCurrentInstance()
|
||||
const title = ref('导入报价')
|
||||
const open = ref(false)
|
||||
|
|
@ -54,6 +55,7 @@ const requestDocUpload = (options) => {
|
|||
proxy.$modal.msgSuccess("导入成功")
|
||||
proxy.$modal.closeLoading()
|
||||
open.value = false
|
||||
emit('handleReloadList')
|
||||
} else {
|
||||
proxy.$modal.closeLoading()
|
||||
proxy.$modal.msgError(res.msg);
|
||||
|
|
|
|||
|
|
@ -267,13 +267,13 @@
|
|||
<media-form ref="mediaFormRef" v-if="showForm" @handleShowList="handleShowList" />
|
||||
<media-detail ref="mediaDetailRef" v-if="showDetail" @handleShowList="handleCloseDetail" />
|
||||
<media-logs ref="mediaLogsRef" v-if="showLogs" @handleShowList="handleCloseLogs" />
|
||||
<abolish-dialog ref="abolishRef" @handleReloadList="getMediaPageList" />
|
||||
<abolish-dialog ref="abolishRef" @handleReloadList="handleQuery" />
|
||||
<history-data ref="historyDataRef" />
|
||||
<down-files ref="downFileRef" @downBack="handleDownBack" />
|
||||
<view-file-dialog ref="viewFileRef" />
|
||||
<export-dialog ref="exportDialogRef" />
|
||||
<export-p-p-t-dialog ref="exportPPTDialogRef" />
|
||||
<importPrice ref="importPriceRef" />
|
||||
<importPrice ref="importPriceRef" @handleReloadList="handleQuery"/>
|
||||
<down-records ref="downRecordsRef" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<div class="searchPanel">
|
||||
<div class="more-search-pane">
|
||||
<div class="search-where-container">
|
||||
<el-form :inline="true" class="searchPanelForm">
|
||||
<el-form :inline="true" class="searchPanelForm">
|
||||
<el-form-item label="业务部门:">
|
||||
<el-select v-model="queryParams.yewuDept" placeholder="请选择" clearable
|
||||
style="min-width: 30px;">
|
||||
|
|
@ -118,18 +118,25 @@
|
|||
<el-col :span="12">
|
||||
<el-form :inline="true" class="searchInputForm">
|
||||
<el-form-item label="">
|
||||
<el-input v-model="queryParams.keyword" @keydown.enter.prevent="handleQuery" placeholder="请输入供应商名称/集团公司名称/联系人/联系人电话"
|
||||
:prefix-icon="Search" style="width: 500px;" />
|
||||
<el-input v-model="queryParams.keyword" @keydown.enter.prevent="handleQuery"
|
||||
placeholder="请输入供应商名称/集团公司名称/联系人/联系人电话" :prefix-icon="Search"
|
||||
style="width: 500px;" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-col>
|
||||
<el-col :span="12" style="text-align: right;">
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:query']" @click="handleQuery">查询</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:reset']" @click="resetQuery">重置</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:add']" @click="handleOpenAddForm">新增</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:import']" @click="handleImport">导入</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:export']" @click="handleExport">导出</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['pitchPrice:list']" @click="handleGoPitchPrice">比稿价管理</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:query']"
|
||||
@click="handleQuery">查询</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:reset']"
|
||||
@click="resetQuery">重置</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:add']"
|
||||
@click="handleOpenAddForm">新增</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:import']"
|
||||
@click="handleImport">导入</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['supplier:export']"
|
||||
@click="handleExport">导出</el-button>
|
||||
<el-button type="primary" class="primaryBtn" v-hasPermi="['pitchPrice:list']"
|
||||
@click="handleGoPitchPrice">比稿价管理</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
|
|
@ -145,7 +152,7 @@
|
|||
<template #default="scope">
|
||||
<span class="supplierNameLabel" @click="handleOpenDetail(scope.row.supplierId)">{{
|
||||
scope.row.supplierName
|
||||
}}</span>
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="城市" align="left" prop="supplierCity" width="180"
|
||||
|
|
@ -184,12 +191,12 @@
|
|||
<el-table-column label="操作" width="58" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-popover popper-class="my_popover" placement="left-start">
|
||||
<div class="popBtns" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['supplier:update']">修改</div>
|
||||
<div class="popBtns" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['supplier:delete']">删除</div>
|
||||
<div class="popBtns" @click="handleLogs(scope.row)"
|
||||
v-hasPermi="['supplier:log']">日志</div>
|
||||
<div class="popBtns" @click="handleUpdate(scope.row)" v-hasPermi="['supplier:update']">
|
||||
修改</div>
|
||||
<div class="popBtns" @click="handleDelete(scope.row)" v-hasPermi="['supplier:delete']">
|
||||
删除</div>
|
||||
<div class="popBtns" @click="handleLogs(scope.row)" v-hasPermi="['supplier:log']">日志
|
||||
</div>
|
||||
<template #reference>
|
||||
<img style="cursor: pointer;" :src="scope.row.currentImageSrc"
|
||||
@mouseenter="scope.row.currentImageSrc = hoverImageSrc"
|
||||
|
|
@ -400,8 +407,8 @@ const requestDocUpload = (options) => {
|
|||
uploadOpen.value = false
|
||||
getSupplierPageList()
|
||||
} else {
|
||||
proxy.$modal.closeLoading()
|
||||
proxy.$modal.msgError(res.msg);
|
||||
proxy.$modal.closeLoading()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user