|
@@ -9,7 +9,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="10">
|
|
|
<div class="screen">
|
|
|
- <el-input class='find' placeholder="可按货主姓名、账号查找" v-model="searchkeyWord" @keyup.enter.native="find" clearable @change="find"></el-input>
|
|
|
+ <el-input class='find' placeholder="可按货主姓名、账号查找" v-model="searchkeyWord" @keyup.enter.native="find"
|
|
|
+ clearable @change="find"></el-input>
|
|
|
<el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
|
|
|
src="../../../public/img/sousuo.png" /></el-button>
|
|
|
</div>
|
|
@@ -47,7 +48,8 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
- <el-table :data="tableData" style="width: 98%; margin: 0 auto; border-radius: 10px" height="55.8vh" border highlight-current-row>
|
|
|
+ <el-table :data="tableData" style="width: 98%; margin: 0 auto; border-radius: 10px" height="55.8vh" border
|
|
|
+ highlight-current-row>
|
|
|
<el-table-column prop="name" label="货主姓名" min-width="130"></el-table-column>
|
|
|
<el-table-column prop="phone" label="账号" min-width="110"></el-table-column>
|
|
|
<el-table-column prop="cardNumber" label="身份证号" min-width="165"></el-table-column>
|
|
@@ -57,10 +59,10 @@
|
|
|
<el-table-column prop="amountMoney" label="代理身份">
|
|
|
<template slot-scope="scope">
|
|
|
<el-popover placement="top-start" title="" width="200" trigger="hover" :content="
|
|
|
- scope.row.proxyIdentity
|
|
|
- ? scope.row.proxyIdentity
|
|
|
- : '暂无代理企业'
|
|
|
- ">
|
|
|
+ scope.row.proxyIdentity
|
|
|
+ ? scope.row.proxyIdentity
|
|
|
+ : '暂无代理企业'
|
|
|
+ ">
|
|
|
<span class="btn_css" slot="reference">企业</span>
|
|
|
</el-popover>
|
|
|
</template>
|
|
@@ -123,6 +125,10 @@
|
|
|
<el-link target="_blank" @click="reject(scope.row)" type="primary" :underline="false"
|
|
|
:disabled="scope.row.authenticationStatus != '审核中'">驳回</el-link>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
+ <el-link target="_blank" @click="recharge(scope.row)" type="primary" :underline="false"
|
|
|
+ :disabled="scope.row.authenticationStatus !='已认证'">充值
|
|
|
+ </el-link>
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
<el-link target="_blank" @click="newInfo(scope.row)" type="primary" :underline="false"
|
|
|
:disabled="scope.row.authenticationStatus == '审核中'">消息</el-link>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
@@ -130,13 +136,13 @@
|
|
|
<span class="btn_css">•••</span>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
<el-dropdown-item :disabled="
|
|
|
- scope.row.authenticationStatus == '已禁用' &&
|
|
|
- scope.row.authenticationStatus != '审核中'
|
|
|
- "><span @click="switchChange(scope.row, '1')">禁用</span></el-dropdown-item>
|
|
|
+ scope.row.authenticationStatus == '已禁用' &&
|
|
|
+ scope.row.authenticationStatus != '审核中'
|
|
|
+ "><span @click="switchChange(scope.row, '1')">禁用</span></el-dropdown-item>
|
|
|
<el-dropdown-item :disabled="
|
|
|
- scope.row.authenticationStatus != '已禁用' &&
|
|
|
- scope.row.authenticationStatus != '审核中'
|
|
|
- "><span @click="switchChange(scope.row, '2')">启用</span></el-dropdown-item>
|
|
|
+ scope.row.authenticationStatus != '已禁用' &&
|
|
|
+ scope.row.authenticationStatus != '审核中'
|
|
|
+ "><span @click="switchChange(scope.row, '2')">启用</span></el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
</template>
|
|
@@ -211,6 +217,37 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!--充值弹窗-->
|
|
|
+ <el-dialog :close-on-click-modal="false" title="充值" :visible.sync="rechargeShow" width="500px"
|
|
|
+ :before-close="rechargeClose">
|
|
|
+ <div class="recharge">
|
|
|
+ <div class="recharge_css">
|
|
|
+ <div class="title_css">货主 :</div>
|
|
|
+ <div class="recharge_css">{{ rechargeData.name }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="pay_css">
|
|
|
+ <div class="title_css">金额(元) :</div>
|
|
|
+ <div class="recharge_css" style="margin: -24px 32px 44px 69px;">
|
|
|
+ <el-input type="number" @mousewheel.native.prevent v-model="rechargeData.amountMoney" placeholder="输入充值金额"
|
|
|
+ maxlength="100" size="small">
|
|
|
+ </el-input>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="recharge_css">
|
|
|
+ <div class="title_css">上传截图 :</div>
|
|
|
+ <div class="upLoad">
|
|
|
+ <el-upload class="avatar-uploader" action="https://www.zthymaoyi.com/upload/admin" :show-file-list="false"
|
|
|
+ :on-success="handleAvatarSuccess">
|
|
|
+ <img v-if="imageUrl" :src="imageUrl" class="avatar" />
|
|
|
+ <i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
|
|
+ </el-upload>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="text-align: center; margin-top: 20px">
|
|
|
+ <el-button @click="rechargeSubmit()">提交</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
<!-- 账户信息 -->
|
|
|
<el-dialog :close-on-click-modal="false" title="账户信息" :visible.sync="payInfo" width="500px"
|
|
|
:before-close="payClose">
|
|
@@ -242,582 +279,696 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
- import {
|
|
|
- getList,
|
|
|
- toExamine,
|
|
|
- postNews,
|
|
|
- getBillList,
|
|
|
- editInfo,
|
|
|
- getInfo,
|
|
|
- } from "@/api/cargoOwnerManagement";
|
|
|
- export default {
|
|
|
- components: {
|
|
|
- "el-image-viewer": () =>
|
|
|
- import("element-ui/packages/image/src/image-viewer"),
|
|
|
+import {
|
|
|
+ getList,
|
|
|
+ toExamine,
|
|
|
+ postNews,
|
|
|
+ getBillList,
|
|
|
+ editInfo,
|
|
|
+ getInfo,
|
|
|
+ theRecharge
|
|
|
+} from '@/api/cargoOwnerManagement';
|
|
|
+export default {
|
|
|
+ components: {
|
|
|
+ 'el-image-viewer': () =>
|
|
|
+ import('element-ui/packages/image/src/image-viewer'),
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ billList: [],
|
|
|
+ tableData: [],
|
|
|
+ //分页
|
|
|
+ searchkeyWord: '',
|
|
|
+ currentPage: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ deptBudgetTotal: 0,
|
|
|
+ deptCircularPage: {},
|
|
|
+ search: '',
|
|
|
+ addressUrl: [],
|
|
|
+ disabled: false,
|
|
|
+ userInfo: false,
|
|
|
+ rejectInfo: false,
|
|
|
+ form: {},
|
|
|
+ Info: {},
|
|
|
+ sendInfo: false,
|
|
|
+ idSee: {},
|
|
|
+ //图片预览
|
|
|
+ srcList: [],
|
|
|
+ imgsVisible: false,
|
|
|
+ //账户信息
|
|
|
+ payInfo: false,
|
|
|
+ paySee: {},
|
|
|
+ rechargeShow: false,
|
|
|
+ imageUrl: '',
|
|
|
+ rechargeData: {},
|
|
|
+ };
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ seeInfo(val) {
|
|
|
+ this.listLoading = true;
|
|
|
+ getInfo({
|
|
|
+ commonId: val.commonId
|
|
|
+ })
|
|
|
+ .then((response) => {
|
|
|
+ if (response.code == 200) {
|
|
|
+ this.paySee = response.data
|
|
|
+ this.payInfo = true;
|
|
|
+ if (!this.paySee) {
|
|
|
+ this.$message.error('暂无数据!')
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.listLoading = false;
|
|
|
+ });
|
|
|
+
|
|
|
},
|
|
|
- data() {
|
|
|
- return {
|
|
|
- billList: [],
|
|
|
- tableData: [],
|
|
|
- //分页
|
|
|
- searchkeyWord: "",
|
|
|
- currentPage: 1,
|
|
|
- pageSize: 10,
|
|
|
- deptBudgetTotal: 0,
|
|
|
- deptCircularPage: {},
|
|
|
- search: "",
|
|
|
- addressUrl: [],
|
|
|
- disabled: false,
|
|
|
- userInfo: false,
|
|
|
- rejectInfo: false,
|
|
|
- form: {},
|
|
|
- Info: {},
|
|
|
- sendInfo: false,
|
|
|
- idSee: {},
|
|
|
- //图片预览
|
|
|
- srcList: [],
|
|
|
- imgsVisible: false,
|
|
|
- //账户信息
|
|
|
- payInfo: false,
|
|
|
- paySee: {},
|
|
|
- };
|
|
|
+ payClose() {
|
|
|
+ this.payInfo = false;
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.getList();
|
|
|
+ closeImgViewer() {
|
|
|
+ this.srcList = [];
|
|
|
+ this.imgsVisible = false;
|
|
|
+ },
|
|
|
+ enlarge(url) {
|
|
|
+ this.imgsVisible = true;
|
|
|
+ this.srcList.push(url);
|
|
|
+ },
|
|
|
+ IDLook(val) {
|
|
|
+ //查看身份证
|
|
|
+ this.idSee = val;
|
|
|
+ this.userInfo = true;
|
|
|
},
|
|
|
- methods: {
|
|
|
- seeInfo(val) {
|
|
|
+ editRatio(val) {
|
|
|
+ this.$confirm('确定修改该货主的垫付比例?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ }).then(() => {
|
|
|
+ // 收费比例/100
|
|
|
+ if (val.chargeProportion) {
|
|
|
+ val.chargeProportion = (val.chargeProportion / 100).toFixed(2)
|
|
|
+ }
|
|
|
+ //垫付比例
|
|
|
+ if (val.advancePayment) {
|
|
|
+ val.advancePayment = (val.advancePayment / 100).toFixed(2)
|
|
|
+ }
|
|
|
this.listLoading = true;
|
|
|
- getInfo({
|
|
|
- commonId: val.commonId
|
|
|
- })
|
|
|
+ editInfo(val)
|
|
|
.then((response) => {
|
|
|
if (response.code == 200) {
|
|
|
- this.paySee = response.data
|
|
|
- this.payInfo = true;
|
|
|
- if (!this.paySee) {
|
|
|
- this.$message.error("暂无数据!")
|
|
|
- }
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '修改成功!',
|
|
|
+ type: 'success',
|
|
|
+ });
|
|
|
+ this.getList();
|
|
|
}
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.listLoading = false;
|
|
|
});
|
|
|
-
|
|
|
- },
|
|
|
- payClose() {
|
|
|
- this.payInfo = false;
|
|
|
- },
|
|
|
- closeImgViewer() {
|
|
|
- this.srcList = [];
|
|
|
- this.imgsVisible = false;
|
|
|
- },
|
|
|
- enlarge(url) {
|
|
|
- this.imgsVisible = true;
|
|
|
- this.srcList.push(url);
|
|
|
- },
|
|
|
- IDLook(val) {
|
|
|
- //查看身份证
|
|
|
- this.idSee = val;
|
|
|
- this.userInfo = true;
|
|
|
- },
|
|
|
- editRatio(val) {
|
|
|
- this.$confirm("确定修改该货主的垫付比例?", "提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- }).then(() => {
|
|
|
- // 收费比例/100
|
|
|
- if(val.chargeProportion){
|
|
|
- val.chargeProportion = (val.chargeProportion/100).toFixed(2)
|
|
|
- }
|
|
|
- //垫付比例
|
|
|
- if(val.advancePayment){
|
|
|
- val.advancePayment = (val.advancePayment/100).toFixed(2)
|
|
|
- }
|
|
|
- this.listLoading = true;
|
|
|
- editInfo(val)
|
|
|
- .then((response) => {
|
|
|
- if (response.code == 200) {
|
|
|
- this.$notify({
|
|
|
- title: "成功",
|
|
|
- message: "修改成功!",
|
|
|
- type: "success",
|
|
|
- });
|
|
|
- this.getList();
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- this.listLoading = false;
|
|
|
- });
|
|
|
- });
|
|
|
- },
|
|
|
- editchargeProportion(val){
|
|
|
- this.$confirm("确定修改该货主的收费比例?", "提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- }).then(() => {
|
|
|
- // 收费比例/100
|
|
|
- if(val.chargeProportion){
|
|
|
- val.chargeProportion = (val.chargeProportion/100).toFixed(2)
|
|
|
- }
|
|
|
- //垫付比例
|
|
|
- if(val.advancePayment){
|
|
|
- val.advancePayment = (val.advancePayment/100).toFixed(2)
|
|
|
- }
|
|
|
- this.listLoading = true;
|
|
|
- editInfo(val)
|
|
|
- .then((response) => {
|
|
|
- if (response.code == 200) {
|
|
|
- this.$notify({
|
|
|
- title: "成功",
|
|
|
- message: "修改成功!",
|
|
|
- type: "success",
|
|
|
- });
|
|
|
- this.getList();
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- this.listLoading = false;
|
|
|
- });
|
|
|
- });
|
|
|
-
|
|
|
- },
|
|
|
- getBillList(id) {
|
|
|
- let _obj = {
|
|
|
- commonId: id,
|
|
|
- pageSize: 999,
|
|
|
- currentPage: 1,
|
|
|
- };
|
|
|
- getBillList(_obj)
|
|
|
- .then((response) => {
|
|
|
- this.billList = response.data.records;
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- this.loading = false;
|
|
|
- });
|
|
|
- },
|
|
|
- getList() {
|
|
|
- this.loading = true;
|
|
|
- let _obj = {};
|
|
|
- _obj.currentPage = this.currentPage;
|
|
|
- _obj.pageSize = this.pageSize;
|
|
|
- _obj.searchKeyWord = this.searchkeyWord;
|
|
|
- _obj.searchType = this.search;
|
|
|
- getList(_obj)
|
|
|
+ });
|
|
|
+ },
|
|
|
+ editchargeProportion(val) {
|
|
|
+ this.$confirm('确定修改该货主的收费比例?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ }).then(() => {
|
|
|
+ // 收费比例/100
|
|
|
+ if (val.chargeProportion) {
|
|
|
+ val.chargeProportion = (val.chargeProportion / 100).toFixed(2)
|
|
|
+ }
|
|
|
+ //垫付比例
|
|
|
+ if (val.advancePayment) {
|
|
|
+ val.advancePayment = (val.advancePayment / 100).toFixed(2)
|
|
|
+ }
|
|
|
+ this.listLoading = true;
|
|
|
+ editInfo(val)
|
|
|
.then((response) => {
|
|
|
- this.tableData = response.data.records;
|
|
|
- for(let i = 0 ;i<this.tableData.length;i++){
|
|
|
- if(this.tableData[i].advancePayment){
|
|
|
- this.tableData[i].advancePayment = this.tableData[i].advancePayment*100
|
|
|
- }
|
|
|
- if(this.tableData[i].chargeProportion){
|
|
|
- this.tableData[i].chargeProportion = this.tableData[i].chargeProportion*100
|
|
|
- }
|
|
|
+ if (response.code == 200) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '修改成功!',
|
|
|
+ type: 'success',
|
|
|
+ });
|
|
|
+ this.getList();
|
|
|
}
|
|
|
- this.deptBudgetTotal = response.data.total;
|
|
|
- this.listLoading = false;
|
|
|
})
|
|
|
.catch(() => {
|
|
|
- this.loading = false;
|
|
|
+ this.listLoading = false;
|
|
|
});
|
|
|
- },
|
|
|
- switchChange(row, num) {
|
|
|
- var _examine = {};
|
|
|
- _examine.id = row.id;
|
|
|
- let title;
|
|
|
- if (num == 1) {
|
|
|
- _examine.flag = 3;
|
|
|
- title = "禁用后客户将无法使用所有功能,是否确定禁用?";
|
|
|
- } else if (num == 2) {
|
|
|
- title = "确定重新启用该用户?";
|
|
|
- _examine.flag = 4;
|
|
|
- }
|
|
|
- this.$confirm(title, "提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- }).then(() => {
|
|
|
- this.listLoading = true;
|
|
|
- toExamine(_examine)
|
|
|
- .then((response) => {
|
|
|
- if (num == 1) {
|
|
|
- this.$notify({
|
|
|
- title: "成功",
|
|
|
- message: "禁用成功!",
|
|
|
- type: "success",
|
|
|
- });
|
|
|
- } else if (num == 2) {
|
|
|
- this.$notify({
|
|
|
- title: "成功",
|
|
|
- message: "启用成功!",
|
|
|
- type: "success",
|
|
|
- });
|
|
|
- }
|
|
|
- this.getList();
|
|
|
- this.listLoading = false;
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- this.loading = false;
|
|
|
- });
|
|
|
+ });
|
|
|
+
|
|
|
+ },
|
|
|
+ getBillList(id) {
|
|
|
+ let _obj = {
|
|
|
+ commonId: id,
|
|
|
+ pageSize: 999,
|
|
|
+ currentPage: 1,
|
|
|
+ };
|
|
|
+ getBillList(_obj)
|
|
|
+ .then((response) => {
|
|
|
+ this.billList = response.data.records;
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false;
|
|
|
});
|
|
|
- },
|
|
|
- newInfo(row) {
|
|
|
- this.Info.newsTypeKey = 1;
|
|
|
- this.Info.newsType = "系统消息";
|
|
|
- this.Info.crtCommonId = JSON.parse(
|
|
|
- localStorage.getItem("UserInfo")
|
|
|
- ).userId;
|
|
|
- this.Info.reCommonId = row.commonId;
|
|
|
- this.Info.bussId = row.id;
|
|
|
- this.sendInfo = true;
|
|
|
- },
|
|
|
- sendInfoClose() {
|
|
|
- this.Info = {};
|
|
|
- this.sendInfo = false;
|
|
|
- },
|
|
|
- adopt(row) {
|
|
|
- this.$confirm("确定通过身份审核?", "提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- }).then(() => {
|
|
|
- this.listLoading = true;
|
|
|
- var _examine = {};
|
|
|
- _examine.id = row.id;
|
|
|
- _examine.flag = 1;
|
|
|
- toExamine(_examine)
|
|
|
- .then((response) => {
|
|
|
- this.$notify({
|
|
|
- title: "成功",
|
|
|
- message: "通过成功!",
|
|
|
- type: "success",
|
|
|
- });
|
|
|
- this.getList();
|
|
|
- this.listLoading = false;
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- this.loading = false;
|
|
|
- });
|
|
|
+ },
|
|
|
+ getList() {
|
|
|
+ this.loading = true;
|
|
|
+ let _obj = {};
|
|
|
+ _obj.currentPage = this.currentPage;
|
|
|
+ _obj.pageSize = this.pageSize;
|
|
|
+ _obj.searchKeyWord = this.searchkeyWord;
|
|
|
+ _obj.searchType = this.search;
|
|
|
+ getList(_obj)
|
|
|
+ .then((response) => {
|
|
|
+ this.tableData = response.data.records;
|
|
|
+ for (let i = 0; i < this.tableData.length; i++) {
|
|
|
+ if (this.tableData[i].advancePayment) {
|
|
|
+ this.tableData[i].advancePayment = this.tableData[i].advancePayment * 100
|
|
|
+ }
|
|
|
+ if (this.tableData[i].chargeProportion) {
|
|
|
+ this.tableData[i].chargeProportion = this.tableData[i].chargeProportion * 100
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.deptBudgetTotal = response.data.total;
|
|
|
+ this.listLoading = false;
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false;
|
|
|
});
|
|
|
- },
|
|
|
- reject(row) {
|
|
|
- this.form.id = row.id;
|
|
|
- this.form.flag = 2;
|
|
|
- this.rejectInfo = true;
|
|
|
- },
|
|
|
- rejectClose() {
|
|
|
- this.form.rejectReasonDescription = "";
|
|
|
- this.rejectInfo = false;
|
|
|
- },
|
|
|
- submit() {
|
|
|
- if (!this.form.rejectReasonDescription) {
|
|
|
- this.$message.error("请输入驳回原因");
|
|
|
- return;
|
|
|
- }
|
|
|
- if (
|
|
|
- this.form.rejectReasonDescription.length < 6 ||
|
|
|
- this.form.rejectReasonDescription.length > 100
|
|
|
- ) {
|
|
|
- this.$message.error("驳回原因字数应在6-100之间");
|
|
|
- return;
|
|
|
- }
|
|
|
+ },
|
|
|
+ switchChange(row, num) {
|
|
|
+ var _examine = {};
|
|
|
+ _examine.id = row.id;
|
|
|
+ let title;
|
|
|
+ if (num == 1) {
|
|
|
+ _examine.flag = 3;
|
|
|
+ title = '禁用后客户将无法使用所有功能,是否确定禁用?';
|
|
|
+ } else if (num == 2) {
|
|
|
+ title = '确定重新启用该用户?';
|
|
|
+ _examine.flag = 4;
|
|
|
+ }
|
|
|
+ this.$confirm(title, '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ }).then(() => {
|
|
|
this.listLoading = true;
|
|
|
- toExamine(this.form)
|
|
|
+ toExamine(_examine)
|
|
|
.then((response) => {
|
|
|
- this.$notify({
|
|
|
- title: "成功",
|
|
|
- message: "驳回成功!",
|
|
|
- type: "success",
|
|
|
- });
|
|
|
- this.form = {};
|
|
|
- this.rejectInfo = false;
|
|
|
+ if (num == 1) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '禁用成功!',
|
|
|
+ type: 'success',
|
|
|
+ });
|
|
|
+ } else if (num == 2) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '启用成功!',
|
|
|
+ type: 'success',
|
|
|
+ });
|
|
|
+ }
|
|
|
this.getList();
|
|
|
this.listLoading = false;
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.loading = false;
|
|
|
});
|
|
|
- },
|
|
|
- submitInfo() {
|
|
|
- if (!this.Info.newsTitle) {
|
|
|
- this.$message.error("请输入标题");
|
|
|
- return;
|
|
|
- }
|
|
|
- if (!this.Info.newsContent) {
|
|
|
- this.$message.error("请输入内容");
|
|
|
- return;
|
|
|
- }
|
|
|
- if (this.Info.newsTitle.length < 4 || this.Info.newsTitle.length > 20) {
|
|
|
- this.$message.error("标题字数应在4-20之间");
|
|
|
- return;
|
|
|
- }
|
|
|
- if (
|
|
|
- this.Info.newsContent.length < 10 ||
|
|
|
- this.Info.newsContent.length > 100
|
|
|
- ) {
|
|
|
- this.$message.error("消息内容字数应在10-100之间");
|
|
|
- return;
|
|
|
- }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ newInfo(row) {
|
|
|
+ this.Info.newsTypeKey = 1;
|
|
|
+ this.Info.newsType = '系统消息';
|
|
|
+ this.Info.crtCommonId = JSON.parse(
|
|
|
+ localStorage.getItem('UserInfo')
|
|
|
+ ).userId;
|
|
|
+ this.Info.reCommonId = row.commonId;
|
|
|
+ this.Info.bussId = row.id;
|
|
|
+ this.sendInfo = true;
|
|
|
+ },
|
|
|
+ sendInfoClose() {
|
|
|
+ this.Info = {};
|
|
|
+ this.sendInfo = false;
|
|
|
+ },
|
|
|
+ adopt(row) {
|
|
|
+ this.$confirm('确定通过身份审核?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ }).then(() => {
|
|
|
this.listLoading = true;
|
|
|
- postNews(this.Info)
|
|
|
+ var _examine = {};
|
|
|
+ _examine.id = row.id;
|
|
|
+ _examine.flag = 1;
|
|
|
+ toExamine(_examine)
|
|
|
.then((response) => {
|
|
|
this.$notify({
|
|
|
- title: "成功",
|
|
|
- message: "发送成功!",
|
|
|
- type: "success",
|
|
|
+ title: '成功',
|
|
|
+ message: '通过成功!',
|
|
|
+ type: 'success',
|
|
|
});
|
|
|
- this.sendInfoClose();
|
|
|
+ this.getList();
|
|
|
this.listLoading = false;
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.loading = false;
|
|
|
});
|
|
|
- },
|
|
|
- userSee(row) {
|
|
|
- this.idSee.cardAddressUrl = row.cardAddressUrl;
|
|
|
- this.idSee.cardBackAddressUrl = row.cardBackAddressUrl;
|
|
|
- this.idSee.name = row.name;
|
|
|
- this.idSee.cardNumber = row.cardNumber;
|
|
|
- this.idSee.cardValidityDate = row.cardValidityDate;
|
|
|
- this.userInfo = true;
|
|
|
- },
|
|
|
- userInfoClose() {
|
|
|
- this.userInfo = false;
|
|
|
- },
|
|
|
- searchBtn(num) {
|
|
|
- this.search = num;
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- find() {
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- onChange() {
|
|
|
- this.$refs.upload
|
|
|
- .handleSaveBill()
|
|
|
- .then(async (response) => {
|
|
|
- this.formData.addressUrl = response;
|
|
|
- })
|
|
|
- .catch((res) => {
|
|
|
- EventBus.$emit("error", (JSON.parse(res) || {}).message);
|
|
|
- this.$refs.upload.clearFiles();
|
|
|
+ });
|
|
|
+ },
|
|
|
+ reject(row) {
|
|
|
+ this.form.id = row.id;
|
|
|
+ this.form.flag = 2;
|
|
|
+ this.rejectInfo = true;
|
|
|
+ },
|
|
|
+ rejectClose() {
|
|
|
+ this.form.rejectReasonDescription = '';
|
|
|
+ this.rejectInfo = false;
|
|
|
+ },
|
|
|
+ submit() {
|
|
|
+ if (!this.form.rejectReasonDescription) {
|
|
|
+ this.$message.error('请输入驳回原因');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (
|
|
|
+ this.form.rejectReasonDescription.length < 6 ||
|
|
|
+ this.form.rejectReasonDescription.length > 100
|
|
|
+ ) {
|
|
|
+ this.$message.error('驳回原因字数应在6-100之间');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.listLoading = true;
|
|
|
+ toExamine(this.form)
|
|
|
+ .then((response) => {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '驳回成功!',
|
|
|
+ type: 'success',
|
|
|
+ });
|
|
|
+ this.form = {};
|
|
|
+ this.rejectInfo = false;
|
|
|
+ this.getList();
|
|
|
+ this.listLoading = false;
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ rechargeClose() {
|
|
|
+ this.rechargeShow = false;
|
|
|
+ },
|
|
|
+ recharge(item) {
|
|
|
+ // this.rechargeData = item
|
|
|
+ this.rechargeData.name = item.name
|
|
|
+ this.rechargeData.rechargeId = item.id;
|
|
|
+ this.rechargeData.flag = 1;
|
|
|
+ this.rechargeData.commonId = item.commonId;
|
|
|
+ this.rechargeShow = true
|
|
|
+ },
|
|
|
+ //上传付款截图
|
|
|
+ handleAvatarSuccess(e) {
|
|
|
+ this.imageUrl = e.url
|
|
|
+ },
|
|
|
+ rechargeSubmit() {
|
|
|
+ if (!this.rechargeData.amountMoney) {
|
|
|
+ this.$message({
|
|
|
+ message: '充值金额不能为空',
|
|
|
+ type: 'warning',
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!this.imageUrl) {
|
|
|
+ this.$message({
|
|
|
+ message: '请上传截图 ',
|
|
|
+ type: 'warning',
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.rechargeData.rechargeUrl = this.imageUrl
|
|
|
+ this.listLoading = true;
|
|
|
+ this.$confirm('确定提交充值信息?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ theRecharge(this.rechargeData)
|
|
|
+ .then((response) => {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '充值成功!',
|
|
|
+ type: 'success',
|
|
|
+ });
|
|
|
+ this.rechargeData = {};
|
|
|
+ this.rechargeShow = false;
|
|
|
+ this.getList();
|
|
|
+ this.listLoading = false;
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ submitInfo() {
|
|
|
+ if (!this.Info.newsTitle) {
|
|
|
+ this.$message.error('请输入标题');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (!this.Info.newsContent) {
|
|
|
+ this.$message.error('请输入内容');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (this.Info.newsTitle.length < 4 || this.Info.newsTitle.length > 20) {
|
|
|
+ this.$message.error('标题字数应在4-20之间');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (
|
|
|
+ this.Info.newsContent.length < 10 ||
|
|
|
+ this.Info.newsContent.length > 100
|
|
|
+ ) {
|
|
|
+ this.$message.error('消息内容字数应在10-100之间');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.listLoading = true;
|
|
|
+ postNews(this.Info)
|
|
|
+ .then((response) => {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '发送成功!',
|
|
|
+ type: 'success',
|
|
|
});
|
|
|
- },
|
|
|
- handleSizeChange(val) {
|
|
|
- console.log(`每页 ${val} 条`);
|
|
|
- this.pageSize = val;
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- handleCurrentChange(val) {
|
|
|
- this.currentPage = val;
|
|
|
- console.log(`当前页: ${val}`);
|
|
|
- this.getList();
|
|
|
- },
|
|
|
+ this.sendInfoClose();
|
|
|
+ this.listLoading = false;
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ userSee(row) {
|
|
|
+ this.idSee.cardAddressUrl = row.cardAddressUrl;
|
|
|
+ this.idSee.cardBackAddressUrl = row.cardBackAddressUrl;
|
|
|
+ this.idSee.name = row.name;
|
|
|
+ this.idSee.cardNumber = row.cardNumber;
|
|
|
+ this.idSee.cardValidityDate = row.cardValidityDate;
|
|
|
+ this.userInfo = true;
|
|
|
},
|
|
|
- };
|
|
|
+ userInfoClose() {
|
|
|
+ this.userInfo = false;
|
|
|
+ },
|
|
|
+ searchBtn(num) {
|
|
|
+ this.search = num;
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ find() {
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ onChange() {
|
|
|
+ this.$refs.upload
|
|
|
+ .handleSaveBill()
|
|
|
+ .then(async (response) => {
|
|
|
+ this.formData.addressUrl = response;
|
|
|
+ })
|
|
|
+ .catch((res) => {
|
|
|
+ EventBus.$emit('error', (JSON.parse(res) || {}).message);
|
|
|
+ this.$refs.upload.clearFiles();
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleSizeChange(val) {
|
|
|
+ console.log(`每页 ${val} 条`);
|
|
|
+ this.pageSize = val;
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ handleCurrentChange(val) {
|
|
|
+ this.currentPage = val;
|
|
|
+ console.log(`当前页: ${val}`);
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
- .center {
|
|
|
- padding: 10px 20px;
|
|
|
- background: #f5f6f7;
|
|
|
- height: calc(100vh - 5vh);
|
|
|
-
|
|
|
- .top_css {
|
|
|
- padding: 10px;
|
|
|
+.center {
|
|
|
+ padding: 10px 20px;
|
|
|
+ background: #f5f6f7;
|
|
|
+ height: calc(100vh - 5vh);
|
|
|
|
|
|
- .search_btn {
|
|
|
- height: 80px;
|
|
|
- background: linear-gradient(#fafbfb, #ffffff);
|
|
|
- display: flex;
|
|
|
- margin-top: 20px;
|
|
|
-
|
|
|
- .search_block {
|
|
|
- margin-left: 20px;
|
|
|
- }
|
|
|
-
|
|
|
- .search_item {
|
|
|
- text-align: center;
|
|
|
- font-size: 14px;
|
|
|
- font-weight: 600;
|
|
|
- line-height: 40px;
|
|
|
- width: 112px;
|
|
|
- height: 40px;
|
|
|
- background: #f7f8f9;
|
|
|
- cursor: pointer;
|
|
|
- margin-top: 30px;
|
|
|
- }
|
|
|
-
|
|
|
- .searchNo {
|
|
|
- color: #323233;
|
|
|
- }
|
|
|
-
|
|
|
- .search {
|
|
|
- color: #2f53eb;
|
|
|
- background: #ffffff;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .center_css {
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 1px;
|
|
|
- margin-top: 10px;
|
|
|
- padding-bottom: 10px;
|
|
|
- }
|
|
|
+ .top_css {
|
|
|
+ padding: 10px;
|
|
|
|
|
|
- .screen {
|
|
|
+ .search_btn {
|
|
|
+ height: 80px;
|
|
|
+ background: linear-gradient(#fafbfb, #ffffff);
|
|
|
display: flex;
|
|
|
+ margin-top: 20px;
|
|
|
|
|
|
- .search {
|
|
|
- width: 40px;
|
|
|
- height: 40px;
|
|
|
- background: #2f53eb;
|
|
|
- border-radius: 0px 2px 2px 0px;
|
|
|
- border: 1px solid #DCDFE6;
|
|
|
- margin-left:-1px;
|
|
|
+ .search_block {
|
|
|
+ margin-left: 20px;
|
|
|
}
|
|
|
|
|
|
- .count_css {
|
|
|
- width: 80px;
|
|
|
+ .search_item {
|
|
|
text-align: center;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 600;
|
|
|
line-height: 40px;
|
|
|
- color: #666666;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .el-button {
|
|
|
- padding: 10px 20px !important;
|
|
|
- }
|
|
|
-
|
|
|
- .center_css {
|
|
|
-
|
|
|
- ::v-deep .el-table th,
|
|
|
- ::v-deep .el-table td {
|
|
|
- text-align: center;
|
|
|
+ width: 112px;
|
|
|
+ height: 40px;
|
|
|
+ background: #f7f8f9;
|
|
|
+ cursor: pointer;
|
|
|
+ margin-top: 30px;
|
|
|
}
|
|
|
|
|
|
- .fujian {
|
|
|
- font-size: 24px;
|
|
|
- color: #409eff;
|
|
|
+ .searchNo {
|
|
|
+ color: #323233;
|
|
|
}
|
|
|
|
|
|
- .warning {
|
|
|
- font-size: 14px;
|
|
|
- color: #ed1d1d;
|
|
|
+ .search {
|
|
|
+ color: #2f53eb;
|
|
|
+ background: #ffffff;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .car_css {
|
|
|
- width: 50%;
|
|
|
- display: inline-block;
|
|
|
- text-align: center;
|
|
|
- margin-top: 20px;
|
|
|
+ .center_css {
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 1px;
|
|
|
+ margin-top: 10px;
|
|
|
+ padding-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
- .car_item {
|
|
|
- width: 100px;
|
|
|
- height: 100px;
|
|
|
- }
|
|
|
+ .screen {
|
|
|
+ display: flex;
|
|
|
|
|
|
- .user {
|
|
|
- margin-bottom: 20px;
|
|
|
+ .search {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ background: #2f53eb;
|
|
|
+ border-radius: 0px 2px 2px 0px;
|
|
|
+ border: 1px solid #DCDFE6;
|
|
|
+ margin-left: -1px;
|
|
|
+ }
|
|
|
|
|
|
- .title_css {
|
|
|
- color: #9d9d9d;
|
|
|
- margin-bottom: 6px;
|
|
|
+ .count_css {
|
|
|
+ width: 80px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 40px;
|
|
|
+ color: #666666;
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-button {
|
|
|
+ padding: 10px 20px !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ .center_css {
|
|
|
|
|
|
- .name_css {
|
|
|
- color: #0d0d0d;
|
|
|
- margin-bottom: 20px;
|
|
|
+ ::v-deep .el-table th,
|
|
|
+ ::v-deep .el-table td {
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
|
|
|
- .form_btn {
|
|
|
- text-align: right;
|
|
|
+ .fujian {
|
|
|
+ font-size: 24px;
|
|
|
+ color: #409eff;
|
|
|
}
|
|
|
|
|
|
- .user_item {
|
|
|
- width: 380px;
|
|
|
- height: 250px;
|
|
|
- margin-bottom: 20px;
|
|
|
+ .warning {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #ed1d1d;
|
|
|
}
|
|
|
}
|
|
|
+}
|
|
|
+
|
|
|
+.car_css {
|
|
|
+ width: 50%;
|
|
|
+ display: inline-block;
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.car_item {
|
|
|
+ width: 100px;
|
|
|
+ height: 100px;
|
|
|
+}
|
|
|
+
|
|
|
+.user {
|
|
|
+ margin-bottom: 20px;
|
|
|
+
|
|
|
+ .title_css {
|
|
|
+ color: #9d9d9d;
|
|
|
+ margin-bottom: 6px;
|
|
|
+ }
|
|
|
|
|
|
- ::v-deep .el-table--border .el-table__header th {
|
|
|
- background: #f7f8f9;
|
|
|
+ .name_css {
|
|
|
+ color: #0d0d0d;
|
|
|
+ margin-bottom: 20px;
|
|
|
}
|
|
|
|
|
|
- .btn_css {
|
|
|
- color: #409eff;
|
|
|
- cursor: pointer;
|
|
|
+ .form_btn {
|
|
|
+ text-align: right;
|
|
|
}
|
|
|
|
|
|
- .sign {
|
|
|
- font-size: 14px;
|
|
|
- color: red;
|
|
|
+ .user_item {
|
|
|
+ width: 380px;
|
|
|
+ height: 250px;
|
|
|
+ margin-bottom: 20px;
|
|
|
}
|
|
|
+}
|
|
|
|
|
|
- .form_css {
|
|
|
- width: 100%;
|
|
|
- margin: 0 auto 20px;
|
|
|
+::v-deep .el-table--border .el-table__header th {
|
|
|
+ background: #f7f8f9;
|
|
|
+}
|
|
|
|
|
|
- ::v-deep .el-checkbox {
|
|
|
- width: 40%;
|
|
|
- height: 30px;
|
|
|
- }
|
|
|
+.btn_css {
|
|
|
+ color: #409eff;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
|
|
|
- ::v-deep .el-dialog__body {
|
|
|
- padding: 10px 20px;
|
|
|
- }
|
|
|
+.sign {
|
|
|
+ font-size: 14px;
|
|
|
+ color: red;
|
|
|
+}
|
|
|
|
|
|
- ::v-deep .el-dialog__title {
|
|
|
- font-size: 16px;
|
|
|
- }
|
|
|
+.form_css {
|
|
|
+ width: 100%;
|
|
|
+ margin: 0 auto 20px;
|
|
|
|
|
|
- // ::v-deep .el-textarea__inner {
|
|
|
- // background: #F0F1F2;
|
|
|
- // }
|
|
|
+ ::v-deep .el-checkbox {
|
|
|
+ width: 40%;
|
|
|
+ height: 30px;
|
|
|
+ }
|
|
|
|
|
|
- .form_btn {
|
|
|
- text-align: right;
|
|
|
- margin-top: 10px;
|
|
|
- }
|
|
|
+ ::v-deep .el-dialog__body {
|
|
|
+ padding: 10px 20px;
|
|
|
}
|
|
|
|
|
|
- //发送信息
|
|
|
- .Info_css {
|
|
|
- .Info_title {
|
|
|
- color: #323233;
|
|
|
- font-size: 16px;
|
|
|
- }
|
|
|
+ ::v-deep .el-dialog__title {
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
|
|
|
- .Info_item {
|
|
|
- margin: 20px 0;
|
|
|
- }
|
|
|
+ // ::v-deep .el-textarea__inner {
|
|
|
+ // background: #F0F1F2;
|
|
|
+ // }
|
|
|
|
|
|
- .Info_btn {
|
|
|
- text-align: right;
|
|
|
- margin-top: 10px;
|
|
|
- }
|
|
|
+ .form_btn {
|
|
|
+ text-align: right;
|
|
|
+ margin-top: 10px;
|
|
|
}
|
|
|
+}
|
|
|
|
|
|
- .advancePayment-style {
|
|
|
- display: flex;
|
|
|
+//发送信息
|
|
|
+.Info_css {
|
|
|
+ .Info_title {
|
|
|
+ color: #323233;
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
|
|
|
- ::v-deep .advancePayment-style .el-input__inner {
|
|
|
- height: 30px;
|
|
|
+ .Info_item {
|
|
|
+ margin: 20px 0;
|
|
|
}
|
|
|
|
|
|
- .pay {
|
|
|
- .pay_css {
|
|
|
- display: flex;
|
|
|
- margin-bottom: 20px;
|
|
|
- }
|
|
|
+ .Info_btn {
|
|
|
+ text-align: right;
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.advancePayment-style {
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .advancePayment-style .el-input__inner {
|
|
|
+ height: 30px;
|
|
|
+}
|
|
|
+
|
|
|
+.pay {
|
|
|
+ .pay_css {
|
|
|
+ display: flex;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.recharge {
|
|
|
+ .recharge_css {
|
|
|
+ display: flex;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ justify-content: space-between;
|
|
|
}
|
|
|
- .find::v-deep input.el-input__inner{
|
|
|
- border-radius:0;
|
|
|
+
|
|
|
+ .recharge_css {
|
|
|
+ width: 80%;
|
|
|
}
|
|
|
+}
|
|
|
+
|
|
|
+.upLoad {
|
|
|
+ width: 40%;
|
|
|
+ margin: 0 auto;
|
|
|
+}
|
|
|
+
|
|
|
+.avatar-uploader {
|
|
|
+ position: relative;
|
|
|
+ width: 178px;
|
|
|
+}
|
|
|
+
|
|
|
+.avatar-uploader .el-upload {
|
|
|
+ border: 1px dashed #d9d9d9;
|
|
|
+ border-radius: 6px;
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+ width: 178px;
|
|
|
+}
|
|
|
+
|
|
|
+.avatar-uploader .el-upload:hover {
|
|
|
+ border-color: #409eff;
|
|
|
+}
|
|
|
+
|
|
|
+.avatar-uploader-icon {
|
|
|
+ font-size: 28px;
|
|
|
+ color: #8c939d;
|
|
|
+ width: 178px;
|
|
|
+ height: 178px;
|
|
|
+ line-height: 178px;
|
|
|
+ text-align: center;
|
|
|
+ border: 1px solid #8890b1;
|
|
|
+ border-radius: 5px;
|
|
|
+}
|
|
|
+
|
|
|
+.avatar {
|
|
|
+ width: 178px;
|
|
|
+ height: 178px;
|
|
|
+ border: 1px solid #8890b1;
|
|
|
+ border-radius: 5px;
|
|
|
+ display: block;
|
|
|
+}
|
|
|
+
|
|
|
+.find::v-deep input.el-input__inner {
|
|
|
+ border-radius: 0;
|
|
|
+}
|
|
|
</style>
|