Kaynağa Gözat

修改操作按钮

master
YF-yuan 3 yıl önce
ebeveyn
işleme
0b22277bdd
8 değiştirilmiş dosya ile 28 ekleme ve 7 silme
  1. +4
    -2
      src/api/chain/coordinationManage/applyCooperation.js
  2. +18
    -2
      src/views/chain/coordinationManage/applyCooperation.vue
  3. +1
    -1
      src/views/second/segmentation/basicTable.vue
  4. +1
    -1
      src/views/second/segmentation/constraint.vue
  5. +1
    -1
      src/views/second/segmentation/reward.vue
  6. +1
    -0
      src/views/second/taskSummary/basicTable.vue
  7. +1
    -0
      src/views/second/taskSummary/constraint.vue
  8. +1
    -0
      src/views/second/taskSummary/reward.vue

+ 4
- 2
src/api/chain/coordinationManage/applyCooperation.js Dosyayı Görüntüle

@@ -2,6 +2,8 @@ import axios from "@/config/axios"
export default {
applyCooperate(params) {
return axios.post('/chainindustryapply/applyDept', params)
}
},
exportList(params){
return axios.get('/chainindustryapply/export',{params})
},
}

+ 18
- 2
src/views/chain/coordinationManage/applyCooperation.vue Dosyayı Görüntüle

@@ -1,7 +1,7 @@
<template>
<div class="apply-cooperation ele-body">
<el-card shadow="never" element-loading-background="rgba(255, 255, 255, 1)">
<search @search:task="updateParams($event)" />
<search @search:task="updateParams($event)" @export="exportData($event)" :show-export="true"/>
<el-table
border
highlight-current-row
@@ -156,7 +156,7 @@ export default {
page: {
page: 1,
limit: Math.floor(
(document.documentElement.clientHeight - 260 - 45) / 45
(document.documentElement.clientHeight - 310 - 45) / 45
),
},
tableHeight: document.documentElement.clientHeight - 260,
@@ -172,6 +172,22 @@ export default {
this.getDataList();
},
methods: {
exportData(data){
this.loading=true;
api.exportList(Object.assign({sheetName:"链长制配合申请列表"},data)).then(res=>{
console.log(res.data.data)
window.open(res.data.data);
this.$message({
type:"success",
message:"导出成功"
})
}).catch(e=>{
console.log(e)
this.$message.error("导出失败")
}).finally(()=>{
this.loading=false;
})
},
updateParams(data) {
this.searchParams = data;
this.getDataList();

+ 1
- 1
src/views/second/segmentation/basicTable.vue Dosyayı Görüntüle

@@ -114,7 +114,7 @@
>分项</router-link
> -->
<!-- <span @click="toSegmentation(row)">分项</span> -->
<el-link @click="toSegmentation(row)" type="primary" >分项</el-link>
<el-link @click="toSegmentation(row)" type="primary" ><i class="el-icon-setting"></i>分项</el-link>
</template>
</el-table-column>
</el-table>

+ 1
- 1
src/views/second/segmentation/constraint.vue Dosyayı Görüntüle

@@ -110,7 +110,7 @@
}"
>分项</router-link
> -->
<el-link @click="toSegmentation(row)" type="primary">分项</el-link>
<el-link @click="toSegmentation(row)" type="primary"><i class="el-icon-setting"></i>分项</el-link>
</template>
</el-table-column>
</el-table>

+ 1
- 1
src/views/second/segmentation/reward.vue Dosyayı Görüntüle

@@ -116,7 +116,7 @@
}"
>分项</router-link
> -->
<el-link @click="toSegmentation(row)" type="primary">分项</el-link>
<el-link @click="toSegmentation(row)" type="primary"><i class="el-icon-setting"></i>分项</el-link>
</template>
</el-table-column>
</el-table>

+ 1
- 0
src/views/second/taskSummary/basicTable.vue Dosyayı Görüntüle

@@ -110,6 +110,7 @@
:underline="false"
@click="edit(row)"
:disabled="!row.id"
icon="el-icon-edit"
>编辑</el-link
>
</template>

+ 1
- 0
src/views/second/taskSummary/constraint.vue Dosyayı Görüntüle

@@ -109,6 +109,7 @@
:underline="false"
@click="edit(row)"
:disabled="!row.id"
icon="el-icon-edit"
>编辑</el-link
>
</template>

+ 1
- 0
src/views/second/taskSummary/reward.vue Dosyayı Görüntüle

@@ -115,6 +115,7 @@
:underline="false"
@click="edit(row)"
:disabled="!row.id"
icon="el-icon-edit"
>编辑</el-link
>
</template>

Yükleniyor…
İptal
Kaydet