|
@@ -41,7 +41,7 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
<el-select v-model="businessClassSel" clearable placeholder="业务分类" style="width
|
|
|
- :18%" @change="QueryData">
|
|
|
+ :16%" @change="QueryData">
|
|
|
<el-option v-for="item in businessClassList" :key="item.id" :label="item.name" :value="item.id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
@@ -57,13 +57,14 @@
|
|
|
<el-input v-model="inputDQ" placeholder="地区"></el-input>
|
|
|
</div>
|
|
|
|
|
|
- <div style="width: 29.59%;">
|
|
|
+ <div style="width: 27.5%;">
|
|
|
<el-input v-model="inputDW" placeholder="单位"></el-input>
|
|
|
</div>
|
|
|
|
|
|
<div class="btnOp">
|
|
|
<div>
|
|
|
<el-button type="primary" @click="QueryData">查 询</el-button>
|
|
|
+ <el-button v-if="userId==21" type="primary" @click="NewClientDataExcelDownload">导 出</el-button>
|
|
|
</div>
|
|
|
<div style="height: 10px;">
|
|
|
</div>
|
|
@@ -235,6 +236,45 @@ export default {
|
|
|
//多选框选中方法
|
|
|
handleSelect(selection, row) {
|
|
|
|
|
|
+ },
|
|
|
+ NewClientDataExcelDownload(){
|
|
|
+ var url = "api/MarketCustomerResources/NewClientDataExcelDownload"
|
|
|
+ var that = this
|
|
|
+ that.$axios({
|
|
|
+ method: 'post',
|
|
|
+ url: url,
|
|
|
+ headers: {
|
|
|
+ Authorization: 'Bearer '
|
|
|
+ },
|
|
|
+ data: {
|
|
|
+ portType:1,
|
|
|
+ pageIndex:that.pageloadData.pageIndex,
|
|
|
+ pageSize:that.pageloadData.pageIndex,
|
|
|
+ operationUserId:that.userId,
|
|
|
+ contact:that.pageloadData.contact,
|
|
|
+ location:that.pageloadData.location,
|
|
|
+ client:that.pageloadData.client,
|
|
|
+ userid:that.pageloadData.userid,
|
|
|
+ lvlid:that.pageloadData.lvlid,
|
|
|
+ business:that.pageloadData.business,
|
|
|
+ range:that.pageloadData.Range,
|
|
|
+ category:that.pageloadData.Category,
|
|
|
+ pageId:89,
|
|
|
+ }
|
|
|
+ }).then(function (res) {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ that.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.msg,
|
|
|
+ });
|
|
|
+ window.open(res.data.data)
|
|
|
+ }else{
|
|
|
+ that.$message({
|
|
|
+ message: res.data.msg,
|
|
|
+ type: 'warning'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
pageload() {
|
|
|
var that = this;
|