|
@@ -3,11 +3,11 @@
|
|
|
<div>
|
|
<div>
|
|
|
<a-page-header
|
|
<a-page-header
|
|
|
style="background-color: #FFFFFF;"
|
|
style="background-color: #FFFFFF;"
|
|
|
- title="稽核详情"
|
|
|
|
|
|
|
+ title="稽核详情-客户列表"
|
|
|
sub-title=""
|
|
sub-title=""
|
|
|
@back="showList"
|
|
@back="showList"
|
|
|
>
|
|
>
|
|
|
- <a-descriptions :title="task.name" size="small" :column="3">
|
|
|
|
|
|
|
+ <a-descriptions :title="task.name" size="small" :bordered="true" :column="3">
|
|
|
<a-descriptions-item label="状态"><a-tag color="blue">{{task.stateText}}</a-tag></a-descriptions-item>
|
|
<a-descriptions-item label="状态"><a-tag color="blue">{{task.stateText}}</a-tag></a-descriptions-item>
|
|
|
<a-descriptions-item label="开始时间">{{task.startTime}}</a-descriptions-item>
|
|
<a-descriptions-item label="开始时间">{{task.startTime}}</a-descriptions-item>
|
|
|
<a-descriptions-item label="结束时间">{{task.endTime}}</a-descriptions-item>
|
|
<a-descriptions-item label="结束时间">{{task.endTime}}</a-descriptions-item>
|
|
@@ -16,11 +16,13 @@
|
|
|
<!-- <a-divider style="margin: 6px;"/>-->
|
|
<!-- <a-divider style="margin: 6px;"/>-->
|
|
|
</a-page-header>
|
|
</a-page-header>
|
|
|
|
|
|
|
|
- <a-card :bordered="false" style="margin-top: -22px;">
|
|
|
|
|
- <a-tabs default-active-key="1" @change="">
|
|
|
|
|
- <a-tab-pane key="1" :tab="tab1"></a-tab-pane>
|
|
|
|
|
- <a-tab-pane key="2" :tab="tab2"></a-tab-pane>
|
|
|
|
|
- <a-tab-pane key="3" :tab="tab3"></a-tab-pane>
|
|
|
|
|
|
|
+ <a-card :bordered="false" style="margin-top: -15px;">
|
|
|
|
|
+ <a-tabs default-active-key="1" @change="tabChange">
|
|
|
|
|
+ <a-tab-pane key="all" :tab="tabAll"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="undo" :tab="tabUndo"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="uncheck" :tab="tabUncheck"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="checked" :tab="tabChecked"></a-tab-pane>
|
|
|
|
|
+ <a-tab-pane key="passed" :tab="tabPassed"></a-tab-pane>
|
|
|
</a-tabs>
|
|
</a-tabs>
|
|
|
<!-- 查询区域 -->
|
|
<!-- 查询区域 -->
|
|
|
<div class="table-page-search-wrapper">
|
|
<div class="table-page-search-wrapper">
|
|
@@ -96,10 +98,10 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
<span slot="action" slot-scope="text, record">
|
|
|
- <a @click="handleEdit(record)">编辑</a>
|
|
|
|
|
|
|
+<!-- <a @click="handleEdit(record)">编辑</a>-->
|
|
|
|
|
|
|
|
- <a-divider type="vertical" />
|
|
|
|
|
- <a @click="handleDetail(record)">详情</a>
|
|
|
|
|
|
|
+<!-- <a-divider type="vertical" />-->
|
|
|
|
|
+ <a @click="showCheckDetail(record)">详情</a>
|
|
|
<a-divider type="vertical" />
|
|
<a-divider type="vertical" />
|
|
|
<a-dropdown>
|
|
<a-dropdown>
|
|
|
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
@@ -119,15 +121,13 @@
|
|
|
<!-- table区域 end -->
|
|
<!-- table区域 end -->
|
|
|
</a-card>
|
|
</a-card>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
|
|
|
|
-import { httpAction } from '@api/manage'
|
|
|
|
|
|
|
+import { httpAction, getAction } from '@api/manage'
|
|
|
import '@/assets/less/TableExpand.less'
|
|
import '@/assets/less/TableExpand.less'
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
|
|
|
|
@@ -143,9 +143,16 @@ export default {
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
description: '稽核详情页面',
|
|
description: '稽核详情页面',
|
|
|
- tab1: '全部(' + this.task.customerCount + ')',
|
|
|
|
|
- tab2: '待稽核(' + this.task.customerCount + ')',
|
|
|
|
|
- tab3: '已稽核(' + this.task.checkCount + ')',
|
|
|
|
|
|
|
+ tabAll: '全部(0)',
|
|
|
|
|
+ tabUndo: '未完善(0)',
|
|
|
|
|
+ tabUncheck: '待稽核(0)',
|
|
|
|
|
+ tabChecked: '待整改(0)',
|
|
|
|
|
+ tabPassed: '稽核通过(0)',
|
|
|
|
|
+ count: 0,
|
|
|
|
|
+ undoCount: 0,
|
|
|
|
|
+ uncheckCount: 0,
|
|
|
|
|
+ checkedCount: 0,
|
|
|
|
|
+ passedCount: 0,
|
|
|
columns: [
|
|
columns: [
|
|
|
{
|
|
{
|
|
|
title: '#',
|
|
title: '#',
|
|
@@ -208,19 +215,59 @@ export default {
|
|
|
],
|
|
],
|
|
|
url: {
|
|
url: {
|
|
|
list: "/smsCheck/customerInfo/list",
|
|
list: "/smsCheck/customerInfo/list",
|
|
|
|
|
+ count: "/smsCheck/customerInfo/count",
|
|
|
delete: "/smsCheck/task/delete",
|
|
delete: "/smsCheck/task/delete",
|
|
|
edit: "/smsCheck/task/edit",
|
|
edit: "/smsCheck/task/edit",
|
|
|
- deleteBatch: "/smsCheck/task/deleteBatch",
|
|
|
|
|
- exportXlsUrl: "/smsCheck/task/exportXls",
|
|
|
|
|
- importExcelUrl: "smsCheck/task/importExcel",
|
|
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
+ autoSearch: false,
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ created() {
|
|
|
|
|
+ this.queryParam.taskId = this.task.id;
|
|
|
|
|
+ this.loadData();
|
|
|
|
|
+ let url = this.url.count;
|
|
|
|
|
+ let params = {
|
|
|
|
|
+ id: this.task.id
|
|
|
}
|
|
}
|
|
|
|
|
+ let that = this;
|
|
|
|
|
+ getAction(url, params).then(res => {
|
|
|
|
|
+ let { result } = res;
|
|
|
|
|
+ if (result) {
|
|
|
|
|
+ that.count = result.count;
|
|
|
|
|
+ that.undoCount = result.undoCount;
|
|
|
|
|
+ that.uncheckCount = result.uncheckCount;
|
|
|
|
|
+ that.checkedCount = result.checkedCount;
|
|
|
|
|
+ that.passedCount = result.passedCount;
|
|
|
|
|
+ that.tabAll= '全部(' + result.count + ')';
|
|
|
|
|
+ that.tabUndo= '未完善(' + result.undoCount + ')';
|
|
|
|
|
+ that.tabUncheck= '待稽核(' + result.uncheckCount + ')';
|
|
|
|
|
+ that.tabChecked= '待整改(' + result.checkedCount + ')';
|
|
|
|
|
+ that.tabPassed= '稽核通过(' + result.passedCount + ')';
|
|
|
|
|
+ }
|
|
|
|
|
+ }).finally(() => {
|
|
|
|
|
+
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
// 显示列表页面
|
|
// 显示列表页面
|
|
|
showList() {
|
|
showList() {
|
|
|
- this.$emit('goList', true);
|
|
|
|
|
|
|
+ this.$emit('goList');
|
|
|
|
|
+ },
|
|
|
|
|
+ // 显示列表页面
|
|
|
|
|
+ showCheckDetail(record) {
|
|
|
|
|
+ let taskInfo = Object.assign({}, this.task);
|
|
|
|
|
+ taskInfo.count = this.count;
|
|
|
|
|
+ taskInfo.undoCount = this.undoCount;
|
|
|
|
|
+ taskInfo.uncheckCount = this.uncheckCount;
|
|
|
|
|
+ taskInfo.checkedCount = this.checkedCount;
|
|
|
|
|
+ taskInfo.passedCount = this.passedCount;
|
|
|
|
|
+ let info = {
|
|
|
|
|
+ task: this.task,
|
|
|
|
|
+ info: record
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
|
|
+ this.$emit('goCheckDetail', info);
|
|
|
},
|
|
},
|
|
|
handleCancel () {
|
|
handleCancel () {
|
|
|
this.visible = false;
|
|
this.visible = false;
|
|
@@ -229,6 +276,19 @@ export default {
|
|
|
this.model = Object.assign({}, record);
|
|
this.model = Object.assign({}, record);
|
|
|
this.visible = true;
|
|
this.visible = true;
|
|
|
},
|
|
},
|
|
|
|
|
+ tabChange (key) {
|
|
|
|
|
+ // 稽核状态(0:未处理;1:未完善;2:待稽核;3:待整改;4:已整改;5:稽核通过;)
|
|
|
|
|
+ if (key === 'undo') {
|
|
|
|
|
+ this.queryParam.checkState_MultiString = '0,1';
|
|
|
|
|
+ } else if (key === 'uncheck') {
|
|
|
|
|
+ this.queryParam.checkState_MultiString = '2,4';
|
|
|
|
|
+ } else if (key === 'checked') {
|
|
|
|
|
+ this.queryParam.checkState_MultiString = '3';
|
|
|
|
|
+ } else if (key === 'passed') {
|
|
|
|
|
+ this.queryParam.checkState_MultiString = '5';
|
|
|
|
|
+ }
|
|
|
|
|
+ this.loadData();
|
|
|
|
|
+ },
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|