Browse Source

更新

master
ltlzx 4 years ago
parent
commit
211b9db4a6
  1. 11
      src/api/index.js
  2. 60
      src/components/common/dialog/DataReview/IDCard.vue
  3. 34
      src/components/common/dialog/DataReview/application.vue
  4. 2
      src/components/common/dialog/DataReview/assetValuation.vue
  5. 34
      src/components/common/dialog/DataReview/assets.vue
  6. 31
      src/components/common/dialog/DataReview/bankProve.vue
  7. 9
      src/components/common/dialog/DataReview/basics.vue
  8. 27
      src/components/common/dialog/DataReview/businessInfo.vue
  9. 31
      src/components/common/dialog/DataReview/certificate.vue
  10. 30
      src/components/common/dialog/DataReview/elseFile.vue
  11. 31
      src/components/common/dialog/DataReview/entrust.vue
  12. 31
      src/components/common/dialog/DataReview/license.vue
  13. 57
      src/components/common/dialog/DataReview/operatorIDCard.vue
  14. 31
      src/components/common/dialog/DataReview/promise.vue
  15. 7
      src/components/common/dialog/content.vue
  16. 83
      src/components/common/dialog/insex.vue
  17. 2
      src/components/page/AccountManagement/buyerReview.vue
  18. 4
      src/components/page/AccountManagement/platformSelect.vue
  19. 2
      src/components/page/AssetManagement/delistingAudit.vue
  20. 2
      src/components/page/AssetManagement/groundingAudit.vue
  21. 2
      src/components/page/AssetManagement/releaseAudit.vue
  22. 1
      src/components/page/OperationManagement/assetsConfigure.vue
  23. 1
      src/components/page/OperationManagement/customerOpinion.vue
  24. 6
      src/components/page/TransactionManagement/TobepaidOrder.vue
  25. 6
      src/components/page/TransactionManagement/closed.vue
  26. 6
      src/components/page/TransactionManagement/completed.vue
  27. 6
      src/components/page/TransactionManagement/publicityOrder.vue
  28. 18
      src/components/page/TransactionManagement/refundOrderExamine.vue
  29. 6
      src/components/page/TransactionManagement/settlementOrder.vue
  30. 6
      src/components/page/TransactionManagement/toBeConfirmDelivered.vue
  31. 6
      src/components/page/TransactionManagement/toBeDelivered.vue
  32. 6
      src/components/page/TransactionManagement/toBeSettled.vue
  33. 6
      src/components/page/TransactionManagement/transactionQuery.vue
  34. 2
      src/components/page/dataManagement/revenueStatistics.vue
  35. 1
      src/components/page/dataManagement/transactionAnalysis.vue
  36. 1
      src/components/page/dataManagement/transactionCheck.vue
  37. 1
      src/components/page/platformManagement/platformNotification.vue
  38. 2
      src/utils/request.js

11
src/api/index.js

@ -462,3 +462,14 @@ export const editAdminChange = query => {
params: query
});
};
// 获取文件类型
export const getFileType = query => {
return request({
url: '/api/Index/getFileType',
method: 'get',
params: query
});
};

60
src/components/common/dialog/DataReview/IDCard.vue

