align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
:key="6" | :key="6" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{row}"> | |||||
<pre>{{row.leaderUnit}}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column | <el-table-column | ||||
label="牵头部门" | label="牵头部门" |
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
:key="4" | :key="4" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column | <el-table-column | ||||
label="牵头部门" | label="牵头部门" | ||||
min-width="80" | min-width="80" |
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
:key="6" | :key="6" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column | <el-table-column | ||||
label="牵头部门" | label="牵头部门" | ||||
min-width="80" | min-width="80" |
min-width="80" | min-width="80" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column | <el-table-column | ||||
label="牵头部门" | label="牵头部门" | ||||
min-width="80" | min-width="80" | ||||
></el-table-column> | ></el-table-column> | ||||
<el-table-column | <el-table-column | ||||
label="责任领导" | label="责任领导" | ||||
min-width="80" | min-width="80" | ||||
align="center" | align="center" | ||||
prop="leaderPrincipal" | prop="leaderPrincipal" | ||||
return 1; | return 1; | ||||
}, | }, | ||||
}, | }, | ||||
count:{ | |||||
type:[Number,String], | |||||
default(){ | |||||
return 0 | |||||
} | |||||
count: { | |||||
type: [Number, String], | |||||
default() { | |||||
return 0; | |||||
}, | |||||
}, | }, | ||||
loading:{ | |||||
type:Boolean, | |||||
default(){ | |||||
return false | |||||
} | |||||
loading: { | |||||
type: Boolean, | |||||
default() { | |||||
return false; | |||||
}, | |||||
}, | }, | ||||
page:{ | |||||
type:Object, | |||||
default(){ | |||||
page: { | |||||
type: Object, | |||||
default() { | |||||
return { | return { | ||||
page:1, | |||||
limit:10, | |||||
} | |||||
} | |||||
} | |||||
page: 1, | |||||
limit: 10, | |||||
}; | |||||
}, | |||||
}, | |||||
}, | }, | ||||
data() { | data() { | ||||
return { | return { |
<template> | <template> | ||||
<div class="apply-cooperation ele-body"> | <div class="apply-cooperation ele-body"> | ||||
<el-card shadow="never" element-loading-background="rgba(255, 255, 255, 1)"> | <el-card shadow="never" element-loading-background="rgba(255, 255, 255, 1)"> | ||||
<search @search:task="updateParams($event)" @export="exportData($event)" :show-export="true"/> | |||||
<search | |||||
@search:task="updateParams($event)" | |||||
@export="exportData($event)" | |||||
:show-export="true" | |||||
/> | |||||
<el-table | <el-table | ||||
border | border | ||||
highlight-current-row | highlight-current-row | ||||
methods: { | methods: { | ||||
exportData(data){ | exportData(data){ | ||||
this.loading=true; | this.loading=true; | ||||
api.exportList(Object.assign({sheetName:"链长制配合申请列表", isApply: 1},data)).then(res=>{ | |||||
if(res.code == 0) { | |||||
applyApi.exportList(Object.assign({sheetName:"链长制配合申请列表", isApply: 1},data)).then(res=>{ | |||||
if(res.data.code == 0) { | |||||
window.open(res.data.data); | window.open(res.data.data); | ||||
this.$message({ | this.$message({ | ||||
type:"success", | type:"success", |
methods: { | methods: { | ||||
exportData(data){ | exportData(data){ | ||||
this.loading=true; | this.loading=true; | ||||
api.exportList(Object.assign({sheetName:"链长制配合申请审核记录", isChecked: 1},data)).then(res=>{ | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type:"success", | |||||
message:"导出成功" | |||||
}) | |||||
api.exportList(Object.assign({sheetName:"链长制配合申请审核记录"},data)).then(res=>{ | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
}else{ | |||||
this.$message({ | |||||
type:"warning", | |||||
message:"暂无数据" | |||||
}) | |||||
} | |||||
}).catch(e=>{ | }).catch(e=>{ | ||||
this.$message.error("导出失败") | |||||
console.log(e) | |||||
this.$message.error("暂无数据") | |||||
}).finally(()=>{ | }).finally(()=>{ | ||||
this.loading=false; | this.loading=false; | ||||
}) | }) |
width="80 " | width="80 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="牵头部门" width="100" align="center"> | <el-table-column label="牵头部门" width="100" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="配合部门" width="100" align="center"> | <el-table-column label="配合部门" width="100" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderPrincipalList | formatList }}</pre> | <pre>{{ row.leaderPrincipalList | formatList }}</pre> | ||||
</template> | </template> | ||||
</el-table-column> | |||||
</el-table-column> | |||||
</el-table> | </el-table> | ||||
<el-pagination | <el-pagination | ||||
:current-page.sync="page.page" | :current-page.sync="page.page" | ||||
count: 0, | count: 0, | ||||
showEdit: false, | showEdit: false, | ||||
loading: false, | loading: false, | ||||
form:{} | |||||
form: {}, | |||||
}; | }; | ||||
}, | }, | ||||
methods: { | methods: { |
width="80 " | width="80 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="牵头部门" width="100" align="center"> | <el-table-column label="牵头部门" width="100" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="配合部门" width="100" align="center"> | <el-table-column label="配合部门" width="100" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
:flat="true" | :flat="true" | ||||
@current-change="getDataList()" | @current-change="getDataList()" | ||||
/> | /> | ||||
</div> | </div> | ||||
</template> | </template> | ||||
count: 0, | count: 0, | ||||
showEdit: false, | showEdit: false, | ||||
loading: false, | loading: false, | ||||
form:{} | |||||
form: {}, | |||||
}; | }; | ||||
}, | }, | ||||
methods: { | methods: { |
width="80 " | width="80 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="牵头部门" width="100" align="center"> | <el-table-column label="牵头部门" width="100" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="配合部门" width="100" align="center"> | <el-table-column label="配合部门" width="100" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
count: 0, | count: 0, | ||||
showEdit: false, | showEdit: false, | ||||
loading: false, | loading: false, | ||||
form:{} | |||||
form: {}, | |||||
}; | }; | ||||
}, | }, | ||||
methods: { | methods: { |
min-width="95 " | min-width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="责任领导" width="80" align="center"> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderPrincipalList | formatList }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="责任领导" width="80" align="center"> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderPrincipalList | formatList }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="牵头部门" min-width="80" align="center"> | <el-table-column label="牵头部门" min-width="80" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="配合部门" min-width="80" align="center"> | <el-table-column label="配合部门" min-width="80" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
@closed="form = {}" | @closed="form = {}" | ||||
> | > | ||||
<el-row :gutter="20"> | <el-row :gutter="20"> | ||||
<el-col :span="6"><div class="grid-content bg-purple">序号</div></el-col> | |||||
<el-col :span="8"><div class="grid-content bg-purple">牵头部门名称</div></el-col> | |||||
<el-col :span="10"><div class="grid-content bg-purple">考核得分</div></el-col> | |||||
<el-col :span="6" | |||||
><div class="grid-content bg-purple">序号</div></el-col | |||||
> | |||||
<el-col :span="8" | |||||
><div class="grid-content bg-purple">牵头部门名称</div></el-col | |||||
> | |||||
<el-col :span="10" | |||||
><div class="grid-content bg-purple">考核得分</div></el-col | |||||
> | |||||
</el-row> | </el-row> | ||||
<el-row :gutter="20"> | <el-row :gutter="20"> | ||||
<el-col :span="6"><div class="grid-content bg-purple">1</div></el-col> | <el-col :span="6"><div class="grid-content bg-purple">1</div></el-col> | ||||
<el-col :span="8"><div class="grid-content bg-purple">党政办公室</div></el-col> | |||||
<el-col :span="8" | |||||
><div class="grid-content bg-purple">党政办公室</div></el-col | |||||
> | |||||
<el-col :span="10"> | <el-col :span="10"> | ||||
<div class="grid-content bg-purple"> | <div class="grid-content bg-purple"> | ||||
<el-input size="mini" v-model="form.leaderPoints"></el-input> | <el-input size="mini" v-model="form.leaderPoints"></el-input> | ||||
</el-col> | </el-col> | ||||
</el-row> | </el-row> | ||||
<el-divider></el-divider> | <el-divider></el-divider> | ||||
<el-row :gutter="20"> | |||||
<el-col :span="6"><div class="grid-content bg-purple">序号</div></el-col> | |||||
<el-col :span="8"><div class="grid-content bg-purple">配合部门名称</div></el-col> | |||||
<el-col :span="10"><div class="grid-content bg-purple">考核得分</div></el-col> | |||||
<el-row :gutter="20"> | |||||
<el-col :span="6" | |||||
><div class="grid-content bg-purple">序号</div></el-col | |||||
> | |||||
<el-col :span="8" | |||||
><div class="grid-content bg-purple">配合部门名称</div></el-col | |||||
> | |||||
<el-col :span="10" | |||||
><div class="grid-content bg-purple">考核得分</div></el-col | |||||
> | |||||
</el-row> | </el-row> | ||||
<el-row :gutter="20"> | <el-row :gutter="20"> | ||||
<el-col :span="6"><div class="grid-content bg-purple">1</div></el-col> | <el-col :span="6"><div class="grid-content bg-purple">1</div></el-col> | ||||
<el-col :span="8"><div class="grid-content bg-purple">党群办公室</div></el-col> | |||||
<el-col :span="8" | |||||
><div class="grid-content bg-purple">党群办公室</div></el-col | |||||
> | |||||
<el-col :span="10"> | <el-col :span="10"> | ||||
<div class="grid-content bg-purple"> | <div class="grid-content bg-purple"> | ||||
<el-input size="mini" v-model="form.coorPoints"></el-input> | <el-input size="mini" v-model="form.coorPoints"></el-input> | ||||
</div> | </div> | ||||
</el-col> | </el-col> | ||||
</el-row> | </el-row> | ||||
<div slot="footer"> | <div slot="footer"> | ||||
<el-button @click="showEdit = false">取消</el-button> | <el-button @click="showEdit = false">取消</el-button> | ||||
<el-button type="primary" @click="save">保存</el-button> | <el-button type="primary" @click="save">保存</el-button> | ||||
count: 0, | count: 0, | ||||
showEdit: false, | showEdit: false, | ||||
loading: false, | loading: false, | ||||
form:{} | |||||
form: {}, | |||||
}; | }; | ||||
}, | }, | ||||
methods: { | methods: { | ||||
</script> | </script> | ||||
<style scoped> | <style scoped> | ||||
/deep/.el-dialog__body { | |||||
padding: 10px 20px; | |||||
} | |||||
.el-row { | |||||
height: 45px; | |||||
line-height: 45px; | |||||
} | |||||
.el-divider { | |||||
margin: 10px 0px; | |||||
} | |||||
/deep/.el-dialog__body { | |||||
padding: 10px 20px; | |||||
} | |||||
.el-row { | |||||
height: 45px; | |||||
line-height: 45px; | |||||
} | |||||
.el-divider { | |||||
margin: 10px 0px; | |||||
} | |||||
</style> | </style> |
min-width="95 " | min-width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="牵头部门" min-width="80" align="center"> | <el-table-column label="牵头部门" min-width="80" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column label="配合部门" min-width="80" align="center"> | <el-table-column label="配合部门" min-width="80" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span> | |||||
<span> | |||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | |||||
</span> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
@closed="form = {}" | @closed="form = {}" | ||||
> | > | ||||
<el-row :gutter="20"> | <el-row :gutter="20"> | ||||
<el-col :span="6"><div class="grid-content bg-purple">序号</div></el-col> | |||||
<el-col :span="8"><div class="grid-content bg-purple">牵头部门名称</div></el-col> | |||||
<el-col :span="10"><div class="grid-content bg-purple">考核得分</div></el-col> | |||||
<el-col :span="6" | |||||
><div class="grid-content bg-purple">序号</div></el-col | |||||
> | |||||
<el-col :span="8" | |||||
><div class="grid-content bg-purple">牵头部门名称</div></el-col | |||||
> | |||||
<el-col :span="10" | |||||
><div class="grid-content bg-purple">考核得分</div></el-col | |||||
> | |||||
</el-row> | </el-row> | ||||
<el-row :gutter="20"> | <el-row :gutter="20"> | ||||
<el-col :span="6"><div class="grid-content bg-purple">1</div></el-col> | <el-col :span="6"><div class="grid-content bg-purple">1</div></el-col> | ||||
<el-col :span="8"><div class="grid-content bg-purple">党政办公室</div></el-col> | |||||
<el-col :span="8" | |||||
><div class="grid-content bg-purple">党政办公室</div></el-col | |||||
> | |||||
<el-col :span="10"> | <el-col :span="10"> | ||||
<div class="grid-content bg-purple"> | <div class="grid-content bg-purple"> | ||||
<el-input size="mini" v-model="form.leaderPoints"></el-input> | <el-input size="mini" v-model="form.leaderPoints"></el-input> | ||||
</el-col> | </el-col> | ||||
</el-row> | </el-row> | ||||
<el-divider></el-divider> | <el-divider></el-divider> | ||||
<el-row :gutter="20"> | |||||
<el-col :span="6"><div class="grid-content bg-purple">序号</div></el-col> | |||||
<el-col :span="8"><div class="grid-content bg-purple">配合部门名称</div></el-col> | |||||
<el-col :span="10"><div class="grid-content bg-purple">考核得分</div></el-col> | |||||
<el-row :gutter="20"> | |||||
<el-col :span="6" | |||||
><div class="grid-content bg-purple">序号</div></el-col | |||||
> | |||||
<el-col :span="8" | |||||
><div class="grid-content bg-purple">配合部门名称</div></el-col | |||||
> | |||||
<el-col :span="10" | |||||
><div class="grid-content bg-purple">考核得分</div></el-col | |||||
> | |||||
</el-row> | </el-row> | ||||
<el-row :gutter="20"> | <el-row :gutter="20"> | ||||
<el-col :span="6"><div class="grid-content bg-purple">1</div></el-col> | <el-col :span="6"><div class="grid-content bg-purple">1</div></el-col> | ||||
<el-col :span="8"><div class="grid-content bg-purple">党群办公室</div></el-col> | |||||
<el-col :span="8" | |||||
><div class="grid-content bg-purple">党群办公室</div></el-col | |||||
> | |||||
<el-col :span="10"> | <el-col :span="10"> | ||||
<div class="grid-content bg-purple"> | <div class="grid-content bg-purple"> | ||||
<el-input size="mini" v-model="form.coorPoints"></el-input> | <el-input size="mini" v-model="form.coorPoints"></el-input> | ||||
</div> | </div> | ||||
</el-col> | </el-col> | ||||
</el-row> | </el-row> | ||||
<div slot="footer"> | <div slot="footer"> | ||||
<el-button @click="showEdit = false">取消</el-button> | <el-button @click="showEdit = false">取消</el-button> | ||||
<el-button type="primary" @click="save">保存</el-button> | <el-button type="primary" @click="save">保存</el-button> | ||||
</div> | </div> | ||||
</el-dialog> | </el-dialog> | ||||
</div> | </div> | ||||
</template> | </template> | ||||
count: 0, | count: 0, | ||||
showEdit: false, | showEdit: false, | ||||
loading: false, | loading: false, | ||||
form:{} | |||||
form: {}, | |||||
}; | }; | ||||
}, | }, | ||||
methods: { | methods: { | ||||
getDataList() {}, | getDataList() {}, | ||||
edit(row) { | edit(row) { | ||||
this.showEdit = true | |||||
this.showEdit = true; | |||||
}, | }, | ||||
save() { | save() { | ||||
this.showEdit = false | |||||
this.showEdit = false; | |||||
}, | }, | ||||
}, | }, | ||||
filters: { | filters: { | ||||
</script> | </script> | ||||
<style scoped> | <style scoped> | ||||
/deep/.el-dialog__body { | |||||
padding: 10px 20px; | |||||
} | |||||
.el-row { | |||||
height: 45px; | |||||
line-height: 45px; | |||||
} | |||||
.el-divider { | |||||
margin: 10px 0px; | |||||
} | |||||
/deep/.el-dialog__body { | |||||
padding: 10px 20px; | |||||
} | |||||
.el-row { | |||||
height: 45px; | |||||
line-height: 45px; | |||||
} | |||||
.el-divider { | |||||
margin: 10px 0px; | |||||
} | |||||
</style> | </style> |
width="95 " | width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
this.loading = true; | this.loading = true; | ||||
api | api | ||||
.exportBasicList( | .exportBasicList( | ||||
Object.assign({ sheetName: "基础目标任务细分小条",isApply:1 }, data) | |||||
Object.assign({ sheetName: "基础目标任务细分小条", isApply: 1 }, data) | |||||
) | ) | ||||
.then((res) => { | .then((res) => { | ||||
console.log(res.data.data); | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
} else { | |||||
this.$message({ | |||||
type: "warning", | |||||
message: "暂无数据", | |||||
}); | |||||
} | |||||
}) | }) | ||||
.catch((e) => { | .catch((e) => { | ||||
console.log(e); | console.log(e); | ||||
this.$message.error("导出失败"); | |||||
this.$message.error("暂无数据"); | |||||
}) | }) | ||||
.finally(() => { | .finally(() => { | ||||
this.loading = false; | this.loading = false; |
width="95 " | width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
this.loading = true; | this.loading = true; | ||||
api | api | ||||
.exportContraintList( | .exportContraintList( | ||||
Object.assign({ sheetName: "刚性约束细分小条",isApply:1 }, data) | |||||
Object.assign({ sheetName: "刚性约束细分小条", isApply: 1 }, data) | |||||
) | ) | ||||
.then((res) => { | .then((res) => { | ||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
}else{ | |||||
this.$message({ | |||||
type:"warning", | |||||
message:"暂无数据" | |||||
}) | |||||
} | |||||
}) | }) | ||||
.catch((e) => { | .catch((e) => { | ||||
console.log(e); | console.log(e); | ||||
this.$message.error("导出失败"); | |||||
this.$message.error("暂无数据"); | |||||
}) | }) | ||||
.finally(() => { | .finally(() => { | ||||
this.loading = false; | this.loading = false; |
width="95 " | width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
this.loading = true; | this.loading = true; | ||||
api | api | ||||
.exportRewardList( | .exportRewardList( | ||||
Object.assign({ sheetName: "重点专项细分小条" ,isApply:1}, data) | |||||
Object.assign({ sheetName: "重点专项细分小条", isApply: 1 }, data) | |||||
) | ) | ||||
.then((res) => { | .then((res) => { | ||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
} else { | |||||
this.$message({ | |||||
type: "warning", | |||||
message: "暂无数据", | |||||
}); | |||||
} | |||||
}) | }) | ||||
.catch((e) => { | .catch((e) => { | ||||
console.log(e); | console.log(e); | ||||
this.$message.error("导出失败"); | |||||
this.$message.error("暂无数据"); | |||||
}) | }) | ||||
.finally(() => { | .finally(() => { | ||||
this.loading = false; | this.loading = false; |
min-width="95 " | min-width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
this.loading = true; | this.loading = true; | ||||
api | api | ||||
.exportBasicList( | .exportBasicList( | ||||
Object.assign({ sheetName: "基础目标任务配合申请审核列表" ,isChecked:1}, data) | |||||
Object.assign( | |||||
{ sheetName: "基础目标任务配合申请审核列表", isChecked: 1 }, | |||||
data | |||||
) | |||||
) | ) | ||||
.then((res) => { | .then((res) => { | ||||
console.log(res.data.data); | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
} else { | |||||
this.$message({ | |||||
type: "warning", | |||||
message: "暂无数据", | |||||
}); | |||||
} | |||||
}) | }) | ||||
.catch((e) => { | .catch((e) => { | ||||
console.log(e); | console.log(e); | ||||
this.$message.error("导出失败"); | |||||
this.$message.error("暂无数据"); | |||||
}) | }) | ||||
.finally(() => { | .finally(() => { | ||||
this.loading = false; | this.loading = false; |
min-width="95 " | min-width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
this.loading = true; | this.loading = true; | ||||
api | api | ||||
.exportContraintList( | .exportContraintList( | ||||
Object.assign({ sheetName: "刚性约束配合申请审核审核列表",isChecked:1 }, data) | |||||
Object.assign( | |||||
{ sheetName: "刚性约束配合申请审核审核列表", isChecked: 1 }, | |||||
data | |||||
) | |||||
) | ) | ||||
.then((res) => { | .then((res) => { | ||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
} else { | |||||
this.$message({ | |||||
type: "warning", | |||||
message: "暂无数据", | |||||
}); | |||||
} | |||||
}) | }) | ||||
.catch((e) => { | .catch((e) => { | ||||
console.log(e); | console.log(e); | ||||
this.$message.error("导出失败"); | |||||
this.$message.error("暂无数据"); | |||||
}) | }) | ||||
.finally(() => { | .finally(() => { | ||||
this.loading = false; | this.loading = false; |
min-width="95 " | min-width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
this.loading = true; | this.loading = true; | ||||
api | api | ||||
.exportRewardList( | .exportRewardList( | ||||
Object.assign({ sheetName: "重点专项配合申请审核列表",isChecked: 1}, data) | |||||
Object.assign( | |||||
{ sheetName: "重点专项配合申请审核列表", isChecked: 1 }, | |||||
data | |||||
) | |||||
) | ) | ||||
.then((res) => { | .then((res) => { | ||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
} else { | |||||
this.$message({ | |||||
type: "warning", | |||||
message: "暂无数据", | |||||
}); | |||||
} | |||||
}) | }) | ||||
.catch((e) => { | .catch((e) => { | ||||
console.log(e); | console.log(e); | ||||
this.$message.error("导出失败"); | |||||
this.$message.error("暂无数据"); | |||||
}) | }) | ||||
.finally(() => { | .finally(() => { | ||||
this.loading = false; | this.loading = false; |
<template> | <template> | ||||
<div class="basic-target" v-loading="loading"> | <div class="basic-target" v-loading="loading"> | ||||
<search :type="1" @search:task="updateParams($event)"/> | |||||
<search :type="1" @search:task="updateParams($event)" /> | |||||
<el-table | <el-table | ||||
:data="dataList" | :data="dataList" | ||||
border | border | ||||
min-width="95 " | min-width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> |
min-width="95 " | min-width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> |
min-width="95 " | min-width="95 " | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="120" align="center"> | <el-table-column label="第一牵头部门" width="120" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> |
width="95" | width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="150" align="center"> | <el-table-column label="第一牵头部门" width="150" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
>分项</router-link | >分项</router-link | ||||
> --> | > --> | ||||
<!-- <span @click="toSegmentation(row)">分项</span> --> | <!-- <span @click="toSegmentation(row)">分项</span> --> | ||||
<el-link @click="toSegmentation(row)" type="primary" ><i class="el-icon-setting"></i>分项</el-link> | |||||
<el-link @click="toSegmentation(row)" type="primary" | |||||
><i class="el-icon-setting"></i>分项</el-link | |||||
> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
</el-table> | </el-table> | ||||
], | ], | ||||
created() { | created() { | ||||
this.getDataList(); | this.getDataList(); | ||||
let page=this.page; | |||||
page.page=this.$store.state.base.currentPage||1; | |||||
let page = this.page; | |||||
page.page = this.$store.state.base.currentPage || 1; | |||||
this.$store.commit("base/SET_CURRENT_PAGE", null); | this.$store.commit("base/SET_CURRENT_PAGE", null); | ||||
this.page=page | |||||
this.page = page; | |||||
}, | }, | ||||
methods: { | methods: { | ||||
toSegmentation(row) { | toSegmentation(row) { |
width="95" | width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="150" align="center"> | <el-table-column label="第一牵头部门" width="150" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
}" | }" | ||||
>分项</router-link | >分项</router-link | ||||
> --> | > --> | ||||
<el-link @click="toSegmentation(row)" type="primary"><i class="el-icon-setting"></i>分项</el-link> | |||||
<el-link @click="toSegmentation(row)" type="primary" | |||||
><i class="el-icon-setting"></i>分项</el-link | |||||
> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
</el-table> | </el-table> |
<el-row type="flex"> | <el-row type="flex"> | ||||
<el-col :span="5" class="grey"><span>区牵头单位</span></el-col> | <el-col :span="5" class="grey"><span>区牵头单位</span></el-col> | ||||
<el-col :span="7" | <el-col :span="7" | ||||
><span>{{ data.leaderUnit }}</span></el-col | |||||
><span><pre>{{ data.leaderUnit }}</pre></span></el-col | |||||
> | > | ||||
<el-col :span="5" class="grey"><span>封顶分值</span></el-col> | <el-col :span="5" class="grey"><span>封顶分值</span></el-col> | ||||
<el-col :span="7" | <el-col :span="7" | ||||
"points", | "points", | ||||
"leaderDept", | "leaderDept", | ||||
"leaderPrincipal", | "leaderPrincipal", | ||||
"otherDept", | |||||
"otherPrincipal", | |||||
"cooperateDept", | |||||
"cooperatePrincipal", | |||||
// "otherDept", | |||||
// "otherPrincipal", | |||||
// "cooperateDept", | |||||
// "cooperatePrincipal", | |||||
]; | ]; | ||||
for (let param of params) { | for (let param of params) { | ||||
if (Array.isArray(form[param])) { | if (Array.isArray(form[param])) { |
width="95" | width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="150" align="center"> | <el-table-column label="第一牵头部门" width="150" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
}" | }" | ||||
>分项</router-link | >分项</router-link | ||||
> --> | > --> | ||||
<el-link @click="toSegmentation(row)" type="primary"><i class="el-icon-setting"></i>分项</el-link> | |||||
<el-link @click="toSegmentation(row)" type="primary" | |||||
><i class="el-icon-setting"></i>分项</el-link | |||||
> | |||||
</template> | </template> | ||||
</el-table-column> | </el-table-column> | ||||
</el-table> | </el-table> |
<template> | <template> | ||||
<div class="assessing-content ele-body"> | <div class="assessing-content ele-body"> | ||||
<el-card shadow="never" element-loading-background="rgba(255, 255, 255, 1)"> | <el-card shadow="never" element-loading-background="rgba(255, 255, 255, 1)"> | ||||
<search :type="1" @search:task="updateParams($event)" @export="exportData($event)" :show-export="true"/> | |||||
<search | |||||
:type="1" | |||||
@search:task="updateParams($event)" | |||||
@export="exportData($event)" | |||||
:show-export="true" | |||||
/> | |||||
<el-table | <el-table | ||||
highlight-current-row | highlight-current-row | ||||
:data="dataList" | :data="dataList" | ||||
width="95" | width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="150" align="center"> | <el-table-column label="第一牵头部门" width="150" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
}, | }, | ||||
}, | }, | ||||
methods: { | methods: { | ||||
exportData(data){ | |||||
this.loading=true; | |||||
api.exportBasicList(Object.assign({sheetName:"基础目标任务细分小条"},data)).then(res=>{ | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type:"success", | |||||
message:"导出成功" | |||||
exportData(data) { | |||||
this.loading = true; | |||||
api | |||||
.exportBasicList( | |||||
Object.assign({ sheetName: "基础目标任务细分小条" }, data) | |||||
) | |||||
.then((res) => { | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
} else { | |||||
this.$message({ | |||||
type: "warning", | |||||
message: "暂无数据", | |||||
}); | |||||
} | |||||
}) | }) | ||||
}).catch(e=>{ | |||||
this.$message.error("导出失败") | |||||
}).finally(()=>{ | |||||
this.loading=false; | |||||
}) | |||||
.catch((e) => { | |||||
console.log(e); | |||||
this.$message.error("暂无数据"); | |||||
}) | |||||
.finally(() => { | |||||
this.loading = false; | |||||
}); | |||||
}, | }, | ||||
changePrincipal(e, type, index) { | changePrincipal(e, type, index) { | ||||
if (type == "other") { | if (type == "other") { |
width="95" | width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="150" align="center"> | <el-table-column label="第一牵头部门" width="150" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
Object.assign({ sheetName: "刚性约束细分小条" }, data) | Object.assign({ sheetName: "刚性约束细分小条" }, data) | ||||
) | ) | ||||
.then((res) => { | .then((res) => { | ||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
} else { | |||||
this.$message({ | |||||
type: "warning", | |||||
message: "暂无数据", | |||||
}); | |||||
} | |||||
}) | }) | ||||
.catch((e) => { | .catch((e) => { | ||||
this.$message.error("导出失败"); | |||||
console.log(e); | |||||
this.$message.error("暂无数据"); | |||||
}) | }) | ||||
.finally(() => { | .finally(() => { | ||||
this.loading = false; | this.loading = false; |
width="95" | width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="第一牵头部门" width="150" align="center"> | <el-table-column label="第一牵头部门" width="150" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
Object.assign({ sheetName: "重点专项细分小条" }, data) | Object.assign({ sheetName: "重点专项细分小条" }, data) | ||||
) | ) | ||||
.then((res) => { | .then((res) => { | ||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
if (res.data.code == 0) { | |||||
window.open(res.data.data); | |||||
this.$message({ | |||||
type: "success", | |||||
message: "导出成功", | |||||
}); | |||||
} else { | |||||
this.$message({ | |||||
type: "warning", | |||||
message: "暂无数据", | |||||
}); | |||||
} | |||||
}) | }) | ||||
.catch((e) => { | .catch((e) => { | ||||
this.$message.error("导出失败"); | |||||
console.log(e); | |||||
this.$message.error("暂无数据"); | |||||
}) | }) | ||||
.finally(() => { | .finally(() => { | ||||
this.loading = false; | this.loading = false; |
min-width="95" | min-width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="牵头部门" min-width="80" align="center"> | <el-table-column label="牵头部门" min-width="80" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
components: { | components: { | ||||
search, | search, | ||||
}, | }, | ||||
mixins: [mergeSpan([ | |||||
{name: 'quota1', col: [1]}, | |||||
{name: 'quota2', col: [2]}, | |||||
])], | |||||
mixins: [ | |||||
mergeSpan([ | |||||
{ name: "quota1", col: [1] }, | |||||
{ name: "quota2", col: [2] }, | |||||
]), | |||||
], | |||||
created() { | created() { | ||||
this.getDataList(); | this.getDataList(); | ||||
this.$store.dispatch("base/getQuota1List", 1); | this.$store.dispatch("base/getQuota1List", 1); |
min-width="95" | min-width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="牵头部门" min-width="80" align="center"> | <el-table-column label="牵头部门" min-width="80" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
} | } | ||||
}, | }, | ||||
}, | }, | ||||
mixins: [mergeSpan([ | |||||
{name: 'quota', col: [1]} | |||||
])], | |||||
mixins: [mergeSpan([{ name: "quota", col: [1] }])], | |||||
created() { | created() { | ||||
this.getDataList(); | this.getDataList(); | ||||
this.$store.dispatch("base/getQuota1List", 1); | this.$store.dispatch("base/getQuota1List", 1); |
min-width="95" | min-width="95" | ||||
align="center" | align="center" | ||||
prop="leaderUnit" | prop="leaderUnit" | ||||
></el-table-column> | |||||
> | |||||
<template slot-scope="{ row }"> | |||||
<pre>{{ row.leaderUnit }}</pre> | |||||
</template> | |||||
</el-table-column> | |||||
<el-table-column label="牵头部门" min-width="80" align="center"> | <el-table-column label="牵头部门" min-width="80" align="center"> | ||||
<template slot-scope="{ row }"> | <template slot-scope="{ row }"> | ||||
<pre>{{ row.leaderDeptList | formatList }}</pre> | <pre>{{ row.leaderDeptList | formatList }}</pre> | ||||
components: { | components: { | ||||
search, | search, | ||||
}, | }, | ||||
mixins: [mergeSpan([ | |||||
{name: 'quota1', col: [1]}, | |||||
{name: 'quota2', col: [2]}, | |||||
])], | |||||
mixins: [ | |||||
mergeSpan([ | |||||
{ name: "quota1", col: [1] }, | |||||
{ name: "quota2", col: [2] }, | |||||
]), | |||||
], | |||||
created() { | created() { | ||||
this.getDataList(); | this.getDataList(); | ||||
this.$store.dispatch("base/getQuota1List", 1); | this.$store.dispatch("base/getQuota1List", 1); |