This commit is contained in:
DESKTOP-GMUNQ1B\k 2024-03-08 15:50:20 +08:00
parent d9635906cb
commit 673a5de0bd
4 changed files with 66 additions and 38 deletions

View File

@ -17,7 +17,8 @@
<el-form-item label="关键字:" class="width100"> <el-form-item label="关键字:" class="width100">
<el-input v-model="tableFrom.keyword" @keyup.enter.native="getList(1)" placeholder="请输入订单号/用户昵称" <el-input v-model="tableFrom.keyword" @keyup.enter.native="getList(1)" placeholder="请输入订单号/用户昵称"
class="selWidth" size="small"> class="selWidth" size="small">
<el-button slot="append" icon="el-icon-search" size="small" class="el-button-solt" @click="getList(1)" /> <el-button slot="append" icon="el-icon-search" size="small" class="el-button-solt"
@click="getList(1)" />
</el-input> </el-input>
<el-button size="small" type="primary" icon="el-icon-top" @click="exports">列表导出</el-button> <el-button size="small" type="primary" icon="el-icon-top" @click="exports">列表导出</el-button>
<!-- <el-button size="small" type="primary" @click="getExportFileList">导出记录</el-button> --> <!-- <el-button size="small" type="primary" @click="getExportFileList">导出记录</el-button> -->

View File

