|
@@ -7,40 +7,33 @@
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-item label="账户id">
|
|
|
|
- <a-input placeholder="请输入账户id" v-model="queryParam.accountId"></a-input>
|
|
|
|
|
|
+ <a-form-item label="账户">
|
|
|
|
+ <!--<a-input placeholder="请输入账户id" v-model="queryParam.accountId"></a-input>-->
|
|
|
|
+ <j-dict-select-tag v-model="queryParam.accountId" placeholder="请选择用户名称" dictCode="ctop_user_allocation,auth_name,account_id,account_status = '0'"/>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-item label="源项目">
|
|
|
|
- <a-input placeholder="请输入源项目" v-model="queryParam.soucreProject"></a-input>
|
|
|
|
|
|
+ <a-form-item label="状态">
|
|
|
|
+ <a-select default-value="0" v-model="queryParam.status">
|
|
|
|
+ <a-select-option value="0">
|
|
|
|
+ 全部
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option value="1">
|
|
|
|
+ 审核中
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option value="2">
|
|
|
|
+ 已通过
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option value="3">
|
|
|
|
+ 已驳回
|
|
|
|
+ </a-select-option>
|
|
|
|
+ </a-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <template v-if="toggleSearchStatus">
|
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
- <a-form-item label="目标项目">
|
|
|
|
- <a-input placeholder="请输入目标项目" v-model="queryParam.targetProject"></a-input>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
- <a-form-item label="转户操作人">
|
|
|
|
- <a-input placeholder="请输入转户操作人" v-model="queryParam.userId"></a-input>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
|
- <a-form-item label="状态">
|
|
|
|
- <a-input placeholder="请输入状态" v-model="queryParam.status"></a-input>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- </template>
|
|
|
|
<a-col :md="6" :sm="8" >
|
|
<a-col :md="6" :sm="8" >
|
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
<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="searchQuery" icon="search">查询</a-button>
|
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</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>
|
|
</span>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
@@ -50,17 +43,7 @@
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
<!-- 操作按钮区域 -->
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
|
|
|
- <a-button type="primary" icon="download" @click="handleExportXls('账户转项目记录')">导出</a-button>
|
|
|
|
- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
|
|
- <a-button type="primary" icon="import">导入</a-button>
|
|
|
|
- </a-upload>
|
|
|
|
- <a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
|
- <a-menu slot="overlay">
|
|
|
|
- <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
|
|
|
|
- </a-menu>
|
|
|
|
- <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
|
|
- </a-dropdown>
|
|
|
|
|
|
+ <!--<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>-->
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
<!-- table区域-begin -->
|
|
@@ -75,11 +58,11 @@
|
|
:pagination="ipagination"
|
|
:pagination="ipagination"
|
|
:loading="loading"
|
|
:loading="loading"
|
|
@change="handleTableChange">
|
|
@change="handleTableChange">
|
|
-
|
|
|
|
- <span slot="action" slot-scope="text, record" v-show="record.status!=1">
|
|
|
|
- <a @click="handleEdit(record)">撤销</a>
|
|
|
|
|
|
+ <span slot="action" slot-scope="text, record">
|
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
|
+ <a>删除</a>
|
|
|
|
+ </a-popconfirm>
|
|
</span>
|
|
</span>
|
|
-
|
|
|
|
</a-table>
|
|
</a-table>
|
|
<!-- table区域-end -->
|
|
<!-- table区域-end -->
|
|
|
|
|
|
@@ -91,6 +74,7 @@
|
|
<script>
|
|
<script>
|
|
import ProjectTransferRecordModal from './modules/ProjectTransferRecordModal'
|
|
import ProjectTransferRecordModal from './modules/ProjectTransferRecordModal'
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
|
+ import {postAction} from "../../../api/manage";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: "ProjectTransferRecordList",
|
|
name: "ProjectTransferRecordList",
|
|
@@ -146,11 +130,9 @@
|
|
}
|
|
}
|
|
],
|
|
],
|
|
url: {
|
|
url: {
|
|
- list: "/ctop/projectTransferRecord/list",
|
|
|
|
|
|
+ list: "/ctop/projectTransferRecord/auditList",
|
|
delete: "/ctop/projectTransferRecord/delete",
|
|
delete: "/ctop/projectTransferRecord/delete",
|
|
- deleteBatch: "/ctop/projectTransferRecord/deleteBatch",
|
|
|
|
- exportXlsUrl: "ctop/projectTransferRecord/exportXls",
|
|
|
|
- importExcelUrl: "ctop/projectTransferRecord/importExcel",
|
|
|
|
|
|
+ deleteBatch: "/ctop/projectTransferRecord/deleteBatch"
|
|
},
|
|
},
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -160,7 +142,11 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
-
|
|
|
|
|
|
+ handleDele(record){
|
|
|
|
+ if(confirm("确认要删除此数据?")){
|
|
|
|
+ postAction()
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|