|
@@ -1,205 +1,109 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div>
|
|
|
|
|
- <a-page-header
|
|
|
|
|
- style="background-color: #FFFFFF;"
|
|
|
|
|
- title="稽核详情"
|
|
|
|
|
- sub-title=""
|
|
|
|
|
- @back="showTaskList"
|
|
|
|
|
- >
|
|
|
|
|
- <a-descriptions :title="taskInfo.info.customerName" :column="3" :bordered="false">
|
|
|
|
|
- <a-descriptions-item label="任务名称">{{taskInfo.task.taskName}}</a-descriptions-item>
|
|
|
|
|
- <a-descriptions-item label="开始时间">{{taskInfo.task.taskStartTime}}</a-descriptions-item>
|
|
|
|
|
- <a-descriptions-item label="结束时间">{{taskInfo.task.taskEndTime}}</a-descriptions-item>
|
|
|
|
|
- <a-descriptions-item label="任务状态">{{taskInfo.task.taskState_dictText}}</a-descriptions-item>
|
|
|
|
|
- <a-descriptions-item label="任务描述" :span="2">{{taskInfo.task.description}}</a-descriptions-item>
|
|
|
|
|
- </a-descriptions>
|
|
|
|
|
- </a-page-header>
|
|
|
|
|
|
|
+ <!-- 稽核任务动态 -->
|
|
|
|
|
+ <div style=" padding: 20px">
|
|
|
|
|
+ <a-row :gutter="16">
|
|
|
|
|
+ <a-col :span="8">
|
|
|
|
|
+ <a-card title="任务动态" style="width: 500px" :bordered="true">
|
|
|
|
|
+ <template #extra>
|
|
|
|
|
+ <a @click="handleToggleSearch1" style="margin-left: 8px">
|
|
|
|
|
+ {{ toggleSearchStatus1 ? '收起' : '展开' }}
|
|
|
|
|
+ <a-icon :type="toggleSearchStatus1 ? 'up' : 'down'"/>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <a-timeline>
|
|
|
|
|
+ <template v-if="toggleSearchStatus1">
|
|
|
|
|
+ <a-timeline-item>22-07-06 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-04 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-04 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-04 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-04 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-06 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-04 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-04 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-04 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ <a-timeline-item>22-07-04 09:27 张文超提交了服务号【133****64621】的资料</a-timeline-item>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-timeline>
|
|
|
|
|
+ </a-card>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+<!-- <a-col :span="8">
|
|
|
|
|
+ <a-card title="预警统计" style="width: 800px" :bordered="true">
|
|
|
|
|
+ <template #extra>
|
|
|
|
|
+ <a @click="handleToggleSearch2" style="margin-left: 8px">
|
|
|
|
|
+ {{ toggleSearchStatus2 ? '收起' : '展开' }}
|
|
|
|
|
+ <a-icon :type="toggleSearchStatus2 ? 'up' : 'down'"/>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template v-if="toggleSearchStatus2">
|
|
|
|
|
+ <a-descriptions :column="5" :bordered="true">
|
|
|
|
|
+ <a-descriptions-item label="总数">50</a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="未完善">5</a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="待稽核">10</a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="待整改">15</a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="通过">20</a-descriptions-item>
|
|
|
|
|
+ </a-descriptions>
|
|
|
|
|
|
|
|
- <a-card :bordered="false" title="稽核信息" style="margin-top: 10px;">
|
|
|
|
|
- <!-- 查询区域 -->
|
|
|
|
|
- <div class="table-page-search-wrapper">
|
|
|
|
|
- <a-form layout="inline" >
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
|
|
- <a-form-item label="服务号码">
|
|
|
|
|
- <j-input placeholder="请输入服务号码" v-model="queryParam.smsNumber"></j-input>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
|
|
- <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
|
|
|
- <a-button type="primary" @click="query" icon="search">查询</a-button>
|
|
|
|
|
- <a-button type="primary" @click="reset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
|
|
|
- </span>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- </a-form>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <a-table
|
|
|
|
|
- ref="table"
|
|
|
|
|
- size="middle"
|
|
|
|
|
- :scroll="{x:true}"
|
|
|
|
|
- bordered
|
|
|
|
|
- rowKey="id"
|
|
|
|
|
- :columns="columns"
|
|
|
|
|
- :dataSource="dataSource"
|
|
|
|
|
- :pagination="ipagination"
|
|
|
|
|
- :loading="loading"
|
|
|
|
|
- class="j-table-force-nowrap"
|
|
|
|
|
- @change="handleTableChange">
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-card>
|
|
|
|
|
+ </a-col>-->
|
|
|
|
|
+ <!--<a-col :span="8">
|
|
|
|
|
+ <a-card title="Card title" :bordered="false">
|
|
|
|
|
+ <p>card content</p>
|
|
|
|
|
+ </a-card>
|
|
|
|
|
+ </a-col>-->
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- <div>
|
|
|
|
|
+ <a-row>
|
|
|
|
|
+ <a-col :span="8">
|
|
|
|
|
+ <a-card title="稽核历史" style="width: 500px" :bordered="true">
|
|
|
|
|
+ <template #extra><a href="#">更多>></a></template>
|
|
|
|
|
+ <p>22-07-06 09:27 张文超提交了资料</p>
|
|
|
|
|
+ <p>22-07-05 08:26 张文超提交了资料</p>
|
|
|
|
|
+ <p>22-07-05 08:24 张文超提交了的资料</p>
|
|
|
|
|
+ </a-card>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="8">
|
|
|
|
|
+ <a-card title="稽核目标" style="width: 300px" :bordered="true">
|
|
|
|
|
+ <a-descriptions :column="1" :bordered="true">
|
|
|
|
|
+ <a-descriptions-item label="总数">50</a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="未完善">5</a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="待稽核">10</a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="待整改">15</a-descriptions-item>
|
|
|
|
|
+ <a-descriptions-item label="通过">20</a-descriptions-item>
|
|
|
|
|
+ </a-descriptions>
|
|
|
|
|
+ </a-card>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
|
|
|
- <span slot="action" slot-scope="text, record">
|
|
|
|
|
- <a @click="showCheckCheck(record)">查看资料</a>
|
|
|
|
|
- </span>
|
|
|
|
|
|
|
|
|
|
- <template v-slot:checkState="status">
|
|
|
|
|
- <a-badge :status="status | statusTypeFilter" :text="status | statusFilter"/>
|
|
|
|
|
- </template>
|
|
|
|
|
- </a-table>
|
|
|
|
|
- </div>
|
|
|
|
|
- </a-card>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>-->
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
|
|
|
|
|
import '@/assets/less/TableExpand.less'
|
|
import '@/assets/less/TableExpand.less'
|
|
|
-import {getAction} from "@api/manage";
|
|
|
|
|
import {JeecgListMixin} from "@/mixins/JeecgListMixin";
|
|
import {JeecgListMixin} from "@/mixins/JeecgListMixin";
|
|
|
import {mixinDevice} from "@/utils/mixin";
|
|
import {mixinDevice} from "@/utils/mixin";
|
|
|
-
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'CompanyCheckDetail',
|
|
name: 'CompanyCheckDetail',
|
|
|
- mixins: [JeecgListMixin, mixinDevice],
|
|
|
|
|
components: {
|
|
components: {
|
|
|
},
|
|
},
|
|
|
- props: {
|
|
|
|
|
- taskInfo: {
|
|
|
|
|
- type: Object,
|
|
|
|
|
- require: true
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- filters: {
|
|
|
|
|
- statusTypeFilter(type) {
|
|
|
|
|
- const statusTypeMap = {
|
|
|
|
|
- '0': 'error',
|
|
|
|
|
- '1': 'error',
|
|
|
|
|
- '2': 'warning',
|
|
|
|
|
- '3': 'warning',
|
|
|
|
|
- '4': 'processing',
|
|
|
|
|
- '5': 'success'
|
|
|
|
|
- }
|
|
|
|
|
- return statusTypeMap[type]
|
|
|
|
|
- },
|
|
|
|
|
- statusFilter(status) {
|
|
|
|
|
- const statusMap = {
|
|
|
|
|
- '0': '未完善',
|
|
|
|
|
- '1': '未完善',
|
|
|
|
|
- '2': '待稽核',
|
|
|
|
|
- '3': '待稽核',
|
|
|
|
|
- '4': '待整改',
|
|
|
|
|
- '5': '通过'
|
|
|
|
|
- }
|
|
|
|
|
- return statusMap[status]
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
- description: '服务列表',
|
|
|
|
|
|
|
+ description: '稽核任务扩展',
|
|
|
// 表头
|
|
// 表头
|
|
|
- columns: [
|
|
|
|
|
- {
|
|
|
|
|
- title: '#',
|
|
|
|
|
- dataIndex: '',
|
|
|
|
|
- key: 'rowIndex',
|
|
|
|
|
- width: 60,
|
|
|
|
|
- align: "center",
|
|
|
|
|
- customRender: function (t, r, index) {
|
|
|
|
|
- return parseInt(index) + 1;
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '客户编号',
|
|
|
|
|
- align: "center",
|
|
|
|
|
- dataIndex: 'customerNo'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '用户编号',
|
|
|
|
|
- align: "center",
|
|
|
|
|
- dataIndex: 'userNo'
|
|
|
|
|
- },
|
|
|
|
|
- /*{
|
|
|
|
|
- title: '客户名称',
|
|
|
|
|
- align: "center",
|
|
|
|
|
- dataIndex: 'customerName'
|
|
|
|
|
- },*/
|
|
|
|
|
- {
|
|
|
|
|
- title: '用户发展员工',
|
|
|
|
|
- align: "center",
|
|
|
|
|
- dataIndex: 'staffName'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '入网时间',
|
|
|
|
|
- align: "center",
|
|
|
|
|
- dataIndex: 'networkAccessTime'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '服务号码',
|
|
|
|
|
- align: "center",
|
|
|
|
|
- dataIndex: 'smsNumber'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '资料状态',
|
|
|
|
|
- align: "center",
|
|
|
|
|
- dataIndex: 'checkState',
|
|
|
|
|
- scopedSlots: {customRender: 'checkState'}
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '操作',
|
|
|
|
|
- dataIndex: 'action',
|
|
|
|
|
- align: "center",
|
|
|
|
|
- fixed: "right",
|
|
|
|
|
- width: 147,
|
|
|
|
|
- scopedSlots: {customRender: 'action'}
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
- labelCol: { span: 1 },
|
|
|
|
|
- wrapperCol: { span: 23 },
|
|
|
|
|
- dictOptions:{},
|
|
|
|
|
- superFieldList:[],
|
|
|
|
|
- url: {
|
|
|
|
|
- list: "/smsCheck/customerInfo/staff/list",
|
|
|
|
|
- },
|
|
|
|
|
- queryParam:{},
|
|
|
|
|
- queryParam1:{}
|
|
|
|
|
|
|
+ toggleSearchStatus1:false,
|
|
|
|
|
+ toggleSearchStatus2:false,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.init();
|
|
this.init();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- showTaskList(){
|
|
|
|
|
- this.$emit("goTaskList",this.taskInfo)
|
|
|
|
|
- },
|
|
|
|
|
- showCheckCheck(record){
|
|
|
|
|
- this.taskInfo.info=record
|
|
|
|
|
-
|
|
|
|
|
- this.$emit("goCheckCheck",this.taskInfo)
|
|
|
|
|
- },
|
|
|
|
|
- query(){
|
|
|
|
|
- this.init();
|
|
|
|
|
- },
|
|
|
|
|
- reset(){
|
|
|
|
|
- this.queryParam.smsNumber='';
|
|
|
|
|
- this.init();
|
|
|
|
|
- },
|
|
|
|
|
- init(){
|
|
|
|
|
- this.queryParam.customerNo=this.taskInfo.info.customerNo;
|
|
|
|
|
- this.queryParam.taskId=this.taskInfo.task.id;
|
|
|
|
|
- getAction("/smsCheck/customerInfo/list",this.queryParam).then(resp=>{
|
|
|
|
|
- if(resp.success){
|
|
|
|
|
- this.dataSource=resp.result.records
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ handleToggleSearch1(){
|
|
|
|
|
+ this.toggleSearchStatus1 = !this.toggleSearchStatus1;
|
|
|
|
|
+ },handleToggleSearch2(){
|
|
|
|
|
+ this.toggleSearchStatus2 = !this.toggleSearchStatus2;
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|