Browse Source

资产审核

master
ltlzx 5 years ago
parent
commit
d9e2a10c26
  1. 23
      src/api/index.js
  2. 28
      src/assets/css/sidebar.css
  3. 54
      src/components/common/dialog/DataReview/businessInfo.vue
  4. 6
      src/components/common/dialog/content.vue
  5. 52
      src/components/common/dialog/insex.vue
  6. 7
      src/components/page/AccountManagement/platformSelect.vue
  7. 6
      src/components/page/AssetManagement/assetQuery.vue
  8. 37
      src/components/page/AssetManagement/groundingAudit.vue
  9. 7
      src/components/page/AssetManagement/releaseAudit.vue

23
src/api/index.js

@ -81,12 +81,21 @@ export const blackList = query => {
/* 资产管理 */ /* 资产管理 */
//查看资料
export const getAssetInfo = query => {
return request({
url: 'api/admin.Asset/getAssetInfo',
method: 'get',
params: query
});
};
/* 资产管理 --资产信息查询*/ /* 资产管理 --资产信息查询*/
//资产信息查询列表 //资产信息查询列表
export const getAccountList = query => { export const getAccountList = query => {
return request({ return request({
url: 'api/admin.Task/getAccountList', url: 'api/admin.Asset/assetList',
method: 'get', method: 'get',
params: query params: query
}); });
@ -97,7 +106,17 @@ export const getAccountList = query => {
//资产审核列表 //资产审核列表
export const accountApplyList = query => { export const accountApplyList = query => {
return request({ return request({
url: 'api/admin.Task/accountApplyList', url: 'api/admin.Asset/cartellinoList',
method: 'get',
params: query
});
};
/* 资产管理 --资产发布审核*/
//资产审核列表
export const sendList = query => {
return request({
url: 'api/admin.Asset/sendList',
method: 'get', method: 'get',
params: query params: query
}); });

28
src/assets/css/sidebar.css

@ -1,6 +1,6 @@
.body1{ .body1{
margin-left: 20px; margin-left: 20px;
width: 600px; width: 950px;
} }
.body2{ .body2{
display: flex; display: flex;
@ -19,6 +19,19 @@
width: 130px; width: 130px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
cursor: pointer;
}
.img_span1{
font-size: 14px;
color: #4E73E4;
cursor: pointer;
width: 100%;
}
.img_span1>span{
display: inline-block;
margin-right: 15px;
margin-bottom: 15px;
text-decoration: underline;
} }
.upload_span{ .upload_span{
color: #4E73E4; color: #4E73E4;
@ -52,4 +65,17 @@
.input_item >.el-input{ .input_item >.el-input{
width: 300px; width: 300px;
margin-left: 10px; margin-left: 10px;
}
.p_info{
font-size: 14px;
color: #555555;
margin-top: 10px;
}
.el-image-viewer__wrapper{
z-index: 2018;
} }

54
src/components/common/dialog/DataReview/businessInfo.vue

@ -0,0 +1,54 @@
<template>
<div class="body1">
<p class="title">商家概况</p>
<div class="img_span1">
<span v-for="(item,index) in img_data " :key="index" @click="onPreview(item.url)">{{item.name}}{{item.url.length}}</span>
<el-image-viewer
v-if="showViewer"
:on-close="closeViewer"
:url-list="img_url"
:z-index="9999"
/>
</div>
<p class="p_info">托管方类型机构托管</p>
</div>
</template>
<script>
export default {
components: {
ElImageViewer: () => import('element-ui/packages/image/src/image-viewer')
},
props:{
contentDatas:{
require: true
}
},
data() {
return{
img_data:[],
showViewer:false,
img_url:[]
}
},
methods:{
onPreview(img) {
this.img_url = img
this.showViewer = true
},
//
closeViewer() {
this.showViewer = false
},
},
created(){
this.img_data=[{name:'营业执照',url:[this.contentDatas.shop_data.business_license]},{name:'法人代表证明书',url:[this.contentDatas.shop_data.legal_certificate]},
{name:'法人身份证件',url:[this.contentDatas.shop_data.legal_card]},{name:'法人授权委托书',url:[this.contentDatas.shop_data.legal_authorization]},
{name:'经办人身份证',url:[this.contentDatas.shop_data.operator_card]},{name:'银行开户证明',url:[this.contentDatas.shop_data.bank_account_certificate]},
{name:'资产托管权属承诺函',url:[this.contentDatas.shop_data.asset_trusteeship]},{name:'其他要求文件',url:[this.contentDatas.shop_data.else_file]},
]
}
}
</script>
<style scoped>
@import url('../../../../assets/css/sidebar.css');
</style>

6
src/components/common/dialog/content.vue

@ -8,10 +8,14 @@
<application v-if="sidebarId== 'application'" :contentDatas="contentDatas"></application> <application v-if="sidebarId== 'application'" :contentDatas="contentDatas"></application>
<assets v-if="sidebarId== 'assets'" :contentDatas="contentDatas"></assets> <assets v-if="sidebarId== 'assets'" :contentDatas="contentDatas"></assets>
</template> </template>
<template v-else-if="dialogType==2">
<businessInfo v-if="sidebarId== 'businessInfo'" :contentDatas="contentDatas"></businessInfo>
</template>
</div> </div>
</template> </template>
<script> <script>
import assets from '../dialog/DataReview/assets.vue' import assets from '../dialog/DataReview/assets.vue'
import businessInfo from '../dialog/DataReview/businessInfo.vue'
import assessment from '../dialog/DataReview/assessment.vue' import assessment from '../dialog/DataReview/assessment.vue'
import application from '../dialog/DataReview/application.vue' import application from '../dialog/DataReview/application.vue'
import IDCard from '../dialog/DataReview/IDCard.vue' import IDCard from '../dialog/DataReview/IDCard.vue'
@ -34,7 +38,7 @@ export default ({
} }
}, },
components:{ components:{
assessment,basics,license,IDCard,application,assets assessment,basics,license,IDCard,application,assets,businessInfo
}, },
}) })
</script> </script>

52
src/components/common/dialog/insex.vue

@ -45,11 +45,12 @@
<script> <script>
import {whySidebar} from '../dialog/sidebar.vue' import {whySidebar} from '../dialog/sidebar.vue'
import sidebarContent from '../dialog/content.vue' import sidebarContent from '../dialog/content.vue'
import {getAccountData,accountCheck} from '../../../api/index' import {getAccountData,getAssetInfo,accountCheck} from '../../../api/index'
import bus from '../bus' import bus from '../bus'
export default { export default {
name:'whyDialog', name:'whyDialog',
props:{ props:{
//12
dialogType:{ dialogType:{
type:Number, type:Number,
require: true require: true
@ -70,6 +71,10 @@ export default {
isexamine:{ isexamine:{
type:Boolean, type:Boolean,
default:false, default:false,
},
//dialogType2使123
assets_type:{
type:Number
} }
}, },
data(){ data(){
@ -85,7 +90,8 @@ export default {
status:'', status:'',
account_type:'', account_type:'',
uid:'', uid:'',
account_data:'' account_data:'',
id:''
}, },
tabID:'', tabID:'',
contentDatas:'' contentDatas:''
@ -95,9 +101,14 @@ export default {
whySidebar,sidebarContent whySidebar,sidebarContent
}, },
created(){ created(){
this.query.uid=this.dialogID; if (this.dialogType==1) {
this.query.account_type=this.account_type; this.query.uid=this.dialogID;
this.getAccountData() this.query.account_type=this.account_type;
this.getAccountData()
}else if(this.dialogType==2){
this.query.id=this.dialogID;
this.getAssetInfo()
}
bus.$on('basics', (e) => { bus.$on('basics', (e) => {
console.log(e) console.log(e)
this.contentDatas=e; this.contentDatas=e;
@ -108,6 +119,23 @@ export default {
}) })
}, },
methods:{ methods:{
//
getAssetInfo(){
getAssetInfo(this.query).then(res => {
console.log(res);
if (res.code==100) {
if (res.data.is_status==0) {
this.$message.error('暂无数据~');
}else{
res.data.establish_time=res.data.establish_time*1000
this.contentDatas=res.data
console.info(this.contentDatas)
this.init()
}
}
});
},
//
getAccountData(){ getAccountData(){
getAccountData(this.query).then(res => { getAccountData(this.query).then(res => {
console.log(res); console.log(res);
@ -144,6 +172,20 @@ export default {
{title:'经办人身份证(复印件)',type:0,id:'IDCard1'},{title:'资产证明文件',type:2,id:'assets'},{title:'其他要求文件',type:0,id:'else'} {title:'经办人身份证(复印件)',type:0,id:'IDCard1'},{title:'资产证明文件',type:2,id:'assets'},{title:'其他要求文件',type:0,id:'else'}
] ]
} }
}else if(this.dialogType==2){
this.dialogData.sidebar=[
{title:'商家概况',type:1,id:'businessInfo'},{title:'资产概况',type:1,id:'assets_info'},{title:'资产评估/资产评价报告',type:1,id:'asset_valuation'},
{title:'文化大数据标准编号',type:1,id:'data_number'}
]
if (this.assets_type==1) {
this.dialogData.title='资产信息';
}else if(this.assets_type==2){
this.dialogData.title='资产托管审核';
}else{
this.dialogData.title='资产发布审核';
}
this.dialogData.tips='以下为资产:20棵沉香树采香权(一年期)的相关资料:';
} }
this.tabID=this.dialogData.sidebar[0].id this.tabID=this.dialogData.sidebar[0].id
}, },

7
src/components/page/AccountManagement/platformSelect.vue

@ -126,7 +126,9 @@
<el-button type="primary" @click="addBlacklist"> </el-button> <el-button type="primary" @click="addBlacklist"> </el-button>
</span> </span>
</el-dialog> </el-dialog>
<whyDialog v-if="editVisible" :isshow="editVisible" :dialogID="dialogID" :dialogType="dialogType" @MisShow="MisShow" :isexamine="false" account_type="buyer"></whyDialog> <whyDialog v-if="editVisible" :isshow="editVisible" :dialogID="dialogID"
:dialogType="dialogType" @MisShow="MisShow" :isexamine="false" account_type="buyer">
</whyDialog>
</div> </div>
</template> </template>
@ -157,7 +159,7 @@ export default {
enter_shop_type:0, enter_shop_type:0,
third_party_type:0 third_party_type:0
}, },
dialogID:1, dialogID:'',
dialogType:'', dialogType:'',
tableData: [], tableData: [],
recordList:[], recordList:[],
@ -202,7 +204,6 @@ export default {
}; };
}, },
components:{ components:{
// whyDialog
whyDialog: () => import('../../common/dialog/insex.vue') whyDialog: () => import('../../common/dialog/insex.vue')
}, },
created() { created() {

6
src/components/page/AssetManagement/assetQuery.vue

@ -61,8 +61,8 @@
<el-table-column label="标准编号" prop="serial" width="200"></el-table-column> <el-table-column label="标准编号" prop="serial" width="200"></el-table-column>
<el-table-column label="资产名称" prop="serial_name"></el-table-column> <el-table-column label="资产名称" prop="serial_name"></el-table-column>
<el-table-column prop="firm_name" label="机构名称"></el-table-column> <el-table-column prop="firm_name" label="机构名称"></el-table-column>
<el-table-column prop="apply_name" label="托管数量" width="80"></el-table-column> <el-table-column prop="count" label="托管数量" width="80"></el-table-column>
<el-table-column prop="amount" label="剩余数量" width="80"></el-table-column> <el-table-column prop="surplus_count" label="剩余数量" width="80"></el-table-column>
<el-table-column prop="asset_status" label="资产状态" width="80"> <el-table-column prop="asset_status" label="资产状态" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.asset_status==1">已发布</span> <span v-if="scope.row.asset_status==1">已发布</span>
@ -128,6 +128,8 @@ export default {
account_apply: '', account_apply: '',
auditID:'', auditID:'',
time: '', time: '',
count:'',
surplus_count:'',
page: 1, page: 1,
limit: 10 limit: 10
}, },

37
src/components/page/AssetManagement/groundingAudit.vue

@ -10,9 +10,9 @@
</div> </div>
<div class="container"> <div class="container">
<div class="handle-box"> <div class="handle-box">
<el-input v-model="query.account_name" placeholder="资产名称" class="handle-input mr10"></el-input> <el-input v-model="query.serial_name" placeholder="资产名称" class="handle-input mr10"></el-input>
<el-input v-model="query.firm_name" placeholder="机构名称" class="handle-input mr10"></el-input> <el-input v-model="query.firm_name" placeholder="机构名称" class="handle-input mr10"></el-input>
<el-input v-model="query.username" placeholder="法人名称" class="handle-input mr10"></el-input> <el-input v-model="query.apply_name" placeholder="法人名称" class="handle-input mr10"></el-input>
<el-select v-model="query.account_apply" placeholder="审核状态" class="handle-select mr10"> <el-select v-model="query.account_apply" placeholder="审核状态" class="handle-select mr10">
<el-option key="4" label="全部" :value="4"></el-option> <el-option key="4" label="全部" :value="4"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option> <el-option key="2" label="湖南省" value="湖南省"></el-option>
@ -58,7 +58,7 @@
<span v-else-if="scope.row.apply_status==5">发布审核不通过</span> <span v-else-if="scope.row.apply_status==5">发布审核不通过</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="username" label="审核人员"></el-table-column> <el-table-column prop="audit_staff_name" label="审核人员"></el-table-column>
<el-table-column label="操作" width="280" align="center"> <el-table-column label="操作" width="280" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
@ -68,16 +68,9 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination"> <whyDialog v-if="editVisible" :isshow="editVisible" :dialogID="dialogID"
<el-pagination :dialogType="dialogType" @MisShow="MisShow" :isexamine="true" :assets_type="2" >
background </whyDialog>
layout="total, prev, pager, next"
:current-page="query.page"
:page-size="query.limit"
:total="pageTotal"
@current-change="handlePageChange"
></el-pagination>
</div>
</div> </div>
</div> </div>
@ -93,8 +86,8 @@ export default {
query: { query: {
account_name: '', account_name: '',
firm_name: '', firm_name: '',
username: '',
account_status: '', account_status: '',
audit_staff_name:'',
account_apply: '', account_apply: '',
auditID: '', auditID: '',
time: '', time: '',
@ -107,9 +100,8 @@ export default {
auditList:[], auditList:[],
editVisible: false, editVisible: false,
pageTotal: 0, pageTotal: 0,
form: {}, dialogID:'',
idx: -1, dialogType:2,
id: -1,
pickerOptions: { pickerOptions: {
shortcuts: [ shortcuts: [
{ {
@ -143,11 +135,17 @@ export default {
}, },
}; };
}, },
components:{
whyDialog: () => import('../../common/dialog/insex.vue')
},
created() { created() {
this.getData(); this.getData();
this.getAuditList(); this.getAuditList();
}, },
methods: { methods: {
MisShow(){
this.editVisible=false
},
// //
formatDate(row,colnum){ formatDate(row,colnum){
return moment(row[colnum.create_time]).format('YYYY-MM-DD HH:mm:ss') return moment(row[colnum.create_time]).format('YYYY-MM-DD HH:mm:ss')
@ -173,7 +171,7 @@ export default {
// easy-mock // easy-mock
getData() { getData() {
accountApplyList(this.query).then(res => { accountApplyList(this.query).then(res => {
// console.log(res); console.log(res);
this.tableData = res.data.list; this.tableData = res.data.list;
this.pageTotal = res.pageTotal || 50; this.pageTotal = res.pageTotal || 50;
}); });
@ -201,9 +199,8 @@ export default {
}, },
// //
handleEdit(index, row) { handleEdit(index, row) {
this.idx = index;
this.form = row;
this.editVisible = true; this.editVisible = true;
this.dialogID=row.id;
}, },
// //
saveEdit() { saveEdit() {

7
src/components/page/AssetManagement/releaseAudit.vue

@ -84,7 +84,7 @@
</template> </template>
<script> <script>
import { accountApplyList,auditList } from '../../../api/index'; import { sendList,auditList } from '../../../api/index';
import moment from 'moment' import moment from 'moment'
export default { export default {
name: 'basetable', name: 'basetable',
@ -169,7 +169,7 @@ export default {
}, },
// easy-mock // easy-mock
getData() { getData() {
accountApplyList(this.query).then(res => { sendList(this.query).then(res => {
// console.log(res); // console.log(res);
this.tableData = res.data.list; this.tableData = res.data.list;
this.pageTotal = res.pageTotal || 50; this.pageTotal = res.pageTotal || 50;
@ -198,9 +198,8 @@ export default {
}, },
// //
handleEdit(index, row) { handleEdit(index, row) {
this.idx = index;
this.form = row;
this.editVisible = true; this.editVisible = true;
this.dialogID=row.id;
}, },
// //
saveEdit() { saveEdit() {

Loading…
Cancel
Save