|
|
@@ -0,0 +1,238 @@
|
|
|
+<template>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ <a-page-header
|
|
|
+ style="background-color: #FFFFFF;"
|
|
|
+ title="稽核详情"
|
|
|
+ sub-title=""
|
|
|
+ @back="showList"
|
|
|
+ >
|
|
|
+ <a-descriptions :title="task.name" size="small" :column="3">
|
|
|
+ <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.endTime}}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="描述">{{task.description}}</a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+<!-- <a-divider style="margin: 6px;"/>-->
|
|
|
+ </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-tabs>
|
|
|
+ <!-- 查询区域 -->
|
|
|
+ <div class="table-page-search-wrapper">
|
|
|
+ <a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <a-form-item label="客户编号">
|
|
|
+ <j-input placeholder="请输入客户编号" v-model="queryParam.customerNo"></j-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <a-form-item label="客户名称">
|
|
|
+ <j-input placeholder="请输入客户名称" v-model="queryParam.customerName"></j-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <template v-if="toggleSearchStatus">
|
|
|
+
|
|
|
+ </template>
|
|
|
+ <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="searchQuery" icon="search">查询</a-button>
|
|
|
+ <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
|
+ <a @click="handleToggleSearch" style="margin-left: 8px">
|
|
|
+ {{ toggleSearchStatus ? '收起' : '展开' }}
|
|
|
+ <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
|
|
+ </a>
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </a-form>
|
|
|
+ </div>
|
|
|
+ <!-- 查询区域-END -->
|
|
|
+
|
|
|
+ <!-- table区域-begin -->
|
|
|
+ <div>
|
|
|
+ <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
+ <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
|
+ <a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <a-table
|
|
|
+ ref="table"
|
|
|
+ size="middle"
|
|
|
+ :scroll="{x:true}"
|
|
|
+ bordered
|
|
|
+ rowKey="id"
|
|
|
+ :columns="columns"
|
|
|
+ :dataSource="dataSource"
|
|
|
+ :pagination="ipagination"
|
|
|
+ :loading="loading"
|
|
|
+ :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
+ class="j-table-force-nowrap"
|
|
|
+ @change="handleTableChange">
|
|
|
+
|
|
|
+ <template slot="htmlSlot" slot-scope="text">
|
|
|
+ <div v-html="text"></div>
|
|
|
+ </template>
|
|
|
+ <template slot="imgSlot" slot-scope="text,record">
|
|
|
+ <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
|
|
|
+ <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
|
|
|
+ </template>
|
|
|
+ <template slot="fileSlot" slot-scope="text">
|
|
|
+ <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
|
|
|
+ <a-button
|
|
|
+ v-else
|
|
|
+ :ghost="true"
|
|
|
+ type="primary"
|
|
|
+ icon="download"
|
|
|
+ size="small"
|
|
|
+ @click="downloadFile(text)">
|
|
|
+ 下载
|
|
|
+ </a-button>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <span slot="action" slot-scope="text, record">
|
|
|
+ <a @click="handleEdit(record)">编辑</a>
|
|
|
+
|
|
|
+ <a-divider type="vertical" />
|
|
|
+ <a @click="handleDetail(record)">详情</a>
|
|
|
+ <a-divider type="vertical" />
|
|
|
+ <a-dropdown>
|
|
|
+ <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
|
+ <a-menu slot="overlay">
|
|
|
+ <a-menu-item>
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
+ <a>删除</a>
|
|
|
+ </a-popconfirm>
|
|
|
+ </a-menu-item>
|
|
|
+ </a-menu>
|
|
|
+ </a-dropdown>
|
|
|
+ </span>
|
|
|
+
|
|
|
+ </a-table>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <!-- table区域 end -->
|
|
|
+ </a-card>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+
|
|
|
+import { httpAction } from '@api/manage'
|
|
|
+import '@/assets/less/TableExpand.less'
|
|
|
+import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: 'TaskCheckList',
|
|
|
+ mixins:[JeecgListMixin],
|
|
|
+ props: {
|
|
|
+ task: {
|
|
|
+ type: Object,
|
|
|
+ require: true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ description: '稽核详情页面',
|
|
|
+ tab1: '全部(' + this.task.customerCount + ')',
|
|
|
+ tab2: '待稽核(' + this.task.customerCount + ')',
|
|
|
+ tab3: '已稽核(' + this.task.checkCount + ')',
|
|
|
+ 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: 'customerName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'服务号码(全)',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'smsNumber'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'用户编号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'userNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'入网时间',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'networkAccessTime'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'用户状态',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'userState'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'员工姓名',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'staffName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'员工工号',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'staffNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '操作',
|
|
|
+ dataIndex: 'action',
|
|
|
+ align:"center",
|
|
|
+ fixed:"right",
|
|
|
+ width:147,
|
|
|
+ scopedSlots: { customRender: 'action' }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ url: {
|
|
|
+ list: "/smsCheck/customerInfo/list",
|
|
|
+ delete: "/smsCheck/task/delete",
|
|
|
+ edit: "/smsCheck/task/edit",
|
|
|
+ deleteBatch: "/smsCheck/task/deleteBatch",
|
|
|
+ exportXlsUrl: "/smsCheck/task/exportXls",
|
|
|
+ importExcelUrl: "smsCheck/task/importExcel",
|
|
|
+
|
|
|
+ },
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ // 显示列表页面
|
|
|
+ showList() {
|
|
|
+ this.$emit('goList', true);
|
|
|
+ },
|
|
|
+ handleCancel () {
|
|
|
+ this.visible = false;
|
|
|
+ },
|
|
|
+ detail (record) {
|
|
|
+ this.model = Object.assign({}, record);
|
|
|
+ this.visible = true;
|
|
|
+ },
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+
|
|
|
+</style>
|