|
@@ -30,7 +30,7 @@
|
|
|
noResultsText="没有搜索结果"
|
|
noResultsText="没有搜索结果"
|
|
|
/>
|
|
/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item label="外包评价名称:" label-width="50">
|
|
|
|
|
|
|
+ <el-form-item label="外包评价名称1:" label-width="50">
|
|
|
<el-select v-model="queryParams.planId" @change="changeHandler">
|
|
<el-select v-model="queryParams.planId" @change="changeHandler">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in options"
|
|
v-for="item in options"
|
|
@@ -56,15 +56,11 @@
|
|
|
<el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
<el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
|
>重置</el-button
|
|
>重置</el-button
|
|
|
>
|
|
>
|
|
|
- <!-- <el-button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- plain
|
|
|
|
|
- icon="el-icon-plus"
|
|
|
|
|
- size="mini"
|
|
|
|
|
- @click="exportExcel"
|
|
|
|
|
-
|
|
|
|
|
- >导出</el-button
|
|
|
|
|
- > -->
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport"
|
|
|
|
|
+ v-hasPermi="['core:evaluateTaskReport:export']">导出
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</div>
|
|
</div>
|
|
@@ -122,6 +118,7 @@ export default {
|
|
|
planRoles: [],
|
|
planRoles: [],
|
|
|
options: [],
|
|
options: [],
|
|
|
fullTableTitle: "对押运公司月度评价",
|
|
fullTableTitle: "对押运公司月度评价",
|
|
|
|
|
+ orgName:null,
|
|
|
queryParams: {
|
|
queryParams: {
|
|
|
orgId: null,
|
|
orgId: null,
|
|
|
planId: "",
|
|
planId: "",
|
|
@@ -186,7 +183,11 @@ export default {
|
|
|
children: node.children,
|
|
children: node.children,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ handleExport() {
|
|
|
|
|
+ this.download('core/task/export', {
|
|
|
|
|
+ ...this.queryParams
|
|
|
|
|
+ }, `${'【'+this.orgName+'】'+'-外包履职评价报表-'+this.formatTime(new Date(),'YYYYMMDD')}.xlsx`)
|
|
|
|
|
+ },
|
|
|
//获取列表
|
|
//获取列表
|
|
|
getList() {
|
|
getList() {
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
@@ -196,6 +197,7 @@ export default {
|
|
|
if (code == 200) {
|
|
if (code == 200) {
|
|
|
this.targetList = data.list || [];
|
|
this.targetList = data.list || [];
|
|
|
this.fullTableTitle=res.tittle;
|
|
this.fullTableTitle=res.tittle;
|
|
|
|
|
+this.orgName=res.orgName;
|
|
|
this.average=data.average||0
|
|
this.average=data.average||0
|
|
|
if (this.targetList) {
|
|
if (this.targetList) {
|
|
|
this.obj = Object.keys(this.targetList[0]);
|
|
this.obj = Object.keys(this.targetList[0]);
|