@ -261,7 +261,6 @@ export default {
}, },
// //
onchangeTime(e) { onchangeTime(e) {
console.log(e)
this.timeVal = e this.timeVal = e
this.tableForm.date = this.timeVal ? this.timeVal.join('-') : '' this.tableForm.date = this.timeVal ? this.timeVal.join('-') : ''
this.getList('') this.getList('')

View File

@ -57,6 +57,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="状态" min-width="150"> <el-table-column label="状态" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.status == 1" type="success">通过</el-tag> <el-tag v-if="scope.row.status == 1" type="success">通过</el-tag>
<el-tag v-if="scope.row.status == 0" type="info">未处理</el-tag> <el-tag v-if="scope.row.status == 0" type="info">未处理</el-tag>
@ -66,6 +67,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="mark" label="备注" min-width="150" /> <el-table-column prop="mark" label="备注" min-width="150" />
<el-table-column label="操作" min-width="280" fixed="right" align="center"> <el-table-column label="操作" min-width="280" fixed="right" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="scope.row.status == 0" type="text" size="small" <el-button v-if="scope.row.status == 0" type="text" size="small"
@click="onchangeIsShow(scope.row)">审核</el-button> @click="onchangeIsShow(scope.row)">审核</el-button>
@ -194,11 +196,11 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24" v-if="item.image && item.image.length > 0">
<el-form-item label="开户凭证:"> <el-form-item label="开户凭证:">
<div class="demo-image__preview"> <div class="demo-image__preview">
<el-image style="width: 80px;height: 60px;margin-right: 10px;" <el-image style="width: 80px;height: 60px;margin-right: 10px;"
v-for="(item, index) in statusAuditForm.images" :key="index" :src="item" class="preview" v-for="(item, index) in statusAuditForm.image" :key="index" :src="item" class="preview"
:preview-src-list="[item]" /> :preview-src-list="[item]" />
</div> </div>
</el-form-item> </el-form-item>
@ -350,6 +352,13 @@ export default {
onchangeIsShow(item) { onchangeIsShow(item) {
this.statusAuditVisible = true; this.statusAuditVisible = true;
this.statusAuditForm = item; this.statusAuditForm = item;
if (item.financial_bank) {
let bi = JSON.parse(item.financial_bank);
item.bank_username = bi.bank;
item.bank_code = bi.bank_code;
item.bank_opening = bi.bank_branch;
this.$set(item, 'image', [bi.bank_front])
}
this.$set(this.statusAuditForm, 'state', 1); this.$set(this.statusAuditForm, 'state', 1);
this.$set(this.statusAuditForm, 'create_mer', 1); this.$set(this.statusAuditForm, 'create_mer', 1);
}, },

View File

@ -36,31 +36,22 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="block"> <div class="block">
<el-pagination :page-sizes="[20, 40, 60, 80]" :page-size="tableFrom.limit" :current-page="tableFrom.page" layout="total, sizes, prev, pager, next, jumper" :total="tableData.total" @size-change="handleSizeChange" @current-change="pageChange" /> <el-pagination :page-sizes="[20, 40, 60, 80]" :page-size="tableFrom.limit" :current-page="tableFrom.page"
layout="total, sizes, prev, pager, next, jumper" :total="tableData.total" @size-change="handleSizeChange"
@current-change="pageChange" />
</div> </div>
</el-card> </el-card>
<!--审核--> <!--审核-->
<el-dialog v-if="dialogVisible" :before-close="handleClose" :title="isExamine ? '新增' : '编辑'" :visible.sync="dialogVisible" width="700px"> <el-dialog v-if="dialogVisible" :before-close="handleClose" :title="isExamine ? '新增' : '编辑'"
:visible.sync="dialogVisible" width="700px">
<div v-loading="loading"> <div v-loading="loading">
<el-form ref="ruleForm" :model="ruleForm" :rules="rules" label-width="120px" class="demo-ruleForm"> <el-form ref="ruleForm" :model="ruleForm" :rules="rules" label-width="120px" class="demo-ruleForm">
<el-form-item label="版本标题:" prop="title"> <el-form-item label="版本标题:" prop="title">
<el-input v-model="ruleForm.title" placeholder="请输入标题" /> <el-input v-model="ruleForm.title" placeholder="请输入标题" />
</el-form-item> </el-form-item>
<el-form-item label="版本内容:" prop="content"> <el-form-item label="版本内容:" prop="content">
<el-input v-model="ruleForm.content" placeholder="请输入内容" /> <el-input type="textarea" v-model="ruleForm.content" :rows="3" placeholder="请输入内容" />
</el-form-item> </el-form-item>
<!-- <el-form-item label="上传版本:">
<el-upload ref="upload" :action="fileUrl" :on-success="handleSuccess" :headers="myHeaders" :show-file-list="false" multiple>
<i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处<em>点击上传</em></div>
<div class="el-upload__tip" slot="tip">
只能上传apk文件.
</div>
</el-upload>
</el-form-item> -->
<el-form-item label="系统类型:" prop="type"> <el-form-item label="系统类型:" prop="type">
<el-radio-group v-model="ruleForm.type"> <el-radio-group v-model="ruleForm.type">
<el-radio :label="2">IOS</el-radio> <el-radio :label="2">IOS</el-radio>
@ -76,6 +67,18 @@
<el-form-item label="版本号" prop="version"> <el-form-item label="版本号" prop="version">
<el-input v-model="ruleForm.version" placeholder="版本号" /> <el-input v-model="ruleForm.version" placeholder="版本号" />
</el-form-item> </el-form-item>
<!-- <el-form-item label="上传版本:">
<div class="upload-wrap">
<el-upload ref="upload" :action="fileUrl" :on-success="handleSuccess" :headers="myHeaders"
:show-file-list="false" multiple>
<i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处<em>点击上传</em></div>
<div class="el-upload__tip" slot="tip">
只能上传apk文件.
</div>
</el-upload>
</div>
</el-form-item> -->
<el-form-item label="下载地址" prop="dow_url"> <el-form-item label="下载地址" prop="dow_url">
<el-input v-model="ruleForm.dow_url" placeholder="下载地址" /> <el-input v-model="ruleForm.dow_url" placeholder="下载地址" />
</el-form-item> </el-form-item>
@ -97,7 +100,8 @@
</el-form> </el-form>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog v-if="dialogVisible1" :before-close="handleClose1" title="详情" :visible.sync="dialogVisible1" width="700px"> <el-dialog v-if="dialogVisible1" :before-close="handleClose1" title="详情" :visible.sync="dialogVisible1"
width="700px">
<el-form ref="ruleForm1" :model="ruleForm1" label-width="120px" class="demo-ruleForm"> <el-form ref="ruleForm1" :model="ruleForm1" label-width="120px" class="demo-ruleForm">
<el-form-item label="标题:"> <el-form-item label="标题:">
@ -353,43 +357,58 @@ export default {
this.$message.error(message) this.$message.error(message)
}) })
}, },
} }
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.upload-wrap>div {
border: 1px dashed #D9D9D9;
border-radius: 6px;
width: 240px;
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.box-container { .box-container {
overflow: hidden; overflow: hidden;
} }
.box-container .list { .box-container .list {
float: left; float: left;
line-height: 40px; line-height: 40px;
} }
.box-container .sp { .box-container .sp {
width: 50%; width: 50%;
} }
.box-container .sp3 { .box-container .sp3 {
width: 33.3333%; width: 33.3333%;
} }
.box-container .sp100 { .box-container .sp100 {
width: 100%; width: 100%;
} }
.box-container .list .name { .box-container .list .name {
display: inline-block; display: inline-block;
width: 150px; width: 150px;
text-align: right; text-align: right;
color: #606266; color: #606266;
} }
.box-container .list.image { .box-container .list.image {
margin-bottom: 40px; margin-bottom: 40px;
} }
.box-container .list.image img { .box-container .list.image img {
position: relative; position: relative;
top: 40px; top: 40px;
} }
/deep/.el-form-item__content .el-rate { /deep/.el-form-item__content .el-rate {
position: relative; position: relative;
top: 8px; top: 8px;