10.22
This commit is contained in:
parent
8d28b9aef5
commit
dc552e4c48
@ -628,15 +628,22 @@
|
|||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="用户名" prop="accountName">
|
<el-form-item label="用户姓名" prop="realName">
|
||||||
<el-input v-model="form.accountName" placeholder="请输入用户名" onkeyup="value=value.replace(/[^\x00-\xff]/g, '')" maxlength="50" autocomplete="off" />
|
<el-input v-model="form.realName" placeholder="请输入用户姓名" maxlength="30" autocomplete="off"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="手机号" prop="mobile">
|
<el-form-item label="联系方式" prop="mobile">
|
||||||
<el-input v-model="form.mobile" placeholder="请输入手机号" maxlength="50" autocomplete="off" />
|
<el-input v-model="form.mobile" placeholder="请输入用户的联系方式" maxlength="50" autocomplete="off" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="登录账号" prop="accountName">
|
||||||
|
<el-input v-model="form.accountName" placeholder="请输入" onkeyup="value=value.replace(/[^\x00-\xff]/g, '')" maxlength="50" autocomplete="off" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -651,36 +658,11 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item v-if="form.id == undefined" label="确认密码" prop="password1">
|
|
||||||
<el-input v-model="form.password1" placeholder="请输入确认密码" type="password" maxlength="30" show-password autocomplete="off"/>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="真实姓名" prop="realName">
|
<el-form-item label="用户角色" prop="roleIds">
|
||||||
<el-input v-model="form.realName" placeholder="请输入真实姓名" maxlength="30" autocomplete="off"/>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item label="状态">
|
|
||||||
<el-radio-group v-model="form.accountStatus" @change="$forceUpdate()">
|
|
||||||
<el-radio :key=1 :label=1 :value=1>启用</el-radio>
|
|
||||||
<el-radio :key=0 :label=0 :value=0>禁用</el-radio>
|
|
||||||
</el-radio-group>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item label="分配角色" prop="roleIds">
|
|
||||||
<el-select v-model="form.roleIds" @change="$forceUpdate(),getCodeByRole($event)" placeholder="请选择角色">
|
<el-select v-model="form.roleIds" @change="$forceUpdate(),getCodeByRole($event)" placeholder="请选择角色">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in rolelist"
|
v-for="item in rolelist"
|
||||||
@ -689,12 +671,23 @@
|
|||||||
:value="item.dutyId"
|
:value="item.dutyId"
|
||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<div v-if="!rolelist || rolelist.length==0" style="color: red;font-size: 12px">请先为当前机构添加角色信息</div>
|
<!-- <div v-if="!rolelist || rolelist.length==0" style="color: red;font-size: 12px">请先为当前机构添加角色信息</div> -->
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="角色状态">
|
||||||
|
<el-radio-group v-model="form.accountStatus" @change="$forceUpdate()">
|
||||||
|
<el-radio :key=1 :label=1 :value=1>启用</el-radio>
|
||||||
|
<el-radio :key=0 :label=0 :value=0>禁用</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
|
@ -71,20 +71,14 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-dialog title="编辑油站" class="d-dialog" :visible.sync="editDialog" width="1000px" style="padding-right: 10px;">
|
<el-dialog title="编辑油站" class="d-dialog" :visible.sync="editDialog" width="700px" style="padding-right: 10px;">
|
||||||
<el-form :model="from" ref="form" :rules="rules">
|
<el-form :model="from" ref="form" :rules="rules">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-form-item label="油站名称" prop="name" :label-width="formLabelWidth">
|
<el-form-item label="油站名称" prop="name" :label-width="formLabelWidth">
|
||||||
<el-input v-model="from.name" autocomplete="off" style="width:220px"></el-input>
|
<el-input v-model="from.name" autocomplete="off" style="width:500px"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="油站联系人" prop="contact" :label-width="formLabelWidth">
|
|
||||||
<el-input v-model="from.contact" autocomplete="off" style="width:220px"></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
|
|
||||||
</el-col>
|
|
||||||
<el-col :span="10">
|
|
||||||
<el-form-item label="上传头像" prop="name" :label-width="formLabelWidth">
|
<el-form-item label="上传头像" prop="name" :label-width="formLabelWidth">
|
||||||
<el-upload
|
<el-upload
|
||||||
:action="uploadAction"
|
:action="uploadAction"
|
||||||
@ -104,12 +98,16 @@
|
|||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item label="油站联系人" prop="contact" :label-width="formLabelWidth" placeholder="请输入油站负责人">
|
||||||
|
<el-input v-model="from.contact" autocomplete="off" style="width:500px"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-form-item label="联系电话" prop="phone" :label-width="formLabelWidth">
|
<el-form-item label="联系电话" prop="phone" :label-width="formLabelWidth" placeholder="请输入联系方式">
|
||||||
<el-input v-model="from.phone" autocomplete="off" style="width:220px"></el-input>
|
<el-input v-model="from.phone" autocomplete="off" style="width:500px"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
@ -119,16 +117,14 @@
|
|||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-form-item label="店铺地址" prop="address" :label-width="formLabelWidth">
|
<el-form-item label="店铺地址" prop="address" :label-width="formLabelWidth">
|
||||||
<el-input
|
<el-input
|
||||||
style="width:220px"
|
style="width:500px"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:rows="2"
|
:rows="2"
|
||||||
placeholder="请输入地址"
|
placeholder="请输入店铺地址"
|
||||||
v-model="from.address">
|
v-model="from.address">
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
</el-col>
|
|
||||||
<el-col :span="10">
|
|
||||||
<el-form-item label="油站状态" prop="status" :label-width="formLabelWidth">
|
<el-form-item label="油站状态" prop="status" :label-width="formLabelWidth">
|
||||||
<el-tooltip class="item" effect="dark" content="油站状态在组织架构中设置" placement="top-start">
|
<el-tooltip class="item" effect="dark" content="油站状态在组织架构中设置" placement="top-start">
|
||||||
|
|
||||||
@ -141,11 +137,12 @@
|
|||||||
></el-switch>
|
></el-switch>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="上传营业执照" prop="name" :label-width="formLabelWidth">
|
<el-form-item label="营业执照" prop="name" :label-width="formLabelWidth">
|
||||||
<el-upload
|
<el-upload
|
||||||
:action="uploadAction"
|
:action="uploadAction"
|
||||||
list-type="picture-card"
|
list-type="picture-card"
|
||||||
@ -163,11 +160,8 @@
|
|||||||
<i v-if="!this.from.license" class="el-icon-plus"></i>
|
<i v-if="!this.from.license" class="el-icon-plus"></i>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
|
||||||
|
|
||||||
|
<el-form-item label="经营照" prop="name" :label-width="formLabelWidth">
|
||||||
<el-col :span="18">
|
|
||||||
<el-form-item label="上传经营照" prop="name" :label-width="formLabelWidth">
|
|
||||||
<el-upload
|
<el-upload
|
||||||
:action="uploadAction"
|
:action="uploadAction"
|
||||||
list-type="picture-card"
|
list-type="picture-card"
|
||||||
@ -177,7 +171,7 @@
|
|||||||
:auto-upload="true"
|
:auto-upload="true"
|
||||||
:on-preview="handlePictureCardPreview"
|
:on-preview="handlePictureCardPreview"
|
||||||
:on-success="handleUploadSuccessGift"
|
:on-success="handleUploadSuccessGift"
|
||||||
style="height: 100px;"
|
style="width: 700px; flex-wrap: wrap;"
|
||||||
:on-remove="handleRemove"
|
:on-remove="handleRemove"
|
||||||
:before-upload="beforeUpload"
|
:before-upload="beforeUpload"
|
||||||
>
|
>
|
||||||
@ -188,7 +182,7 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
|
@ -249,15 +249,22 @@
|
|||||||
<el-button type="primary" @click="submitMerchant">确 定</el-button>
|
<el-button type="primary" @click="submitMerchant">确 定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog :title="Ruletitle" :visible.sync="addRule">
|
<el-dialog :title="Ruletitle" :visible.sync="addRule" width="60%">
|
||||||
<el-form :model="formRule" ref="formRule" :rules="rules">
|
<el-form :model="formRule" ref="formRule" :rules="rules">
|
||||||
<el-form-item label="规则名称" :label-width="formLabelWidth" prop="ruleName">
|
<el-row :gutter="20">
|
||||||
<el-input v-model="formRule.ruleName" placeholder="请输入规则名称" autocomplete="off" style="width: 350px"></el-input>
|
<el-col :span="12">
|
||||||
</el-form-item>
|
<el-form-item label="规则名称" :label-width="formLabelWidth" prop="ruleName">
|
||||||
<el-form-item label="规则描述" :label-width="formLabelWidth">
|
<el-input v-model="formRule.ruleName" placeholder="请输入规则名称" autocomplete="off" style="width: 350px"></el-input>
|
||||||
<el-input type="textarea" v-model="formRule.description" placeholder="请输入规则描述" autocomplete="off"
|
</el-form-item>
|
||||||
style="width: 350px"></el-input>
|
</el-col>
|
||||||
</el-form-item>
|
<el-col :span="12">
|
||||||
|
<el-form-item label="规则描述" :label-width="formLabelWidth">
|
||||||
|
<el-input type="textarea" v-model="formRule.description" placeholder="请输入规则描述" autocomplete="off"
|
||||||
|
style="width: 350px"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
<el-form-item label="规则类型" :label-width="formLabelWidth" prop="ruleType">
|
<el-form-item label="规则类型" :label-width="formLabelWidth" prop="ruleType">
|
||||||
<div style="display: flex">
|
<div style="display: flex">
|
||||||
<div class="xz_box" :class=" {'active' : formRule.ruleType == 1 } " @click="formRule.ruleType = 1"><i
|
<div class="xz_box" :class=" {'active' : formRule.ruleType == 1 } " @click="formRule.ruleType = 1"><i
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!-- 支付通道分析-->
|
<!-- 支付通道分析-->
|
||||||
<template>
|
<template>
|
||||||
<div style="padding-top: 20px; padding-right: 20px; background: #f6f8f9;padding-bottom: 15px">
|
<div style="padding-top: 15px; padding-right: 20px; background: #f6f8f9;padding-bottom: 15px">
|
||||||
<div class="card-change2-1" style="" shadow="never">
|
<div class="card-change2-1" style="" shadow="never">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="120px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="120px">
|
||||||
<div class="d-s" style="margin-bottom: 0px;justify-content: space-between">
|
<div class="d-s" style="margin-bottom: 0px;justify-content: space-between">
|
||||||
@ -56,7 +56,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-change-1" style="min-height: 500px;" shadow="never">
|
<div class="card-change-1" style="min-height: 500px; margin-top: 20px;" shadow="never">
|
||||||
<div class="table-box">
|
<div class="table-box">
|
||||||
<el-table
|
<el-table
|
||||||
:data="orderList"
|
:data="orderList"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!-- 收银台订单-->
|
<!-- 收银台订单-->
|
||||||
<template>
|
<template>
|
||||||
<div style="padding-top: 20px; padding-right: 20px; background: #f6f8f9;padding-bottom: 15px">
|
<div style="padding-top: 15px; padding-right: 20px; background: #f6f8f9;padding-bottom: 15px">
|
||||||
<div class="card-change2" style="margin-left: 20px; padding-top: 0px;padding-bottom: 5px" shadow="never" >
|
<div class="card-change2" style="margin-left: 20px; padding-top: 0px;padding-bottom: 5px" shadow="never" >
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="120px" >
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="120px" >
|
||||||
<div class="d-s" style="justify-content: space-between">
|
<div class="d-s" style="justify-content: space-between">
|
||||||
@ -62,7 +62,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-change" style="min-height: 500px; margin-left: 20px;margin-top: 4px" shadow="never">
|
<div class="card-change" style="min-height: 500px; margin-left: 20px;margin-top: 20px" shadow="never">
|
||||||
<div class="table-box">
|
<div class="table-box">
|
||||||
<el-table
|
<el-table
|
||||||
:data="orderList"
|
:data="orderList"
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
<div style="margin-right: 40px">
|
<div style="margin-right: 40px">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="value1"
|
v-model="value1"
|
||||||
type="datetimerange"
|
type="daterange"
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
value-format="yyyy-MM-dd"
|
||||||
range-separator="至"
|
range-separator="至"
|
||||||
start-placeholder="开始日期"
|
start-placeholder="开始日期"
|
||||||
end-placeholder="结束日期"
|
end-placeholder="结束日期"
|
||||||
@ -123,7 +123,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right-box-t">
|
<div class="right-box-t">
|
||||||
<!-- <div class="h-tt" >硬件设备</div>-->
|
<!-- <div class="h-tt" >硬件设备</div>-->
|
||||||
<div class="title_">
|
<div class="title_" style="margin-top: -10px;">
|
||||||
<div>硬件设备</div>
|
<div>硬件设备</div>
|
||||||
<div style="font-size: 12px;color: #BBBBBB;display: flex;align-items: center">
|
<div style="font-size: 12px;color: #BBBBBB;display: flex;align-items: center">
|
||||||
<el-popover
|
<el-popover
|
||||||
@ -147,7 +147,7 @@
|
|||||||
<div class="r-img">
|
<div class="r-img">
|
||||||
<img :src="imagePath + item.image" style="width: 84px;height: 70px">
|
<img :src="imagePath + item.image" style="width: 84px;height: 70px">
|
||||||
</div>
|
</div>
|
||||||
<div>{{ item.name }}</div>
|
<div style="font-size: 14px;">{{ item.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -161,9 +161,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="value2"
|
v-model="value2"
|
||||||
type="datetimerange"
|
type="daterange"
|
||||||
range-separator="至"
|
range-separator="至"
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
value-format="yyyy-MM-dd"
|
||||||
start-placeholder="开始日期"
|
start-placeholder="开始日期"
|
||||||
end-placeholder="结束日期"
|
end-placeholder="结束日期"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
@ -258,7 +258,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
goRoute(){
|
goRoute(){
|
||||||
this.$router.push("system/notify/index")
|
this.$router.push("system/notify/page/getNotify")
|
||||||
},
|
},
|
||||||
getNoticeList(){
|
getNoticeList(){
|
||||||
getNotificationlogList({pageNo: 1, pageSize: 4,sentTo:this.accountId}).then(res => {
|
getNotificationlogList({pageNo: 1, pageSize: 4,sentTo:this.accountId}).then(res => {
|
||||||
@ -775,7 +775,7 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.r-size{
|
.r-size{
|
||||||
font-size: 14px;
|
font-size: 16px;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
.title_{
|
.title_{
|
||||||
|
Loading…
Reference in New Issue
Block a user