fix: CN-1575 修复element升级后报告功能异常的问题
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
:disabled-date="startDisabledDate"
|
:disabled-date="startDisabledDate"
|
||||||
@change="startTimeChang"
|
@change="startTimeChang"
|
||||||
prefix-icon="cn-icon cn-icon-shijian"
|
prefix-icon=""
|
||||||
type="datetime"
|
type="datetime"
|
||||||
placeholder=" "
|
placeholder=" "
|
||||||
/>
|
/>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
:disabled-date="endDisabledDate"
|
:disabled-date="endDisabledDate"
|
||||||
@change="endTimeChange"
|
@change="endTimeChange"
|
||||||
prefix-icon="cn-icon cn-icon-shijian"
|
prefix-icon=""
|
||||||
type="datetime"
|
type="datetime"
|
||||||
placeholder=" "
|
placeholder=" "
|
||||||
/>
|
/>
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
v-model="editObject.schedulerStart"
|
v-model="editObject.schedulerStart"
|
||||||
size="small"
|
size="small"
|
||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
prefix-icon="cn-icon cn-icon-shijian"
|
prefix-icon=""
|
||||||
type="datetime"
|
type="datetime"
|
||||||
placeholder=" "
|
placeholder=" "
|
||||||
/>
|
/>
|
||||||
@@ -204,7 +204,7 @@
|
|||||||
v-model="editObject.schedulerEnd"
|
v-model="editObject.schedulerEnd"
|
||||||
size="small"
|
size="small"
|
||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
prefix-icon="cn-icon cn-icon-shijian"
|
prefix-icon=""
|
||||||
type="datetime"
|
type="datetime"
|
||||||
placeholder=" "
|
placeholder=" "
|
||||||
/>
|
/>
|
||||||
@@ -414,6 +414,14 @@ export default {
|
|||||||
scheduleChecked (n) {
|
scheduleChecked (n) {
|
||||||
this.editObject.config.isScheduler = n ? 1 : 0
|
this.editObject.config.isScheduler = n ? 1 : 0
|
||||||
this.cleanScheduleConfig()
|
this.cleanScheduleConfig()
|
||||||
|
this.$nextTick(() => {
|
||||||
|
let datePrefixIcon = document.getElementsByClassName('el-input__prefix-inner')
|
||||||
|
if(datePrefixIcon && datePrefixIcon.length > 0) {
|
||||||
|
Array.prototype.forEach.call(datePrefixIcon, function (element) {
|
||||||
|
element.innerHTML = '<i class="el-input__icon cn-icon cn-icon-shijian"></i>'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
monthScheduleType (n) {
|
monthScheduleType (n) {
|
||||||
this.cleanScheduleConfig()
|
this.cleanScheduleConfig()
|
||||||
@@ -521,6 +529,16 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
let datePrefixIcon = document.getElementsByClassName('el-input__prefix-inner')
|
||||||
|
if(datePrefixIcon && datePrefixIcon.length > 0) {
|
||||||
|
Array.prototype.forEach.call(datePrefixIcon, function (element) {
|
||||||
|
element.innerHTML = '<i class="el-input__icon cn-icon cn-icon-shijian"></i>'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
loadParamOptions () {
|
loadParamOptions () {
|
||||||
if (_.isArray(this.editObject.categoryParams) && !_.isEmpty(this.editObject.categoryParams)) {
|
if (_.isArray(this.editObject.categoryParams) && !_.isEmpty(this.editObject.categoryParams)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user