|
@@ -0,0 +1,145 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <a-card :bordered="false">
|
|
|
|
|
+ <!-- 查询区域 -->
|
|
|
|
|
+ <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>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ </a-form>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- table区域-begin -->
|
|
|
|
|
+ <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 v-slot:customerName="text, record" >
|
|
|
|
|
+ <a @click="showTaskList(record)">{{text}}</a>
|
|
|
|
|
+ </template>-->
|
|
|
|
|
+ </a-table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </a-card>
|
|
|
|
|
+</template>
|
|
|
|
|
+
|
|
|
|
|
+<script>
|
|
|
|
|
+
|
|
|
|
|
+import '@/assets/less/TableExpand.less'
|
|
|
|
|
+import { mixinDevice } from '@/utils/mixin'
|
|
|
|
|
+import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
|
|
+import SmsCheckWorkLogModal from '../smscheck/modules/SmsCheckWorkLogModal'
|
|
|
|
|
+import {getAction} from "@api/manage";
|
|
|
|
|
+
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: 'companyList',
|
|
|
|
|
+ mixins:[JeecgListMixin, mixinDevice],
|
|
|
|
|
+ components: {
|
|
|
|
|
+ SmsCheckWorkLogModal
|
|
|
|
|
+ },
|
|
|
|
|
+ props: {
|
|
|
|
|
+ task: {
|
|
|
|
|
+ type: Object,
|
|
|
|
|
+ require: true
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ data () {
|
|
|
|
|
+ return {
|
|
|
|
|
+ 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: 'customerName',
|
|
|
|
|
+ scopedSlots: { customRender: 'customerName' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title:'服务号码(全)',
|
|
|
|
|
+ align:"center",
|
|
|
|
|
+ dataIndex: 'smsNumber',
|
|
|
|
|
+ }, {
|
|
|
|
|
+ title:'入网时间',
|
|
|
|
|
+ align:"center",
|
|
|
|
|
+ dataIndex: 'networkAccessTime',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title:'用户状态',
|
|
|
|
|
+ align:"center",
|
|
|
|
|
+ dataIndex: 'userState',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title:'员工姓名',
|
|
|
|
|
+ align:"center",
|
|
|
|
|
+ dataIndex: 'staffName',
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ url: {
|
|
|
|
|
+ list: "/smsCheck/customerInfo/list",
|
|
|
|
|
+ },
|
|
|
|
|
+ dictOptions:{},
|
|
|
|
|
+ superFieldList:[],
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ created() {
|
|
|
|
|
+ /* this.getSuperFieldList();*/
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ showTaskList(record){
|
|
|
|
|
+ let taskInfo = Object.assign({}, this.task);
|
|
|
|
|
+ let info = {
|
|
|
|
|
+ task: this.task,
|
|
|
|
|
+ info: record
|
|
|
|
|
+ };
|
|
|
|
|
+ this.$emit("goTaskList",info)
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+</script>
|
|
|
|
|
+<style scoped>
|
|
|
|
|
+@import '~@assets/less/common.less';
|
|
|
|
|
+</style>
|