Compare commits
15 Commits
1a61692803
...
6c11e4a4d7
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c11e4a4d7 | |||
| e7fca62c03 | |||
|
|
8e02a1240e | ||
|
|
b3991ebba0 | ||
| 1c9d822b2a | |||
|
|
0752af5887 | ||
| f4d26f411c | |||
| d7cd8533c1 | |||
| 08890f25ac | |||
| c2be494202 | |||
|
|
1ac4ace5c7 | ||
| 380c07fd79 | |||
| 37932ba640 | |||
|
|
641559b0b1 | ||
|
|
c1221ce4c9 |
@@ -1,6 +1,6 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
var service_name = 'xkhl-finance'
|
var service_name = 'xkhl-finance'
|
||||||
var group_name = 'OilCustomerInvoicRecord'
|
var group_name = 'saasCustomerInvoicRecord'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
fuyous(){
|
fuyous(){
|
||||||
@@ -18,14 +18,14 @@ export default {
|
|||||||
},
|
},
|
||||||
getInfo(id) { // 根据id查询
|
getInfo(id) { // 根据id查询
|
||||||
return request({
|
return request({
|
||||||
url: `/${service_name}/${group_name}/getInfo/${id}`,
|
url: `/${service_name}/saasCustomerInvoicRecord/getInfo/${id}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
save(oilCustomerInvoicRecord) { // 保存
|
save(oilCustomerInvoicRecord) { // 保存
|
||||||
return request({
|
return request({
|
||||||
url: `/${service_name}/${group_name}/save`,
|
url: `/${service_name}/saasCustomerInvoicRecord/save`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: oilCustomerInvoicRecord
|
data: oilCustomerInvoicRecord
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ var group_name = 'oilOrderInfo'
|
|||||||
export default {
|
export default {
|
||||||
getStatisticalReportByPage(data) {
|
getStatisticalReportByPage(data) {
|
||||||
return request({
|
return request({
|
||||||
url: `/${service_name}/${group_name}/getStatisticalReportByPage`,
|
url: `/xkhl-site/saasBOrderInfo/getStatisticalReportByPage`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data:data
|
data:data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getAccountTypeByCompanyId(data) {
|
getAccountTypeByCompanyId(data) {
|
||||||
return request({
|
return request({
|
||||||
url: `/${service_name}/${group_name}/getAccountTypeByCompanyId`,
|
url: `/xkhl-site/saasBOrderInfo/getAccountTypeByCompanyId`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data:data
|
data:data
|
||||||
})
|
})
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 472 KiB After Width: | Height: | Size: 152 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 7.1 KiB |
34
src/components/generalDetails/README.md
Normal file
34
src/components/generalDetails/README.md
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
组件 参数
|
||||||
|
sourceData : 数据源 类型:对象 {}
|
||||||
|
mappingData:映射表 类型:数组 []
|
||||||
|
isHeader:是否需要标题 默认为false 类型:布尔
|
||||||
|
title:详情标题 默认为 默认详情头 类型:字符串
|
||||||
|
|
||||||
|
|
||||||
|
mappingData 示例
|
||||||
|
[
|
||||||
|
{ //第一层 为卡片
|
||||||
|
carTitle://卡片标题
|
||||||
|
iconClass://图标名
|
||||||
|
isFold:是否可折叠
|
||||||
|
carItems:[
|
||||||
|
{
|
||||||
|
label:名称
|
||||||
|
value:显示的值 支持 string(相对相应的字段) array( 支持嵌套字段如['a','b'],实际为sourceData.a.b) functoin(接收一个参数为当前数据源,需返回一个字符串类型的值)
|
||||||
|
fieldDefault:默认值 value没有数据的时候现实的值
|
||||||
|
remark:备注
|
||||||
|
isCopy::是否可复制
|
||||||
|
field:字段
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
插槽模式 slot
|
||||||
|
header 整个组件的头部
|
||||||
|
field 每个字段都可以使用插槽自定义 插槽名称为相对应的字段
|
||||||
|
index card_bottom 每张卡片都有相对应的底部 index为索引
|
||||||
|
footer 整个组件的底部
|
||||||
|
index_car 整张卡片的插槽名称 index为卡片索引
|
||||||
|
#4_car="data" 将返回 当前卡片对象对应的值
|
||||||
|
|
||||||
@@ -9,9 +9,9 @@
|
|||||||
<slot name="title_bottom"></slot>
|
<slot name="title_bottom"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="generalDetails_card_container">
|
<div class="generalDetails_card_container">
|
||||||
<div v-for="(item, index) in dataPage" :key="index">
|
<div name v-for="(item, index) in dataPage" :key="index">
|
||||||
<el-card class="generalDetails_card">
|
<el-card class="generalDetails_card">
|
||||||
<div @click="isShow(item)" class="generalDetails_card_header" slot="header">
|
<div @click="isShow(item)" class="generalDetails_card_header" slot="header">
|
||||||
<div>
|
<div>
|
||||||
<span class="generalDetails-card-header-icon">
|
<span class="generalDetails-card-header-icon">
|
||||||
<svg-icon style="color: #118dde" :icon-class="item.iconClass" />
|
<svg-icon style="color: #118dde" :icon-class="item.iconClass" />
|
||||||
@@ -19,30 +19,37 @@
|
|||||||
<span class="generalDetails-card-header-text">{{ item.title }}</span>
|
<span class="generalDetails-card-header-text">{{ item.title }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="fold">
|
<div class="fold">
|
||||||
<i :style="{ transform: `rotate(${item.isFold ? 0 : 180}deg)` }"
|
<i
|
||||||
class="el-icon-arrow-down generalDetails_card_arrow_down"></i>
|
:style="{
|
||||||
|
transform: `rotate(${item.isFold ? 0 : 180}deg)`
|
||||||
|
}"
|
||||||
|
class="el-icon-arrow-down generalDetails_card_arrow_down"
|
||||||
|
></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div :style="{ maxHeight: item.isFold ? '100vh' : '0px' }" class="my-cell">
|
<slot :name="`${index}_car`" :item="item">
|
||||||
<div v-for="(i, x) in item.listData " :key="x" class="cell-item">
|
<div :style="{ maxHeight: item.isFold ? '100vh' : '0px' }" class="my-cell">
|
||||||
<span :title="i.remark" class="color-999 test-tst">
|
<div v-for="(i, x) in item.listData" :key="x" class="cell-item">
|
||||||
{{ i.label }}
|
<span :title="i.remark" class="color-999 test-tst">
|
||||||
<i v-if="i.remark" class="header-icon el-icon-info"></i>
|
{{ i.label }}
|
||||||
<i @click="isCopy(i.value, $event)" v-if="i.isCopy" class="el-icon-document-copy"></i>
|
<i v-if="i.remark" class="header-icon el-icon-info"></i>
|
||||||
</span>
|
<i @click="isCopy(i.value, $event)" v-if="i.isCopy" class="el-icon-document-copy"></i>
|
||||||
<br />
|
</span>
|
||||||
<slot class="inner-data" :name="`${i.field}`">
|
<br />
|
||||||
<span class="inner-data">{{ i.value }}</span>
|
<slot class="inner-data" :name="`${i.field}`">
|
||||||
</slot>
|
<span class="inner-data">{{ i.value }}</span>
|
||||||
|
</slot>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</slot>
|
||||||
</el-card>
|
</el-card>
|
||||||
<div>
|
<div >
|
||||||
<slot :name="`${index}card_bottom`"></slot>
|
<slot :name="`${index}card_bottom`"></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="generalDetails_footer">
|
<div class="generalDetails_footer">
|
||||||
|
|
||||||
<slot name="footer">
|
<slot name="footer">
|
||||||
<el-button @click="close" type="primary" :size="$store.getters.size">关闭</el-button>
|
<el-button @click="close" type="primary" :size="$store.getters.size">关闭</el-button>
|
||||||
</slot>
|
</slot>
|
||||||
@@ -78,8 +85,10 @@ export default {
|
|||||||
dataPage: []
|
dataPage: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
(this.sourceData !== null) && (this.mappingData.length !== 0) && (this.init())
|
console.log('created')
|
||||||
|
this.sourceData !== null && this.mappingData.length !== 0 && this.init()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
isShow(item) {
|
isShow(item) {
|
||||||
@@ -100,14 +109,32 @@ export default {
|
|||||||
listData: item.carItems.map((carItem, index) => {
|
listData: item.carItems.map((carItem, index) => {
|
||||||
return {
|
return {
|
||||||
label: carItem.label,
|
label: carItem.label,
|
||||||
value: (typeof carItem.value =='function')&&(carItem.value(this.sourceData)) || this.sourceData[carItem.value] || carItem.fieldDefault || '暂无数据',
|
value:
|
||||||
|
(typeof carItem.value == 'function' && carItem.value(this.sourceData)) ||
|
||||||
|
(Array.isArray(carItem.value) &&
|
||||||
|
carItem.value.reduce((prev, current, index, _arr) =>
|
||||||
|
index == 1
|
||||||
|
? this.sourceData[prev]
|
||||||
|
? this.sourceData[prev][current] !== null && this.sourceData[prev][current] !== undefined
|
||||||
|
? this.sourceData[prev][current]
|
||||||
|
: '暂无数据'
|
||||||
|
: '暂无数据'
|
||||||
|
: typeof prev == 'object'
|
||||||
|
? prev[current]
|
||||||
|
: prev
|
||||||
|
)) ||
|
||||||
|
(this.sourceData[carItem.value] !== null && this.sourceData[carItem.value] !== undefined
|
||||||
|
? String(this.sourceData[carItem.value])
|
||||||
|
: false) ||
|
||||||
|
carItem.fieldDefault ||
|
||||||
|
'暂无数据',
|
||||||
field: carItem.value,
|
field: carItem.value,
|
||||||
remark: carItem.remark,
|
remark: carItem.remark,
|
||||||
isCopy: carItem.isCopy || false
|
isCopy: carItem.isCopy || false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
console.log(this.dataPage)
|
console.log(this.dataPage)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -115,9 +142,10 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.title_bottom{
|
.title_bottom {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fold {
|
.fold {
|
||||||
/* position: absolute;
|
/* position: absolute;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
@@ -130,7 +158,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.generalDetails_card_arrow_down {
|
.generalDetails_card_arrow_down {
|
||||||
transition: all .9s;
|
transition: all 0.9s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.generalDetails_card_header {
|
.generalDetails_card_header {
|
||||||
@@ -156,7 +184,7 @@ title {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: all .9s;
|
transition: all 0.9s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-999 {
|
.color-999 {
|
||||||
@@ -196,6 +224,7 @@ title {
|
|||||||
padding: 15px 20px;
|
padding: 15px 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-top: solid 1px #e5e5e5;
|
border-top: solid 1px #e5e5e5;
|
||||||
|
z-index: 999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.generalDetails_header {
|
.generalDetails_header {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div style="padding: 20px;">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
|
|||||||
@@ -129,7 +129,7 @@
|
|||||||
:size="$store.getters.size"
|
:size="$store.getters.size"
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleDetail(scope.row.id)"
|
@click="handleDetail(scope.row.id)"
|
||||||
><svg-icon icon-class="iconxiangqing1" /> 操作</el-button
|
><svg-icon icon-class="iconxiangqing1" /> 详情</el-button
|
||||||
>
|
>
|
||||||
<el-dropdown>
|
<el-dropdown>
|
||||||
<el-button type="text">
|
<el-button type="text">
|
||||||
@@ -171,14 +171,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</ListLayout>
|
</ListLayout>
|
||||||
|
|
||||||
<!-- 修改密码弹窗 -->
|
<!-- 修改密码抽屉 -->
|
||||||
<el-dialog
|
<el-drawer
|
||||||
v-el-drag-dialog
|
|
||||||
destroy-on-close
|
|
||||||
title="修改密码"
|
title="修改密码"
|
||||||
|
class="table-detail-drawer"
|
||||||
:visible.sync="updatePwdDialog"
|
:visible.sync="updatePwdDialog"
|
||||||
width="55%"
|
direction="ltr"
|
||||||
|
size="55%"
|
||||||
>
|
>
|
||||||
|
<div style="padding: 20px;">
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="updatePwd"
|
:model="updatePwd"
|
||||||
@@ -193,18 +194,20 @@
|
|||||||
<el-button @click="updatePwdDialog = false;">取消</el-button>
|
<el-button @click="updatePwdDialog = false;">取消</el-button>
|
||||||
<el-button type="primary" @click="updatePwdSubmit">提交</el-button>
|
<el-button type="primary" @click="updatePwdSubmit">提交</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</div>>
|
||||||
|
</el-drawer>
|
||||||
|
|
||||||
<!-- 添加弹窗 -->
|
<!-- 添加抽屉 -->
|
||||||
<el-dialog
|
<el-drawer
|
||||||
v-el-drag-dialog
|
|
||||||
destroy-on-close
|
|
||||||
title="添加"
|
title="添加"
|
||||||
|
class="table-detail-drawer"
|
||||||
:visible.sync="addDialog"
|
:visible.sync="addDialog"
|
||||||
width="55%"
|
direction="ltr"
|
||||||
|
size="55%"
|
||||||
>
|
>
|
||||||
<SysCustomerInfoAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
<SysCustomerInfoAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
||||||
</el-dialog>
|
</el-drawer>
|
||||||
|
|
||||||
|
|
||||||
<!-- 导出弹窗 -->
|
<!-- 导出弹窗 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@@ -232,20 +235,22 @@
|
|||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 修改弹窗 -->
|
<!-- 修改抽屉 -->
|
||||||
<el-dialog
|
<el-drawer
|
||||||
destroy-on-close
|
|
||||||
title="修改"
|
title="修改"
|
||||||
|
class="table-detail-drawer"
|
||||||
:visible.sync="updateDialog"
|
:visible.sync="updateDialog"
|
||||||
width="55%"
|
direction="ltr"
|
||||||
|
size="55%"
|
||||||
>
|
>
|
||||||
<SysCustomerInfoUpdate
|
<SysCustomerInfoUpdate
|
||||||
v-if="updateDialog"
|
v-if="updateDialog"
|
||||||
:sys-customer-info="sysCustomerInfo"
|
:sys-customer-info="sysCustomerInfo"
|
||||||
@getByPage="getByPage"
|
@getByPage="getByPage"
|
||||||
@closeDialog="closeDialog"
|
@closeDialog="closeDialog"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-drawer>
|
||||||
|
|
||||||
|
|
||||||
<!-- 详情抽屉 -->
|
<!-- 详情抽屉 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
@@ -253,7 +258,7 @@
|
|||||||
class="table-detail-drawer"
|
class="table-detail-drawer"
|
||||||
:visible.sync="showTableDrawer"
|
:visible.sync="showTableDrawer"
|
||||||
direction="ltr"
|
direction="ltr"
|
||||||
size="80%"
|
size="55%"
|
||||||
>
|
>
|
||||||
<SysCustomerInfoInfo
|
<SysCustomerInfoInfo
|
||||||
v-if="showTableDrawer"
|
v-if="showTableDrawer"
|
||||||
@@ -623,8 +628,8 @@ export default {
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.table-div >>> .header-container {
|
.table-div >>> .header-container {
|
||||||
position: sticky;
|
/* position: sticky;
|
||||||
top: 0rem;
|
top: 0rem; */
|
||||||
min-height: 152px;
|
min-height: 152px;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div style="padding: 20px;">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
label-width="100px"
|
label-width="100px"
|
||||||
:size="$store.getters.size"
|
:size="$store.getters.size"
|
||||||
>
|
>
|
||||||
<el-card class="box-card">
|
<el-card class="box-card" style="margin: 0 20px;">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>车辆基础信息</span>
|
<span>车辆基础信息</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
<el-col />
|
<el-col />
|
||||||
</el-row> -->
|
</el-row> -->
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-col :span="24" style="text-align: right">
|
<el-col :span="24" style="text-align: right;padding: 20px;">
|
||||||
<el-button @click="close">取消</el-button>
|
<el-button @click="close">取消</el-button>
|
||||||
<el-button type="primary" @click="submit">提交</el-button>
|
<el-button type="primary" @click="submit">提交</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
@@ -190,25 +190,27 @@
|
|||||||
v-el-drag-dialog
|
v-el-drag-dialog
|
||||||
title="添加"
|
title="添加"
|
||||||
:visible.sync="addDialog"
|
:visible.sync="addDialog"
|
||||||
size="60%"
|
size="55%"
|
||||||
direction="ltr"
|
direction="ltr"
|
||||||
destroy-on-close
|
destroy-on-close
|
||||||
>
|
>
|
||||||
<OilVehicleOwnerAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
<OilVehicleOwnerAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
|
||||||
<!-- 导出弹窗 -->
|
<!-- 导出抽屉 -->
|
||||||
<el-dialog
|
<el-drawer
|
||||||
v-el-drag-dialog
|
v-el-drag-dialog
|
||||||
title="导出"
|
title="导出"
|
||||||
:visible.sync="outPutDialog"
|
:visible.sync="outPutDialog"
|
||||||
width="55%"
|
size="55%"
|
||||||
|
direction="ltr"
|
||||||
|
destroy-on-close
|
||||||
>
|
>
|
||||||
<OilVehicleOwnerOutput
|
<OilVehicleOwnerOutput
|
||||||
@getByPage="getByPage"
|
@getByPage="getByPage"
|
||||||
@closeDialog="closeDialog"
|
@closeDialog="closeDialog"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-drawer>
|
||||||
|
|
||||||
<!-- 导入弹窗 -->
|
<!-- 导入弹窗 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@@ -223,12 +225,12 @@
|
|||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 修改弹窗 -->
|
<!-- 修改抽屉 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
v-el-drag-dialog
|
v-el-drag-dialog
|
||||||
title="修改"
|
title="修改"
|
||||||
:visible.sync="updateDialog"
|
:visible.sync="updateDialog"
|
||||||
size="60%"
|
size="55%"
|
||||||
direction="ltr"
|
direction="ltr"
|
||||||
destroy-on-close
|
destroy-on-close
|
||||||
>
|
>
|
||||||
@@ -246,7 +248,7 @@
|
|||||||
class="table-detail-drawer"
|
class="table-detail-drawer"
|
||||||
:visible.sync="showTableDrawer"
|
:visible.sync="showTableDrawer"
|
||||||
direction="ltr"
|
direction="ltr"
|
||||||
size="50%"
|
size="55%"
|
||||||
:withHeader="false"
|
:withHeader="false"
|
||||||
>
|
>
|
||||||
<general-details
|
<general-details
|
||||||
@@ -669,8 +671,8 @@ export default {
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.table-div >>> .header-container {
|
.table-div >>> .header-container {
|
||||||
position: sticky;
|
/* position: sticky;
|
||||||
top: 0rem;
|
top: 0rem; */
|
||||||
min-height: 152px;
|
min-height: 152px;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div style="padding: 20px;">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form :model="data" label-width="100px" :size="$store.getters.size">
|
<el-form :model="data" label-width="100px" :size="$store.getters.size">
|
||||||
<el-row :gutter="gridNum.row.gutter">
|
<el-row :gutter="gridNum.row.gutter">
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
label-width="100px"
|
label-width="100px"
|
||||||
:size="$store.getters.size"
|
:size="$store.getters.size"
|
||||||
>
|
>
|
||||||
<el-card class="box-card">
|
<el-card class="box-card" style="margin: 0 20px;">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>车辆基础信息</span>
|
<span>车辆基础信息</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
<el-col />
|
<el-col />
|
||||||
</el-row> -->
|
</el-row> -->
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-col :span="24" style="text-align: right">
|
<el-col :span="24" style="text-align: right;padding: 20px;;">
|
||||||
<el-button @click="close">取消</el-button>
|
<el-button @click="close">取消</el-button>
|
||||||
<el-button type="primary" @click="submit">提交</el-button>
|
<el-button type="primary" @click="submit">提交</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div style="padding: 20px;">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form :model="oilCompanyMatch" label-width="140px" :rules="ruleForm" ref="ruleForm" :size="$store.getters.size">
|
<el-form :model="oilCompanyMatch" label-width="140px" :rules="ruleForm" ref="ruleForm" :size="$store.getters.size">
|
||||||
<el-row :gutter="gridNum.row.gutter">
|
<el-row :gutter="gridNum.row.gutter">
|
||||||
|
|||||||
@@ -178,23 +178,24 @@
|
|||||||
</div>
|
</div>
|
||||||
</ListLayout>
|
</ListLayout>
|
||||||
|
|
||||||
<!-- 添加弹窗 -->
|
<!-- 添加抽屉 -->
|
||||||
<el-dialog
|
<el-drawer
|
||||||
v-el-drag-dialog
|
|
||||||
title="添加"
|
title="添加"
|
||||||
|
class="table-detail-drawer"
|
||||||
:visible.sync="addDialog"
|
:visible.sync="addDialog"
|
||||||
width="55%"
|
direction="ltr"
|
||||||
v-if="addDialog"
|
size="60%"
|
||||||
>
|
>
|
||||||
<OilCompanyMatchAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
<OilCompanyMatchAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
||||||
</el-dialog>
|
</el-drawer>
|
||||||
|
|
||||||
|
|
||||||
<!-- 导出弹窗 -->
|
<!-- 导出弹窗 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
v-el-drag-dialog
|
v-el-drag-dialog
|
||||||
title="导出"
|
title="导出"
|
||||||
:visible.sync="outPutDialog"
|
:visible.sync="outPutDialog"
|
||||||
width="55%"
|
width="60%"
|
||||||
>
|
>
|
||||||
<OilCompanyMatchOutput
|
<OilCompanyMatchOutput
|
||||||
@getByPage="getByPage"
|
@getByPage="getByPage"
|
||||||
@@ -207,7 +208,7 @@
|
|||||||
v-el-drag-dialog
|
v-el-drag-dialog
|
||||||
title="导入"
|
title="导入"
|
||||||
:visible.sync="importDialog"
|
:visible.sync="importDialog"
|
||||||
width="55%"
|
width="60%"
|
||||||
>
|
>
|
||||||
<OilCompanyMatchImport
|
<OilCompanyMatchImport
|
||||||
@getByPage="getByPage"
|
@getByPage="getByPage"
|
||||||
@@ -215,28 +216,29 @@
|
|||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 修改弹窗 -->
|
<!-- 修改抽屉 -->
|
||||||
<el-dialog
|
<el-drawer
|
||||||
v-el-drag-dialog
|
|
||||||
title="修改"
|
title="修改"
|
||||||
|
class="table-detail-drawer"
|
||||||
:visible.sync="updateDialog"
|
:visible.sync="updateDialog"
|
||||||
width="55%"
|
direction="ltr"
|
||||||
v-if="addDialog"
|
size="60%"
|
||||||
>
|
>
|
||||||
<OilCompanyMatchUpdate
|
<OilCompanyMatchUpdate
|
||||||
v-if="updateDialog"
|
v-if="updateDialog"
|
||||||
:oil-company-match="oilCompanyMatch"
|
:oil-company-match="oilCompanyMatch"
|
||||||
@getByPage="getByPage"
|
@getByPage="getByPage"
|
||||||
@closeDialog="closeDialog"
|
@closeDialog="closeDialog"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-drawer>
|
||||||
|
|
||||||
|
|
||||||
<!-- 详情抽屉 -->
|
<!-- 详情抽屉 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="详情"
|
title="详情"
|
||||||
class="table-detail-drawer"
|
class="table-detail-drawer"
|
||||||
:visible.sync="showTableDrawer"
|
:visible.sync="showTableDrawer"
|
||||||
size="55%"
|
size="60%"
|
||||||
direction="ltr"
|
direction="ltr"
|
||||||
:withHeader="false"
|
:withHeader="false"
|
||||||
>
|
>
|
||||||
@@ -752,8 +754,8 @@ export default {
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.table-div >>> .header-container {
|
.table-div >>> .header-container {
|
||||||
position: sticky;
|
/* position: sticky;
|
||||||
top: 0rem;
|
top: 0rem; */
|
||||||
min-height: 152px;
|
min-height: 152px;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div style="padding: 20px;">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form :model="oilCompanyMatch" :rules="ruleForm" ref="ruleForm" label-width="140px" :size="$store.getters.size">
|
<el-form :model="oilCompanyMatch" :rules="ruleForm" ref="ruleForm" label-width="140px" :size="$store.getters.size">
|
||||||
<el-row :gutter="gridNum.row.gutter">
|
<el-row :gutter="gridNum.row.gutter">
|
||||||
|
|||||||
@@ -588,8 +588,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table-div>>>.header-container {
|
.table-div>>>.header-container {
|
||||||
position: sticky;
|
/* position: sticky;
|
||||||
top: 0rem;
|
top: 0rem; */
|
||||||
min-height: 152px;
|
min-height: 152px;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -772,8 +772,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table-div>>>.header-container {
|
.table-div>>>.header-container {
|
||||||
position: sticky;
|
/* position: sticky;
|
||||||
top: 0rem;
|
top: 0rem; */
|
||||||
min-height: 152px;
|
min-height: 152px;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -116,8 +116,8 @@
|
|||||||
|
|
||||||
<div style="float: right;">
|
<div style="float: right;">
|
||||||
<el-button @click="$emit('close')">取消</el-button>
|
<el-button @click="$emit('close')">取消</el-button>
|
||||||
<el-button @click="update">修改</el-button>
|
<el-button @click="update">提交</el-button>
|
||||||
<el-button type="primary" @click="updateAndAudit">修改并审核</el-button>
|
<el-button type="primary" @click="updateAndAudit">提交并审核</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<el-col :span="9">
|
<el-col :span="9">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<gl-date-time-picker v-model="page.params.createTime" style="width: 131%" msg="创建时间"
|
<gl-date-time-picker v-model="page.params.createTime" style="width: 134%" msg="创建时间"
|
||||||
@keyup.enter.native="getByPage" />
|
@keyup.enter.native="getByPage" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
<el-col :span="1">
|
<el-col :span="1">
|
||||||
<el-button type="primary" :size="$store.getters.size" icon="el-icon-plus"
|
<el-button type="primary" :size="$store.getters.size" icon="el-icon-plus"
|
||||||
@click="addRecordDialog = true">
|
@click="addRecordDialog = true">
|
||||||
新增</el-button>
|
添加</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="23">
|
<el-col :span="23">
|
||||||
<el-button type="primary" :size="$store.getters.size" icon="el-icon-search" @click="getByPage">查询
|
<el-button type="primary" :size="$store.getters.size" icon="el-icon-search" @click="getByPage">查询
|
||||||
|
|||||||
@@ -103,7 +103,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<div style="float: right;">
|
<div style="float: right;">
|
||||||
<el-button @click="$emit('close')">取消</el-button>
|
<el-button @click="$emit('close')">取消</el-button>
|
||||||
<el-button type="primary" @click="add()">新增</el-button>
|
<el-button type="primary" @click="add()">提交</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
html {
|
html {
|
||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
}
|
}
|
||||||
/* iPhone6的375px尺寸作为16px基准,414px正好18px大小,600 20px */
|
|
||||||
|
/* iPhone6的375px尺寸作为16px基准,414px正好18px大小,600 20px */
|
||||||
/* @media screen and (min-width:375px) {
|
/* @media screen and (min-width:375px) {
|
||||||
html {
|
html {
|
||||||
font-size: calc(100% + 2 * (100vw - 375px) / 39);
|
font-size: calc(100% + 2 * (100vw - 375px) / 39);
|
||||||
@@ -43,29 +44,44 @@ html {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-size: calc(100vw - 25.5rem) 100%;
|
/* background-size: calc(100vw - 25.5rem) 100%; */
|
||||||
background-repeat: no-repeat;
|
/* background-repeat: no-repeat; */
|
||||||
background-position: right;
|
/* background-position: right; */
|
||||||
background-origin: border-box;
|
/* background-origin: border-box; */
|
||||||
background-attachment: fixed;
|
/* background-attachment: fixed; */
|
||||||
animation: start .5s;
|
animation: start .5s;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
background-image: url('../../../assets/img/login/bg@2x.png') !important;
|
/* background-image: url('../../../assets/img/login/bg@2x.png') !important; */
|
||||||
|
background: linear-gradient(to right, #D3DFFB, #FFFFFF, #F0FBFE);
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newlogin_container_tb img {
|
||||||
|
width: 554px;
|
||||||
|
height: 554px;
|
||||||
|
margin-right: 234px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_login_container {
|
.newlogin_login_container {
|
||||||
height: 100%;
|
/* height: 100%;
|
||||||
width: 100%;
|
width: 100%; */
|
||||||
padding: 5.7rem 0 0 5.7rem;
|
/* padding: 5.7rem 0 0 5.7rem; */
|
||||||
animation: move 1s;
|
animation: move 1s;
|
||||||
/* animation-delay:1s;
|
/* animation-delay:1s;
|
||||||
-webkit-animation-delay:1s; */
|
-webkit-animation-delay:1s; */
|
||||||
|
box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.1);
|
||||||
|
border-radius: 8px 8px 8px 8px;
|
||||||
|
opacity: 1;
|
||||||
|
padding: 52px 80px 94px 80px;
|
||||||
|
/* width: 460px; */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_login_logo {
|
.newlogin_login_logo {
|
||||||
width: 10.8rem;
|
width: 147px;
|
||||||
height: 3.672rem;
|
height: 46px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_login_logo img {
|
.newlogin_login_logo img {
|
||||||
@@ -74,7 +90,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_login_title {
|
.newlogin_login_title {
|
||||||
color: #1767F9;
|
color: #000000;
|
||||||
font-size: 1.45rem;
|
font-size: 1.45rem;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
@@ -85,14 +101,14 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_container .el-input {
|
.newlogin_container .el-input {
|
||||||
box-shadow: 0px 0px 6px 0px rgba(7, 0, 2, 0.2) !important;
|
/* box-shadow: 0px 0px 6px 0px rgba(7, 0, 2, 0.2) !important; */
|
||||||
border-radius: 36px;
|
/* border-radius: 36px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_container .el-input__inner {
|
.newlogin_container .el-input__inner {
|
||||||
border: 0px !important;
|
border: 0px !important;
|
||||||
padding-left: 50px !important;
|
padding-left: 50px !important;
|
||||||
border-radius: 36px;
|
/* border-radius: 36px; */
|
||||||
height: 2.6rem !important;
|
height: 2.6rem !important;
|
||||||
font-size: .8rem !important;
|
font-size: .8rem !important;
|
||||||
padding-right: 50px !important;
|
padding-right: 50px !important;
|
||||||
@@ -100,7 +116,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_container .el-form-item__content .el-input {
|
.newlogin_container .el-form-item__content .el-input {
|
||||||
box-shadow: 0px 0px 6px 0px rgba(7, 0, 2, 0.2) !important;
|
/* box-shadow: 0px 0px 6px 0px rgba(7, 0, 2, 0.2) !important; */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,8 +128,9 @@ html {
|
|||||||
|
|
||||||
.newlogin_login_from_butten {
|
.newlogin_login_from_butten {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 36px;
|
/* border-radius: 36px; */
|
||||||
font-size: 1.16rem;
|
font-size: 14px;
|
||||||
|
background-color: #409EFF !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_container .el-form-item {
|
.newlogin_container .el-form-item {
|
||||||
@@ -133,12 +150,14 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_container .el-button--primary {
|
.newlogin_container .el-button--primary {
|
||||||
background: linear-gradient(to right, #1767F9, #4883ED);
|
background-color: #409EFF !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.newlogin_container .el-button--primary:hover,
|
.newlogin_container .el-button--primary:hover,
|
||||||
.newlogin_container .el-button--primary:focus {
|
.newlogin_container .el-button--primary:focus {
|
||||||
background: linear-gradient(to right, #1767F9, #4883ED);
|
background-color: #409EFF !important;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -166,7 +185,7 @@ html {
|
|||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
color: #1767F9;
|
color: #1767F9;
|
||||||
cursor:default
|
cursor: default
|
||||||
}
|
}
|
||||||
|
|
||||||
.verifyCode .el-input__inner {
|
.verifyCode .el-input__inner {
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-loading="this.$store.getters.loading" class="newlogin_container">
|
<div v-loading="this.$store.getters.loading" class="newlogin_container">
|
||||||
|
<div class="newlogin_container_tb">
|
||||||
|
<img style="" src="../../assets/img/login/img.png" alt="" />
|
||||||
|
</div>
|
||||||
<div class="newlogin_login_container">
|
<div class="newlogin_login_container">
|
||||||
<div class="newlogin_login_logo">
|
<div class="newlogin_login_logo">
|
||||||
<img style="" src="../../assets/img/login/logo.png" alt="" />
|
<img style="" src="../../assets/img/login/logo.png" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div class="newlogin_login_title">星油能源调度管理平台</div>
|
<div class="newlogin_login_title">欢迎使用中品调度管理平台</div>
|
||||||
<div class="newlogin_login_from_container">
|
<div class="newlogin_login_from_container">
|
||||||
<el-form ref="form" :model="loginForm">
|
<el-form ref="form" :model="loginForm">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
|
|||||||
@@ -102,6 +102,7 @@
|
|||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="page.params.createTime"
|
v-model="page.params.createTime"
|
||||||
type="datetimerange"
|
type="datetimerange"
|
||||||
|
style="width: 105%"
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
value-format="yyyy-MM-dd HH:mm:ss"
|
||||||
range-separator="~"
|
range-separator="~"
|
||||||
start-placeholder="开始时间"
|
start-placeholder="开始时间"
|
||||||
@@ -120,14 +121,15 @@
|
|||||||
:size="$store.getters.size"
|
:size="$store.getters.size"
|
||||||
icon="el-icon-search"
|
icon="el-icon-search"
|
||||||
@click="search"
|
@click="search"
|
||||||
> 查询
|
>查询
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
|
type="info"
|
||||||
:size="$store.getters.size"
|
:size="$store.getters.size"
|
||||||
icon="el-icon-refresh"
|
icon="el-icon-refresh"
|
||||||
@click="page.params = {}"
|
@click="page.params = {}"
|
||||||
>
|
>
|
||||||
重置
|
重置
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
<el-button class="group-item" :size="$store.getters.size" type="success" @click="piliangAdd"><svg-icon
|
<el-button class="group-item" :size="$store.getters.size" type="success" @click="piliangAdd"><svg-icon
|
||||||
icon-class="iconiconfonticon02" /> 快速调价任务</el-button>
|
icon-class="iconiconfonticon02" /> 快速调价任务</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="8">
|
||||||
<el-button type="primary" :size="$store.getters.size" icon="el-icon-search" @click="search">查询</el-button>
|
<el-button type="primary" :size="$store.getters.size" icon="el-icon-search" @click="search">查询</el-button>
|
||||||
<el-button :size="$store.getters.size" icon="el-icon-refresh" type="info" @click="
|
<el-button :size="$store.getters.size" icon="el-icon-refresh" type="info" @click="
|
||||||
page.params = {}
|
page.params = {}
|
||||||
@@ -158,9 +158,10 @@
|
|||||||
<!-- 分页组件结束 -->
|
<!-- 分页组件结束 -->
|
||||||
</div>
|
</div>
|
||||||
</ListLayout>
|
</ListLayout>
|
||||||
<!-- 历史记录弹窗 -->
|
<!-- 历史记录抽屉 -->
|
||||||
<el-dialog v-el-drag-dialog title="变更历史" :visible.sync="showHistory" width="55%">
|
<el-drawer :withHeader="false" title="变更历史" :visible.sync="showHistory" direction="ltr" size="55%">
|
||||||
<el-table :data="historyData" style="width: 100%">
|
<div style="padding: 20px;">
|
||||||
|
<el-table :data="historyData" style="width: 100%" border>
|
||||||
<el-table-column prop="createTime" label="创建时间" />
|
<el-table-column prop="createTime" label="创建时间" />
|
||||||
|
|
||||||
<el-table-column prop="name" label="基础个人价">
|
<el-table-column prop="name" label="基础个人价">
|
||||||
@@ -196,7 +197,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-dialog>
|
</div>
|
||||||
|
</el-drawer>
|
||||||
|
|
||||||
<!-- 导出弹窗 -->
|
<!-- 导出弹窗 -->
|
||||||
<el-dialog v-el-drag-dialog title="导出" :visible.sync="outPutDialog" width="20%">
|
<el-dialog v-el-drag-dialog title="导出" :visible.sync="outPutDialog" width="20%">
|
||||||
<OilSiteOilsPriceOutput :page="page" :dataPage="dataPage" v-if="outPutDialog"
|
<OilSiteOilsPriceOutput :page="page" :dataPage="dataPage" v-if="outPutDialog"
|
||||||
|
|||||||
@@ -178,9 +178,6 @@
|
|||||||
<el-form-item label="赊销金额">
|
<el-form-item label="赊销金额">
|
||||||
<span> {{scope.row.chargeRechargeBalance|balanceType}}</span>
|
<span> {{scope.row.chargeRechargeBalance|balanceType}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="充返金额">
|
|
||||||
<span>{{scope.row.rechargeRebateBalance|balanceType}}</span>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="消返金额">
|
<el-form-item label="消返金额">
|
||||||
<span>{{scope.row.consumeRebateBalance|balanceType}}</span>
|
<span>{{scope.row.consumeRebateBalance|balanceType}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -192,9 +189,6 @@
|
|||||||
<el-form-item label="累计赊销金额">
|
<el-form-item label="累计赊销金额">
|
||||||
<span> {{dataListChild.sxje?dataListChild.sxje:'0.00'}}</span>
|
<span> {{dataListChild.sxje?dataListChild.sxje:'0.00'}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="累计充返金额">
|
|
||||||
<span>{{dataListChild.cfje?dataListChild.cfje:'0.00'}}</span>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="累计消返金额">
|
<el-form-item label="累计消返金额">
|
||||||
<span>{{dataListChild.xfje?dataListChild.xfje:'0.00'}}</span>
|
<span>{{dataListChild.xfje?dataListChild.xfje:'0.00'}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div style="padding: 20px;">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form ref="form" :rules="rules" :model="sysCustomerInfo" label-width="100px" :size="$store.getters.size">
|
<el-form ref="form" :rules="rules" :model="sysCustomerInfo" label-width="100px" :size="$store.getters.size">
|
||||||
<el-row :gutter="gridNum.row.gutter">
|
<el-row :gutter="gridNum.row.gutter">
|
||||||
|
|||||||
@@ -212,16 +212,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</ListLayout>
|
</ListLayout>
|
||||||
|
|
||||||
<!-- 修改密码弹窗 -->
|
<!-- 修改密码抽屉 -->
|
||||||
<el-dialog
|
<el-drawer
|
||||||
v-el-drag-dialog
|
|
||||||
destroy-on-close
|
|
||||||
title="修改密码"
|
title="修改密码"
|
||||||
|
class="table-detail-drawer"
|
||||||
:visible.sync="updatePwdDialog"
|
:visible.sync="updatePwdDialog"
|
||||||
@closeDialog="closeDialog"
|
direction="ltr"
|
||||||
width="55%"
|
size="55%"
|
||||||
:before-close="handleClose"
|
|
||||||
>
|
>
|
||||||
|
<div style="padding: 20px;">
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="updatePwd"
|
:model="updatePwd"
|
||||||
@@ -236,18 +235,20 @@
|
|||||||
<el-button @click="handleClose">取消</el-button>
|
<el-button @click="handleClose">取消</el-button>
|
||||||
<el-button type="primary" @click="updatePwdSubmit">提交</el-button>
|
<el-button type="primary" @click="updatePwdSubmit">提交</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</div>
|
||||||
|
|
||||||
<!-- 添加弹窗 -->
|
</el-drawer>
|
||||||
<el-dialog
|
|
||||||
v-el-drag-dialog
|
<!-- 添加抽屉 -->
|
||||||
destroy-on-close
|
<el-drawer
|
||||||
title="添加"
|
title="添加"
|
||||||
|
class="table-detail-drawer"
|
||||||
:visible.sync="addDialog"
|
:visible.sync="addDialog"
|
||||||
width="55%"
|
direction="ltr"
|
||||||
|
size="55%"
|
||||||
>
|
>
|
||||||
<SysCustomerInfoAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
<SysCustomerInfoAdd @getByPage="getByPage" @closeDialog="closeDialog" />
|
||||||
</el-dialog>
|
</el-drawer>
|
||||||
|
|
||||||
<!-- 登录授权弹窗 -->
|
<!-- 登录授权弹窗 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@@ -290,20 +291,22 @@
|
|||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 修改弹窗 -->
|
<!-- 修改抽屉 -->
|
||||||
<el-dialog
|
<el-drawer
|
||||||
destroy-on-close
|
|
||||||
title="修改"
|
title="修改"
|
||||||
|
class="table-detail-drawer"
|
||||||
:visible.sync="updateDialog"
|
:visible.sync="updateDialog"
|
||||||
width="55%"
|
direction="ltr"
|
||||||
|
size="55%"
|
||||||
>
|
>
|
||||||
<SysCustomerInfoUpdate
|
<SysCustomerInfoUpdate
|
||||||
v-if="updateDialog"
|
v-if="updateDialog"
|
||||||
:sys-customer-info="sysCustomerInfo"
|
:sys-customer-info="sysCustomerInfo"
|
||||||
@getByPage="getByPage"
|
@getByPage="getByPage"
|
||||||
@closeDialog="closeDialog"
|
@closeDialog="closeDialog"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-drawer>
|
||||||
|
|
||||||
|
|
||||||
<!-- 详情抽屉 -->
|
<!-- 详情抽屉 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
@@ -311,7 +314,7 @@
|
|||||||
class="table-detail-drawer"
|
class="table-detail-drawer"
|
||||||
:visible.sync="showTableDrawer"
|
:visible.sync="showTableDrawer"
|
||||||
direction="ltr"
|
direction="ltr"
|
||||||
size="50%"
|
size="55%"
|
||||||
>
|
>
|
||||||
<SysCustomerInfoInfo
|
<SysCustomerInfoInfo
|
||||||
v-if="showTableDrawer"
|
v-if="showTableDrawer"
|
||||||
@@ -703,8 +706,8 @@ export default {
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.table-div >>> .header-container {
|
.table-div >>> .header-container {
|
||||||
position: sticky;
|
/* position: sticky;
|
||||||
top: 0rem;
|
top: 0rem; */
|
||||||
min-height: 152px;
|
min-height: 152px;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div style="padding: 20px;">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form ref="form" :rules="rules" :model="sysCustomerInfo" label-width="100px" :size="$store.getters.size">
|
<el-form ref="form" :rules="rules" :model="sysCustomerInfo" label-width="100px" :size="$store.getters.size">
|
||||||
<el-row :gutter="gridNum.row.gutter">
|
<el-row :gutter="gridNum.row.gutter">
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ module.exports = {
|
|||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: "http://uat.xingoil.com/adminapi",
|
// target: "http://uat.xingoil.com/adminapi",
|
||||||
// target: 'https://www.xingoil.com/adminapi',
|
// target: 'https://www.xingoil.com/adminapi',
|
||||||
target: `http://192.168.0.22:38080`,
|
target: `http://192.168.0.27:38080`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user