Merge branch 'dev' of https://git.code.tencent.com/lian-cbtc/jl-client into dev
This commit is contained in:
commit
f05578ea96
@ -238,6 +238,7 @@
|
|||||||
v-model="formModel[item.prop]"
|
v-model="formModel[item.prop]"
|
||||||
:placeholder="item.placeholder"
|
:placeholder="item.placeholder"
|
||||||
:disabled="item.disabled"
|
:disabled="item.disabled"
|
||||||
|
:value-format="'HH:mm:ss'"
|
||||||
:picker-options="{ selectableRange: '00:00:00 - 23:59:59' }"
|
:picker-options="{ selectableRange: '00:00:00 - 23:59:59' }"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -116,7 +116,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.formModel.right = null;
|
this.formModel.right = null;
|
||||||
}
|
}
|
||||||
createRunPlan(this.$route.query.mapId, this.formModel).then(res => {
|
createRunPlan(this.$route.query.planId, this.formModel).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
this.doClose()
|
this.doClose()
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
@ -125,8 +125,8 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 转换时间格式
|
// 转换时间格式
|
||||||
formatDateTime(inputTime) {
|
formatDateTime(date) {
|
||||||
let date = new Date(inputTime);
|
console.log(date, 3333);
|
||||||
let h = date.getHours();
|
let h = date.getHours();
|
||||||
h = h < 10 ? ('0' + h) : h;
|
h = h < 10 ? ('0' + h) : h;
|
||||||
let minute = date.getMinutes();
|
let minute = date.getMinutes();
|
||||||
|
Loading…
Reference in New Issue
Block a user