feat: task#2375

This commit is contained in:
XieYongHong 2023-06-07 15:53:56 +08:00
parent 10a59c318b
commit f898477556
6 changed files with 12 additions and 17 deletions

View File

@ -25,7 +25,7 @@
"event-source-polyfill": "^1.0.31",
"global": "^4.4.0",
"jetlinks-store": "^0.0.3",
"jetlinks-ui-components": "^1.0.21",
"jetlinks-ui-components": "^1.0.22",
"js-cookie": "^3.0.1",
"less": "^4.1.3",
"less-loader": "^11.1.0",

View File

@ -9,13 +9,12 @@
@cancel="close"
okText="确定"
cancelText="取消"
v-bind="layout"
width="650px"
:confirmLoading="loading"
>
<div style="margin-top: 10px">
<j-form
:layout="'vertical'"
layout="vertical"
:model="form"
:rules="rules"
ref="formRef"

View File

@ -449,7 +449,6 @@ const query = reactive({
key: 'id',
search: {
type: 'string',
defaultTermType: 'eq',
},
},
{
@ -458,7 +457,7 @@ const query = reactive({
dataIndex: 'accessProvider',
search: {
type: 'select',
options: () => {
options: async () => {
return new Promise((resolve) => {
getProviders().then((resp: any) => {
const data = resp.result || [];

View File

@ -27,9 +27,9 @@
{{ item.name }}
</div>
<div class="desc">
<j-tooltip :title="item.description">
{{ item.description || '' }}
</j-tooltip>
<j-ellipsis :lineClamp="2">
{{ item.description || '' }}
</j-ellipsis>
</div>
</div>
</div>
@ -174,11 +174,8 @@ const click = (value: object) => {
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 20px;
color: #666666;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 40px;
}
}
}

View File

@ -96,7 +96,7 @@ export default defineConfig(({ mode}) => {
// target: 'http://192.168.32.244:8881',
target: 'http://120.77.179.54:8844', // 120测试
// target: 'http://192.168.33.46:8844', // 本地开发环境
ws: 'ws://192.168.33.46:8844',
ws: 'ws://120.77.179.54:8844',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}

View File

@ -3823,10 +3823,10 @@ jetlinks-store@^0.0.3:
resolved "https://registry.npmjs.org/jetlinks-store/-/jetlinks-store-0.0.3.tgz"
integrity sha512-AZf/soh1hmmwjBZ00fr1emuMEydeReaI6IBTGByQYhTmK1Zd5pQAxC7WLek2snRAn/HHDgJfVz2hjditKThl6Q==
jetlinks-ui-components@^1.0.21:
version "1.0.21"
resolved "https://registry.jetlinks.cn/jetlinks-ui-components/-/jetlinks-ui-components-1.0.21.tgz#e2dc28682db91b4b05332fb8ec76faa2a2f4dcd2"
integrity sha512-nlVGo2ze6e4YFPOyqS1GVCpaH9P4VGPMGYJIucTEjjMb/QqPmkwS7HcwyDX3kvb6Acb+dG5oQZlscMHIGqv0YQ==
jetlinks-ui-components@^1.0.22:
version "1.0.22"
resolved "https://registry.jetlinks.cn/jetlinks-ui-components/-/jetlinks-ui-components-1.0.22.tgz#37e49fe435d8eccd82fc4d8e94980a98aaac1922"
integrity sha512-iI7g2ui4pSuunkyPBWkscSZeUJfJURsj5Tmbfbc04wOhQh3GA6N3gKEDIvavFWHhFk1y/6EITyOYIZT4Wf3rdg==
dependencies:
"@vueuse/core" "^9.12.0"
"@vueuse/router" "^9.13.0"