@ -2,9 +2,14 @@
<div class="body1 body2">
<div class="idcard">
<p class="title">{{contentDatas.account_type==1?'法人身份证正面(照片面)' :'身份证正面(照片面)'}}</p>
<img :src="contentDatas.account_type==2 ? contentDatas.user_card_front :contentDatas.legal_card_front" class="file_img1">
<img v-if="contentDatas.account_type==2 ? contentDatas.user_card_front.type==0 :contentDatas.legal_card_front.type==0" :src="contentDatas.account_type==2 ? contentDatas.user_card_front.url :contentDatas.legal_card_front.url" class="file_img1">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.account_type==2 ? contentDatas.user_card_front.url :contentDatas.legal_card_front.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview(contentDatas.account_type==2 ? [contentDatas.user_card_backfacade] :[contentDatas.legal_card_front])">查看原图</span>
<span
v-if="contentDatas.account_type==2 ? contentDatas.user_card_front.type==0 :contentDatas.legal_card_front.type==0"
@click="onPreview(contentDatas.account_type==2 ? [contentDatas.user_card_backfacade.url] :[contentDatas.legal_card_front.url])">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
@ -12,7 +17,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -20,10 +25,27 @@
</div>
<div class="idcard">
<p class="title">{{contentDatas.account_type==1?'法人身份证反面(发证机构面)' :'身份证反面(发证机构面)'}}</p>
<img :src="contentDatas.account_type==2 ? contentDatas.user_card_backfacade :contentDatas.legal_certificate" class="file_img1">
<img
v-if="contentDatas.account_type==2 ? contentDatas.user_card_backfacade.type==0 :contentDatas.legal_certificate.type==0"
:src="contentDatas.account_type==2 ? contentDatas.user_card_backfacade.url :contentDatas.legal_certificate.url" class="file_img1">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.account_type==2 ? contentDatas.user_card_backfacade.url :contentDatas.legal_certificate.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview(contentDatas.account_type==2 ? [contentDatas.user_card_backfacade] :[contentDatas.legal_certificate])">查看原图</span>
<span>重新上传</span>
<span
v-if="contentDatas.account_type==2 ? contentDatas.user_card_backfacade.type==0 :contentDatas.legal_certificate.type==0"
@click="onPreview(contentDatas.account_type==2 ? [contentDatas.user_card_backfacade.url] :[contentDatas.legal_certificate.url])">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
:on-change="fileChange"
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,1)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
</div>
</div>
<el-image-viewer
@ -48,7 +70,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer : false,
img_url:[]
}
@ -65,20 +87,32 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
url:{url:{url:this.host+res.data.img_url,type:file_type},type:file_type},
key:''
}
if (type==0 ) {
if (this.contentDatas.account_type==2) {
upDate.key='user_card_front'
}else{
upDate.key='legal_card_front'
}
}else{
if (this.contentDatas.account_type==2) {
upDate.key='user_card_backfacade'
}else{
upDate.key='legal_certificate'
}
}
bus.$emit('img', upDate);
@ -86,16 +120,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

34
src/components/common/dialog/DataReview/application.vue

@ -1,9 +1,15 @@
<template>
<div class="body1">
<p class="title">数字证书申请表</p>
<img :src="contentDatas.number_certificate" class="file_img">
<img v-if="contentDatas.number_certificate.type==0" :src="contentDatas.number_certificate.url" class="file_img">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.number_certificate.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.number_certificate])">查看原图</span>
<span @click="onPreview([contentDatas.number_certificate.url])" v-if="contentDatas.number_certificate.type==0">查看原图</span>
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.number_certificate.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<el-upload
class="upload-demo"
:action="action"
@ -11,7 +17,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -38,7 +44,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer:false,
img_url:[]
}
@ -55,11 +61,19 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
url:{url:{url:this.host+res.data.img_url,type:file_type},type:file_type},
key:'number_certificate'
}
bus.$emit('img', upDate);
@ -67,16 +81,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

2
src/components/common/dialog/DataReview/assetValuation.vue

@ -72,7 +72,7 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
let contract=this.host+res.data.img_url;

34
src/components/common/dialog/DataReview/assets.vue

@ -1,11 +1,17 @@
<template>
<div class="body1">
<p class="title">资产证明文件</p>
<img :src="contentDatas.asset_certificate" class="file_img" >
<img v-if="contentDatas.asset_certificate.type==0" :src="contentDatas.asset_certificate.url" class="file_img" >
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.number_certificate.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<!-- <img :src="contentDatas.asset_certificate" class="file_img" v-if="contentDatas.account_type==1">
<img :src="contentDatas.asset_trusteeship" class="file_img" v-else-if="contentDatas.account_type==2"> -->
<div class="img_span">
<span @click="onPreview([contentDatas.asset_certificate])" >查看原图</span>
<span v-if="contentDatas.asset_certificate.type==0" @click="onPreview([contentDatas.asset_certificate.url])" >查看原图</span>
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.number_certificate.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<!-- <span @click="onPreview([contentDatas.asset_certificate])" v-if="contentDatas.account_type==1">查看原图</span>
<span @click="onPreview([contentDatas.asset_trusteeship])" v-else-if="contentDatas.account_type==2">查看原图</span> -->
<el-upload
@ -15,7 +21,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -42,7 +48,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer:false,
img_url:[]
}
@ -59,11 +65,19 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
url:{url:this.host+res.data.img_url,type:file_type},
key:'asset_certificate'
}
bus.$emit('img', upDate);
@ -71,16 +85,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

