|
@@ -29,8 +29,8 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span v-if="scope.row.lv === 3">
|
|
<span v-if="scope.row.lv === 3">
|
|
<el-date-picker v-if="checkPermi(['operation:recommend:time'])" v-model="scope.row.rsDates"
|
|
<el-date-picker v-if="checkPermi(['operation:recommend:time'])" v-model="scope.row.rsDates"
|
|
- type="datetimerange" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
- @change="getChange(scope.row)" />
|
|
|
|
|
|
+ popper-class="popper-class" type="datetimerange" start-placeholder="开始日期" end-placeholder="结束日期"
|
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss" @change="getChange(scope.row)" :clearable="false" />
|
|
<span v-else>{{ scope.row.rsDates[0] }} - {{ scope.row.rsDates[1] }}</span>
|
|
<span v-else>{{ scope.row.rsDates[0] }} - {{ scope.row.rsDates[1] }}</span>
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
@@ -337,4 +337,14 @@ export default {
|
|
checkPermi
|
|
checkPermi
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</script>
|
|
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<style lang="scss">
|
|
|
|
+.popper-class {
|
|
|
|
+ .el-picker-panel__footer {
|
|
|
|
+ button:first-child {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+</style>
|