|
@@ -20,7 +20,7 @@
|
|
<span v-if="!scope.row.p2pDraft">{{ scope.row.p2pAmount + scope.row.p2pServiceAmount }}</span>
|
|
<span v-if="!scope.row.p2pDraft">{{ scope.row.p2pAmount + scope.row.p2pServiceAmount }}</span>
|
|
</template>
|
|
</template>
|
|
<template slot="menu" slot-scope="scope">
|
|
<template slot="menu" slot-scope="scope">
|
|
- <el-button type="text" size="small" icon="el-icon-tickets" @click="generateBtn(scope.row, scope.index)">生成报告 </el-button>
|
|
|
|
|
|
+ <!-- <el-button type="text" size="small" icon="el-icon-tickets" @click="generateBtn(scope.row, scope.index)">生成报告 </el-button> -->
|
|
|
|
|
|
<el-button type="text" size="small" icon="el-icon-view" @click="lookBtn(scope.row, scope.index)">查看 </el-button>
|
|
<el-button type="text" size="small" icon="el-icon-view" @click="lookBtn(scope.row, scope.index)">查看 </el-button>
|
|
|
|
|
|
@@ -155,9 +155,9 @@
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
注意: 1.报告将于24小时之内生成完毕,请注意下载。<br />
|
|
注意: 1.报告将于24小时之内生成完毕,请注意下载。<br />
|
|
- <i style="margin-left:62px"></i>2.报告汇总为封面+服务数据汇总+服务列表明细。
|
|
|
|
|
|
+ <i style="margin-left: 62px"></i>2.报告汇总为封面+服务数据汇总+服务列表明细。
|
|
<br />
|
|
<br />
|
|
- <i style="margin-left:10px"></i>3.报告详情为每条服务的服务详情+图片。
|
|
|
|
|
|
+ <i style="margin-left: 10px"></i>3.报告详情为每条服务的服务详情+图片。
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
@@ -176,7 +176,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import {missionCenterData} from '@/const/crud/missionCenter';
|
|
|
|
|
|
+import { missionCenterData } from '@/const/crud/missionCenter';
|
|
import {
|
|
import {
|
|
getPageTasklist,
|
|
getPageTasklist,
|
|
taskExportNbqybg,
|
|
taskExportNbqybg,
|
|
@@ -188,8 +188,8 @@ import {
|
|
taskNewExportNbqybg,
|
|
taskNewExportNbqybg,
|
|
taskExportNewExcelNbqybg
|
|
taskExportNewExcelNbqybg
|
|
} from '@/api/taskManagement/missionCenter';
|
|
} from '@/api/taskManagement/missionCenter';
|
|
-import {selectByScorePackageId} from '@/api/task/taskType';
|
|
|
|
-import {plist} from '@/const/crud/taskTypeTree/index';
|
|
|
|
|
|
+import { selectByScorePackageId } from '@/api/task/taskType';
|
|
|
|
+import { plist } from '@/const/crud/taskTypeTree/index';
|
|
export default {
|
|
export default {
|
|
name: 'points',
|
|
name: 'points',
|
|
data() {
|
|
data() {
|
|
@@ -238,7 +238,7 @@ export default {
|
|
this.searchFormTask
|
|
this.searchFormTask
|
|
)
|
|
)
|
|
)
|
|
)
|
|
- .then(response => {
|
|
|
|
|
|
+ .then((response) => {
|
|
this.tableDataTask = response.data.data.records;
|
|
this.tableDataTask = response.data.data.records;
|
|
|
|
|
|
for (let i = 0; i < this.tableDataTask.length; i++) {
|
|
for (let i = 0; i < this.tableDataTask.length; i++) {
|
|
@@ -266,7 +266,7 @@ export default {
|
|
scorePackageId: row.id
|
|
scorePackageId: row.id
|
|
};
|
|
};
|
|
selectScore(arg)
|
|
selectScore(arg)
|
|
- .then(response => {
|
|
|
|
|
|
+ .then((response) => {
|
|
if (response.data.data == 0) {
|
|
if (response.data.data == 0) {
|
|
this.approValnot = true;
|
|
this.approValnot = true;
|
|
this.reportNot = true;
|
|
this.reportNot = true;
|
|
@@ -290,7 +290,7 @@ export default {
|
|
taskStatus: 3
|
|
taskStatus: 3
|
|
};
|
|
};
|
|
saveAndUpdateWmReport(arg)
|
|
saveAndUpdateWmReport(arg)
|
|
- .then(response => {
|
|
|
|
|
|
+ .then((response) => {
|
|
console.log('response', response);
|
|
console.log('response', response);
|
|
if (response.data.code === 0) {
|
|
if (response.data.code === 0) {
|
|
this.$message.success('提交成功');
|
|
this.$message.success('提交成功');
|
|
@@ -309,7 +309,7 @@ export default {
|
|
taskStatus: 3
|
|
taskStatus: 3
|
|
};
|
|
};
|
|
saveAndUpdateWmTask(arg)
|
|
saveAndUpdateWmTask(arg)
|
|
- .then(response => {
|
|
|
|
|
|
+ .then((response) => {
|
|
this.$message.success('提交成功');
|
|
this.$message.success('提交成功');
|
|
this.showReport = false;
|
|
this.showReport = false;
|
|
this.getListTask(this.page, form);
|
|
this.getListTask(this.page, form);
|
|
@@ -434,9 +434,9 @@ export default {
|
|
viewDetail(row) {
|
|
viewDetail(row) {
|
|
// this.taskTypes = row.taskTypes == null ? "无" : row.taskTypes;
|
|
// this.taskTypes = row.taskTypes == null ? "无" : row.taskTypes;
|
|
// this.taskTypedialog = true;
|
|
// this.taskTypedialog = true;
|
|
- selectByScorePackageId({id: row.id}).then(response => {
|
|
|
|
|
|
+ selectByScorePackageId({ id: row.id }).then((response) => {
|
|
this.taskTypes = response.data.data;
|
|
this.taskTypes = response.data.data;
|
|
- this.taskTypes.forEach(item => {
|
|
|
|
|
|
+ this.taskTypes.forEach((item) => {
|
|
item.code = plist[item.code];
|
|
item.code = plist[item.code];
|
|
});
|
|
});
|
|
this.taskTypedialog = true;
|
|
this.taskTypedialog = true;
|