31
src/components/common/dialog/DataReview/bankProve.vue

@ -1,9 +1,12 @@
<template>
<div class="body1">
<p class="title">银行开户证明</p>
<img :src="contentDatas.bank_account_certificate" class="file_img">
<img v-if="contentDatas.bank_account_certificate.type==0" :src="contentDatas.bank_account_certificate.url" class="file_img">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.bank_account_certificate.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.bank_account_certificate])">查看原图</span>
<span @click="onPreview([contentDatas.bank_account_certificate.url])" v-if="contentDatas.bank_account_certificate.type==0">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
@ -11,7 +14,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -38,7 +41,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer:false,
img_url:[]
}
@ -55,11 +58,19 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
url:{url:this.host+res.data.img_url,type:file_type},
key:'bank_account_certificate'
}
bus.$emit('img', upDate);
@ -67,16 +78,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

9
src/components/common/dialog/DataReview/basics.vue

@ -92,7 +92,7 @@
import bus from '../../bus'
export default {
props:{
contentDatas:{
contentDatas1:{
require: true
}
},
@ -102,19 +102,18 @@ export default {
}
},
created(){
console.info(this.contentDatas)
this.oldDates=JSON.parse(JSON.stringify(this.contentDatas))
this.oldDates=JSON.parse(JSON.stringify(this.contentDatas1))
},
methods:{
preservation(){
bus.$emit('basics', this.oldDates);
},
Reset(){
this.oldDates=JSON.parse(JSON.stringify(this.contentDatas))
this.oldDates=JSON.parse(JSON.stringify(this.contentDatas1))
}
},
watch:{
contentDatas(val,oldVal){
contentDatas1(val,oldVal){
this.oldDates=JSON.parse(JSON.stringify(val))
}
}

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

@ -1,8 +1,14 @@
<template>
<div class="body1">
<p class="title">商家概况</p>
<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>
<span v-for="(item,index) in img_data " :key="index" >
<template v-if="item.url.length!=0 ">
<span v-for="(item1,index1) in item.url " :key="index1">
<span v-if="item1.type==0" @click="onPreview(item1.url)">{{item.name}}{{item.url.length}}</span>
</span>
</template>
</span>
<el-image-viewer
v-if="showViewer"
:on-close="closeViewer"
@ -61,11 +67,18 @@ export default {
},
},
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]},
]
console.info(this.contentDatas)
// 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_front,this.contentDatas.shop_data.legal_card_backfacade]},
// {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]},
// ]
},
watch:{
contentDatas(newVale,old){
console.info(newVale)
}
}
}
</script>

31
src/components/common/dialog/DataReview/certificate.vue

@ -1,9 +1,12 @@
<template>
<div class="body1">
<p class="title">法人代表证明书</p>
<img :src="contentDatas.legal_certificate" class="file_img">
<img v-if="contentDatas.legal_certificate.type==0" :src="contentDatas.legal_certificate.url" class="file_img">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.legal_certificate.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.legal_certificate])">查看原图</span>
<span @click="onPreview([contentDatas.legal_certificate.url])" v-if="contentDatas.legal_certificate.type==0">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
@ -11,7 +14,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -38,7 +41,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer:false,
img_url:[]
}
@ -55,11 +58,19 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
url:{url:this.host+res.data.img_url,type:file_type},
key:'legal_certificate'
}
bus.$emit('img', upDate);
@ -67,16 +78,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

30
src/components/common/dialog/DataReview/elseFile.vue

