This commit is contained in:
cun-nan 2024-03-07 10:36:05 +08:00
parent 9b38ea9a95
commit 6c039a70c4
2 changed files with 7 additions and 3 deletions

View File

@ -241,11 +241,12 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="时间范围" v-if="ruleForm.activeTime == 2" :label-width="formLabelWidth" prop="startTime"> <el-form-item label="时间范围" v-if="ruleForm.activeTime == 2" prop="startTime">
<div style="width: 100%;display: flex;align-items: center "> <div style="width: 100%;display: flex;align-items: center ">
<div style="width: 45%"> <div style="width: 45%">
<el-date-picker <el-date-picker
v-model="ruleForm.startTime" v-model="ruleForm.startTime"
value-format="yyyy-MM-dd HH:mm:ss"
type="datetime" type="datetime"
placeholder="开始日期"> placeholder="开始日期">
</el-date-picker> </el-date-picker>
@ -257,6 +258,7 @@
<div style="width: 45%"> <div style="width: 45%">
<el-date-picker <el-date-picker
v-model="ruleForm.endTime" v-model="ruleForm.endTime"
value-format="yyyy-MM-dd HH:mm:ss"
type="datetime" type="datetime"
placeholder="结束日期"> placeholder="结束日期">
</el-date-picker> </el-date-picker>
@ -466,6 +468,8 @@
} }
this.ruleForm.type = this.queryParams.type this.ruleForm.type = this.queryParams.type
this.ruleForm.status = '1' this.ruleForm.status = '1'
// this.ruleForm.startTime = this.ruleForm.startTime.toLocaleDateString()
// this.ruleForm.endTime = this.ruleForm.endTime.toLocaleDateString()
if( this.ruleForm.id ){ if( this.ruleForm.id ){
console.log("修改") console.log("修改")
eitList(this.ruleForm).then(res=>{ eitList(this.ruleForm).then(res=>{

View File

@ -76,7 +76,7 @@
</view> </view>
</view> --> </view> -->
<swiper class="swiper" style="width: 100%;height: 80px;" circular <swiper class="swiper" style="width: 100%;height: 70px;" circular
:autoplay="autoplay" :interval="interval" :vertical="true" :duration="duration"> :autoplay="autoplay" :interval="interval" :vertical="true" :duration="duration">
<swiper-item class="conttainer-box" v-for="(item,index) in oilTypeList" :key="index"> <swiper-item class="conttainer-box" v-for="(item,index) in oilTypeList" :key="index">
<view class="c-box-box1"> <view class="c-box-box1">
@ -162,7 +162,7 @@
chainStoreId: '', chainStoreId: '',
indicatorDots: true, indicatorDots: true,
autoplay: true, autoplay: true,
interval: 3000, interval: 3500,
duration: 500, duration: 500,
joinmsg: '', joinmsg: '',
msg: "1", msg: "1",