sc
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="form.effectiveDate"
|
v-model="form.effectiveDate"
|
||||||
type="date"
|
type="date"
|
||||||
:disabled="form.id"
|
:disabled="!!form.id"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
value-format="YYYY-MM-DD"
|
value-format="YYYY-MM-DD"
|
||||||
placeholder="选择日期时间"
|
placeholder="选择日期时间"
|
||||||
|
|||||||
@@ -398,7 +398,11 @@ function open(type, val, queryType) {
|
|||||||
krOptions.value = resp
|
krOptions.value = resp
|
||||||
})
|
})
|
||||||
getChannelOptions().then((resp) => {
|
getChannelOptions().then((resp) => {
|
||||||
sourceOptions.value = resp
|
sourceOptions.value = listToTree(resp, {
|
||||||
|
id: 'sourceId',
|
||||||
|
pid: 'parentId',
|
||||||
|
children: 'children'
|
||||||
|
})
|
||||||
})
|
})
|
||||||
if (val) {
|
if (val) {
|
||||||
formLoading.value = true
|
formLoading.value = true
|
||||||
|
|||||||
Reference in New Issue
Block a user