@ -3,9 +3,12 @@
<p class="title">其他要求文件</p>
<div class="else_file" v-if="contentDatas.else_file!=null">
<div>
<img :src="contentDatas.else_file[0]" class="file_img">
<img :src="contentDatas.else_file[0].url" class="file_img" v-if="contentDatas.else_file[0].type==0">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.else_file[0].url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.else_file[0]])">查看原图</span>
<span @click="onPreview([contentDatas.else_file[0].url])" v-if="contentDatas.else_file[0].type==0">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
@ -13,7 +16,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -25,7 +28,8 @@
<template v-if="index!=0">
<span>资质证明文件{{index}}</span>
<div class="img_span">
<span @click="onPreview([item])">查看原图</span>
<span @click="onPreview([item.url])" v-if="item.type==0">查看原图</span>
<a class="upload_span" v-else :href="item.url" target="_blank" rel="nofollow">点击下载</a>
<el-upload
class="upload-demo"
:action="action"
@ -33,7 +37,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0,index)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0,index)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -48,7 +52,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,1)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,1)}"
>
<span class="upload_span">+上传更多文件</span>
</el-upload>
@ -77,7 +81,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer:false,
img_url:[]
}
@ -94,11 +98,11 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type,index){
handleAvatarSuccess(res,file,type,index){
console.info(res)
if(res.code==1){
let upDate={
url:this.host+res.data.img_url,
url:{url:this.host+res.data.img_url,type:file_type},
key:'else_file',
index:index,
type:type
@ -108,16 +112,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

31
src/components/common/dialog/DataReview/entrust.vue

@ -1,9 +1,12 @@
<template>
<div class="body1">
<p class="title">法人授权委托书</p>
<img :src="contentDatas.legal_authorization" class="file_img">
<img v-if="contentDatas.legal_authorization.type==0" :src="contentDatas.legal_authorization.url" class="file_img">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.legal_authorization.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.legal_authorization])">查看原图</span>
<span @click="onPreview([contentDatas.legal_authorization.url])" v-if="contentDatas.legal_authorization.type==0">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
@ -11,7 +14,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -38,7 +41,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer:false,
img_url:[]
}
@ -55,11 +58,19 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
url:{url:this.host+res.data.img_url,type:file_type},
key:'legal_authorization'
}
bus.$emit('img', upDate);
@ -67,16 +78,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

31
src/components/common/dialog/DataReview/license.vue

@ -1,9 +1,12 @@
<template>
<div class="body1">
<p class="title">营业执照复印件</p>
<img :src="contentDatas.business_license" class="file_img">
<img v-if="contentDatas.business_license.type==0" :src="contentDatas.business_license.url" class="file_img">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.business_license.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.business_license])">查看原图</span>
<span @click="onPreview([contentDatas.business_license.url])" v-if="contentDatas.business_license.type==0">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
@ -11,7 +14,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -38,7 +41,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer:false,
img_url:[]
}
@ -55,11 +58,19 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
url:{url:this.host+res.data.img_url,type:file_type},
key:'business_license'
}
bus.$emit('img', upDate);
@ -67,16 +78,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

57
src/components/common/dialog/DataReview/operatorIDCard.vue

@ -2,9 +2,12 @@
<div class="body1 body2">
<div class="idcard">
<p class="title">经办人身份证正面(照片面)</p>
<img :src="contentDatas.operator_card_front" class="file_img1">
<img v-if="contentDatas.operator_card_front.type==0" :src="contentDatas.operator_card_front.url" class="file_img">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.operator_card_front.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.operator_card_front] )">查看原图</span>
<span @click="onPreview([contentDatas.operator_card_front.url] )" v-if="contentDatas.operator_card_front.type==0">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
@ -12,7 +15,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -20,10 +23,23 @@
</div>
<div class="idcard">
<p class="title">经办人身份证反面(发证机构面)</p>
<img :src=" contentDatas.operator_card_backfacade " class="file_img1">
<img :src=" contentDatas.operator_card_backfacade.url " v-if="contentDatas.operator_card_backfacade.type==0" class="file_img1">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.operator_card_backfacade.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.operator_card_backfacade] )">查看原图</span>
<span>重新上传</span>
<span @click="onPreview([contentDatas.operator_card_backfacade.url] )" v-if="contentDatas.operator_card_backfacade.type==0">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
:on-change="fileChange"
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,1)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
</div>
</div>
<el-image-viewer
@ -48,7 +64,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer : false,
img_url:[]
}
@ -65,28 +81,41 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
key:'operator_card'
url:{url:this.host+res.data.img_url,type:file_type},
key:''
}
if (type==0) {
upDate.key='operator_card_front'
}else{
upDate.key='operator_card_backfacade'
}
bus.$emit('img', upDate);
this.$message.success('文件上传成功!');
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

31
src/components/common/dialog/DataReview/promise.vue

