Merge branch 'dev' of github.com:jetlinks/jetlinks-ui-vue into dev
This commit is contained in:
commit
0e5ba309fc
|
@ -27,7 +27,11 @@
|
||||||
terms: [
|
terms: [
|
||||||
{
|
{
|
||||||
terms: [
|
terms: [
|
||||||
{ column: 'parentId$isnull', value: '1' },
|
{
|
||||||
|
column: 'parentId$isnull',
|
||||||
|
value: '',
|
||||||
|
type: 'or',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
column: 'parentId$not',
|
column: 'parentId$not',
|
||||||
value: detail.id,
|
value: detail.id,
|
||||||
|
@ -43,6 +47,7 @@
|
||||||
type: 'and',
|
type: 'and',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
type: 'and',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
terms: [
|
terms: [
|
||||||
|
|
|
@ -85,6 +85,7 @@
|
||||||
:value="form.deviceType"
|
:value="form.deviceType"
|
||||||
:options="deviceList"
|
:options="deviceList"
|
||||||
@change="changeDeviceType"
|
@change="changeDeviceType"
|
||||||
|
:disabled="disabled"
|
||||||
>
|
>
|
||||||
<template #title="item">
|
<template #title="item">
|
||||||
<span>{{ item.title }}</span>
|
<span>{{ item.title }}</span>
|
||||||
|
@ -265,13 +266,6 @@ const dealProductTree = (arr: any) => {
|
||||||
return element
|
return element
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
watch(
|
|
||||||
() => props.isAdd,
|
|
||||||
() => {
|
|
||||||
// queryProductTree();
|
|
||||||
},
|
|
||||||
{ immediate: true, deep: true },
|
|
||||||
);
|
|
||||||
/**
|
/**
|
||||||
* 显示弹窗
|
* 显示弹窗
|
||||||
*/
|
*/
|
||||||
|
@ -318,7 +312,6 @@ const submitData = () => {
|
||||||
formRef.value
|
formRef.value
|
||||||
.validate()
|
.validate()
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
console.log(form);
|
|
||||||
// 新增
|
// 新增
|
||||||
if (props.isAdd === 1) {
|
if (props.isAdd === 1) {
|
||||||
if (form.id === '') {
|
if (form.id === '') {
|
||||||
|
|
|
@ -42,6 +42,15 @@
|
||||||
enabled: 'processing',
|
enabled: 'processing',
|
||||||
disabled: 'error',
|
disabled: 'error',
|
||||||
}"
|
}"
|
||||||
|
@click="
|
||||||
|
() => {
|
||||||
|
menuStory.jumpPage(
|
||||||
|
'rule-engine/Alarm/Configuration/Save',
|
||||||
|
{},
|
||||||
|
{ id: slotProps.id },
|
||||||
|
);
|
||||||
|
}
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template #img>
|
<template #img>
|
||||||
<slot name="img">
|
<slot name="img">
|
||||||
|
|
Loading…
Reference in New Issue