@ -1,9 +1,12 @@
<template>
<div class="body1">
<p class="title">开户申请书与承诺书</p>
<img :src="contentDatas.asset_certificate" class="file_img">
<img v-if="contentDatas.asset_certificate.type==0" :src="contentDatas.asset_certificate.url" class="file_img">
<p class="upload_span" v-else>
<a class="table_right_item_a" :href="contentDatas.asset_certificate.url" target="_blank" rel="nofollow">点击下载</a>
</p>
<div class="img_span">
<span @click="onPreview([contentDatas.asset_certificate])">查看原图</span>
<span @click="onPreview([contentDatas.asset_certificate.url])" v-if="contentDatas.asset_certificate.type==0">查看原图</span>
<el-upload
class="upload-demo"
:action="action"
@ -11,7 +14,7 @@
:show-file-list="false"
:on-error="handleAvatarError"
list-type="picture"
:on-success="(res)=>{handleAvatarSuccess(res,0)}"
:on-success="(res,file)=>{handleAvatarSuccess(res,file,0)}"
>
<span class="upload_span">重新上传</span>
</el-upload>
@ -38,7 +41,7 @@ export default {
data() {
return{
host:'http://wenhua.xingtongworld.com',
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg',
action:'http://wenhua.xingtongworld.com/api/Index/uploadFile',
showViewer:false,
img_url:[]
}
@ -55,11 +58,19 @@ export default {
handleAvatarError(){
this.$message.error('文件上传失败!');
},
handleAvatarSuccess(res,type){
handleAvatarSuccess(res,file,type){
console.info(res)
if(res.code==1){
const typeArr1 = ['application/pdf'];
const isJPG1 = typeArr1.indexOf(file.raw.type) !== -1;
let file_type;
if (isJPG1) {
file_type=1
}else{
file_type=0
}
let upDate={
url:this.host+res.data.img_url,
url:{url:this.host+res.data.img_url,type:file_type},
key:'asset_certificate'
}
bus.$emit('img', upDate);
@ -67,16 +78,16 @@ export default {
}
},
fileChange(file){
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg'];
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg','application/pdf'];
const isJPG = typeArr.indexOf(file.raw.type) !== -1;
const isLt3M = file.size / 1024 / 1024 < 3;
const isLt3M = file.size / 1024 / 1024 < 10;
if (!isJPG) {
this.$message.error('只能是图片!');
this.$message.error('只能上传图片和PDF文件!');
this.$refs.upload.clearFiles();
return;
}
if (!isLt3M) {
this.$message.error('上传图片大小不能超过 3MB!');
this.$message.error('上传图片大小不能超过 10MB!');
this.$refs.upload.clearFiles();
// this.$set(this.query, 'goods_img', '');
return;

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

@ -2,7 +2,7 @@
<div>
<template v-if="dialogType==1">
<assessment v-if="sidebarId== 'assessment'" :contentDatas="contentDatas"></assessment>
<basics v-if="sidebarId== 'basics'" :contentDatas="contentDatas"></basics>
<basics v-if="sidebarId== 'basics'" :contentDatas1="contentDatas1"></basics>
<license v-if="sidebarId== 'license'" :contentDatas="contentDatas"></license>
<IDCard v-if="sidebarId== 'IDCard'" :contentDatas="contentDatas"></IDCard>
<application v-if="sidebarId== 'application'" :contentDatas="contentDatas"></application>
@ -50,12 +50,17 @@ export default ({
},
contentDatas:{
require: true
},
contentDatas1:{
require: true
}
},
data() {
return{
}
},
created(){
},
components:{
assessment,basics,license,IDCard,application,assets,
businessInfo,assetsInfo,dataNumber,elseFile,certificate,

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

@ -18,7 +18,7 @@
<span v-else-if="item.type==1" style="color:red">*</span>
{{item.title}}
</span>
<sidebarContent :sidebarId="item.id" :dialogType="dialogType" :contentDatas="contentDatas"/>
<sidebarContent :sidebarId="item.id" :dialogType="dialogType" :contentDatas="contentDatas" :contentDatas1="contentDatas1" />
</el-tab-pane>
</el-tabs>
</div>
@ -50,7 +50,7 @@
<script>
import {whySidebar} from '../dialog/sidebar.vue'
import sidebarContent from '../dialog/content.vue'
import {getAccountData,getAssetInfo,accountCheck,assertCheck,sendCheck,checkAssetOut} from '../../../api/index'
import {getAccountData,getAssetInfo,accountCheck,assertCheck,sendCheck,checkAssetOut,getFileType} from '../../../api/index'
import bus from '../bus'
export default {
name:'whyDialog',
@ -106,7 +106,8 @@ export default {
report:''
},
tabID:'',
contentDatas:''
contentDatas:'',
contentDatas1:''
}
},
components:{
@ -127,7 +128,7 @@ export default {
})
bus.$on('basics', (e) => {
console.log(e)
this.contentDatas=e;
this.contentDatas1=e;
// this.$message.success('')
this.$message.success('保存成功!')
})
@ -142,15 +143,60 @@ export default {
if (e.key=='else_file') {
if (e.type==1) {
this.contentDatas.else_file.push(e.url)
this.contentDatas1.else_file.push(e.url.url)
}else{
this.contentDatas.else_file[e.index]=e.url
this.contentDatas1.else_file[e.index]=e.url.url
}
}else{
this.contentDatas[e.key]=e.url;
this.contentDatas1[e.key]=e.url.url
}
})
},
methods:{
//
getFileType(type){
let data,
t=this;
if (type==0) {
data={file_info:this.contentDatas}
}else{
data={file_info:this.contentDatas.shop_data}
}
getFileType(data).then(res=>{
console.info(res)
if (res.code==100 && res.file_info.length!=0) {
if (type==0) {
for(let v in t.contentDatas){
for(let key in res.file_info){
if(key==v &&res.file_info[key]!=''){
if (key=='else_file' && res.file_info['else_file'] ==null) {
t.contentDatas[v] =[]
}else{
t.contentDatas[v] =res.file_info[key]
}
}
}
}
}else{
for(let v in t.contentDatas.shop_data){
for(let key in res.file_info){
if(key==v &&res.file_info[key]!=''){
if (key=='else_file' && res.file_info['else_file'] ==null) {
t.$set(t.contentDatas,v,[])
}else{
// t.contentDatas.shop_data[v] =res.file_info[key]
t.$set(t.contentDatas.shop_data,v,res.file_info[key])
}
}
}
}
}
console.info(t.contentDatas)
}
})
},
//
getAssetInfo(){
getAssetInfo(this.query).then(res => {
@ -161,8 +207,10 @@ export default {
}else{
res.data.establish_time=res.data.establish_time*1000
this.contentDatas=res.data
console.info(this.contentDatas)
this.contentDatas1=JSON.parse( JSON.stringify(res.data))
console.info(this.contentDatas1)
this.init()
this.getFileType(1)
}
}
});
@ -181,8 +229,10 @@ export default {
res.data.establish_time=0
}
this.contentDatas=res.data
console.info(this.contentDatas)
this.contentDatas1=JSON.parse( JSON.stringify(res.data))
console.info(this.contentDatas1)
this.init()
this.getFileType(0)
}
}
});
@ -197,19 +247,23 @@ export default {
if (this.contentDatas.account_type==2) {
this.dialogData.sidebar=[
{title:'个人风险评估',type:0,id:'assessment'},{title:'基础信息',type:1,id:'basics'},{title:'身份证(复印件)',type:1,id:'IDCard'},
{title:'数字证书申请表',type:1,id:'application'},{title:'资产证明文件',type:2,id:'assets'},{title:'其他要求文件',type:0,id:'elseFile'}
// {title:'',type:1,id:'application'}{title:'',type:2,id:'assets'},
{title:'其他要求文件',type:0,id:'elseFile'}
]
}else{
this.dialogData.sidebar=[
{title:'企业风险评估',type:0,id:'assessment'},{title:'基础信息',type:1,id:'basics'},{title:'营业执照(复印件)',type:1,id:'license'},
{title:'法人代表证明书',type:1,id:'certificate'},{title:'法人身份证(复印件)',type:1,id:'IDCard'},{title:'数字证书申请表',type:1,id:'application'},
{title:'法人代表证明书',type:1,id:'certificate'},{title:'法人身份证(复印件)',type:1,id:'IDCard'},
// {title:'',type:1,id:'application'},
{title:'银行开户证明',type:1,id:'bankProve'},{title:'开户申请书与承诺书',type:1,id:'promise'},{title:'法人授权委托书',type:0,id:'entrust'},
{title:'经办人身份证(复印件)',type:0,id:'operatorIDCard'},{title:'资产证明文件',type:2,id:'assets'},{title:'其他要求文件',type:0,id:'elseFile'}
{title:'经办人身份证(复印件)',type:0,id:'operatorIDCard'},
// {title:'',type:2,id:'assets'},
{title:'其他要求文件',type:0,id:'elseFile'}
]
}
}else if(this.dialogType==2 ||this.dialogType==3){
this.dialogData.sidebar=[
{title:'企业风险评估',type:0,id:'assessment'},{title:'商家概况',type:1,id:'businessInfo'},{title:'资产概况',type:1,id:'assetsInfo'},{title:'资产评估/资产评价报告',type:1,id:'assetValuation'},
{title:'企业风险评估',type:0,id:'assessment'},{title:'挂牌方概况',type:1,id:'businessInfo'},{title:'资产概况',type:1,id:'assetsInfo'},{title:'资产评估/资产评价报告',type:1,id:'assetValuation'},
{title:'文化大数据标准编号',type:1,id:'dataNumber'}
]
// if (this.contentDatas.asset_data.else_serial_file!=null) {
@ -217,15 +271,17 @@ export default {
// }
if (this.assets_type==1) {
this.dialogData.title='资产信息';
this.dialogData.tips='以下为挂牌资产的相关信息';
}else if(this.assets_type==2){
this.dialogData.title='资产挂牌申请';
this.dialogData.tips='以下为挂牌资产的相关信息:';
}
else if(this.assets_type==4){
this.dialogData.title='摘牌申请审核';
}else{
this.dialogData.title='资产发布审核';
}
this.dialogData.tips='以下为资产:20棵沉香树采香权(一年期)的相关资料:';
}
this.tabID=this.dialogData.sidebar[0].id
@ -289,10 +345,11 @@ export default {
},
// /
saveAccountCheck(){
this.query.account_data=this.contentDatas
console.info(this.contentDatas1)
this.query.account_data=this.contentDatas1
this.query.account_data.establish_time=this.contentDatas.establish_time/1000;
delete this.query.account_data['is_status'];
delete this.query.account_data['id'];
// delete this.query.account_data['id'];
accountCheck(this.query).then(res => {
console.log(res);
if (res.code==100) {

2
src/components/page/AccountManagement/buyerReview.vue

@ -101,7 +101,7 @@
import { applyList } from '../../../api/index';
import moment from 'moment'
export default {
name: 'basetable',
// name: 'basetable',
data() {
return {
query: {

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

@ -140,10 +140,8 @@
<script>
import { platformAccountList, operationRecord,updateBlackList,getBlack,auditList} from '../../../api/index';
import moment from 'moment'
// import {whyDialog} from '../../common/dialog/insex.vue'
export default {
name: 'platformSelect',
// name: 'platformSelect',
data() {
return {
query: {

2
src/components/page/AssetManagement/delistingAudit.vue

@ -87,7 +87,7 @@ import { outCheckList,auditList } from '../../../api/index';
import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
import moment from 'moment'
export default {
name: 'basetable',
// name: 'basetable',
data() {
return {
query: {

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

@ -89,7 +89,7 @@
import { assetCheckList,auditList } from '../../../api/index';
import moment from 'moment'
export default {
name: 'basetable',
// name: 'basetable',
data() {
return {
query: {

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

@ -89,7 +89,7 @@
import { sendList,auditList } from '../../../api/index';
import moment from 'moment'
export default {
name: 'basetable',
// name: 'basetable',
data() {
return {
query: {

1
src/components/page/OperationManagement/assetsConfigure.vue

@ -84,7 +84,6 @@
<script>
import { getRecommend } from '../../../api/index';
export default {
name: 'basetable',
data() {
return {
query: {

1
src/components/page/OperationManagement/customerOpinion.vue

@ -94,7 +94,6 @@
<script>
import { opinionList } from '../../../api/index';
export default {
name: 'basetable',
data() {
return {
query: {

6
src/components/page/TransactionManagement/TobepaidOrder.vue

@ -15,12 +15,10 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

6
src/components/page/TransactionManagement/closed.vue

@ -15,12 +15,10 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

6
src/components/page/TransactionManagement/completed.vue

@ -15,12 +15,10 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

6
src/components/page/TransactionManagement/publicityOrder.vue

@ -15,12 +15,10 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

18
src/components/page/TransactionManagement/refundOrderExamine.vue

@ -15,12 +15,11 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"
@ -58,18 +57,25 @@
<el-table-column prop="price" label="交易金额" align="center"></el-table-column>
<el-table-column prop="price" label="摘牌方签约合同" align="center">
<template slot-scope="scope">
<a :href="'http://www.xdocin.com/xdoc?_func=to&amp;_format=html&amp;_cache=1&amp;_xdoc='+scope.row.buy_contract" target="_blank" rel="nofollow" download class="upload_span" v-if="scope.row.buy_contract">点击查看</a>
<a :href="scope.row.buy_contract" target="_blank" rel="nofollow" download class="upload_span" v-if="scope.row.buy_contract">点击查看</a>
<span v-else-if="scope.row.buy_contract=='' && scope.row.check_status==2">重新上传</span>
<span v-else>等待上传</span>
</template>
</el-table-column>
<el-table-column prop="price" label="挂牌方签约合同" align="center">
<template slot-scope="scope">
<a :href="'http://www.xdocin.com/xdoc?_func=to&amp;_format=html&amp;_cache=1&amp;_xdoc='+scope.row.sell_contract" target="_blank" rel="nofollow" download class="upload_span" v-if="scope.row.sell_contract">点击查看</a>
<a :href="scope.row.sell_contract" target="_blank" rel="nofollow" download class="upload_span" v-if="scope.row.sell_contract">点击查看</a>
<span v-else-if="scope.row.sell_contract=='' && scope.row.check_status==2">重新上传</span>
<span v-else>等待上传</span>
</template>
</el-table-column>
<el-table-column prop="price" label="挂牌方支付凭证" align="center">
<template slot-scope="scope">
<a :href="scope.row.seller_payment_document" target="_blank" rel="nofollow" download class="upload_span" v-if="scope.row.seller_payment_document">点击查看</a>
<span v-else-if="scope.row.seller_payment_document=='' && scope.row.check_status==2">重新上传</span>
<span v-else>等待上传</span>
</template>
</el-table-column>
<el-table-column prop="auditID_name" label="审核人员" align="center"></el-table-column>
<el-table-column label="操作" width="280" align="center">
<template slot-scope="scope">

6
src/components/page/TransactionManagement/settlementOrder.vue

@ -15,12 +15,10 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

6
src/components/page/TransactionManagement/toBeConfirmDelivered.vue

@ -15,12 +15,10 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

6
src/components/page/TransactionManagement/toBeDelivered.vue

@ -15,12 +15,10 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

6
src/components/page/TransactionManagement/toBeSettled.vue

@ -15,12 +15,10 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

6
src/components/page/TransactionManagement/transactionQuery.vue

@ -15,13 +15,11 @@
<el-input placeholder="摘牌方名称" v-model="query.pay_username" class="handle-input mr10"></el-input>
<el-input placeholder="资产名称" v-model="query.account_name" class="handle-input mr10"></el-input>
<el-select placeholder="交易方式" v-model="query.trade_type" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
<el-option key="1" label="线下" value="1"></el-option>
<el-option key="2" label="网银" value="2"></el-option>
</el-select>
<el-select v-model="query.auditID" placeholder="审核人员" class="handle-select mr10">
<el-option key="1" label="广东省" value="广东省"></el-option>
<el-option key="2" label="湖南省" value="湖南省"></el-option>
</el-select>
<el-date-picker
class="mr10"

2
src/components/page/dataManagement/revenueStatistics.vue

@ -57,7 +57,7 @@
import { fetchData } from '../../../api/index';
import Schart from 'vue-schart';
export default {
name: 'basetable',
// name: 'basetable',
components: {
Schart
},

1
src/components/page/dataManagement/transactionAnalysis.vue

@ -103,7 +103,6 @@
<script>
import { fetchData } from '../../../api/index';
export default {
name: 'basetable',
data() {
return {
query: {

1
src/components/page/dataManagement/transactionCheck.vue

@ -101,7 +101,6 @@
<script>
import { fetchData } from '../../../api/index';
export default {
name: 'basetable',
data() {
return {
query: {

1
src/components/page/platformManagement/platformNotification.vue

@ -91,7 +91,6 @@
<script>
import { fetchData } from '../../../api/index';
export default {
name: 'basetable',
data() {
return {
query: {

2
src/utils/request.js

@ -4,7 +4,7 @@ const service = axios.create({
// process.env.NODE_ENV === 'development' 来判断是否开发环境
// easy-mock服务挂了,暂时不使用了
baseURL: 'http://wenhua.xingtongworld.com/',
timeout: 5000
timeout: 15000
});
service.interceptors.request.use(

Loading…
Cancel
Save