diff --git a/ALOps_sys_fe/alops-ui/src/api/device/deviceType.js b/ALOps_sys_fe/alops-ui/src/api/device/deviceType.js index 552dc24a..44941732 100644 --- a/ALOps_sys_fe/alops-ui/src/api/device/deviceType.js +++ b/ALOps_sys_fe/alops-ui/src/api/device/deviceType.js @@ -1,6 +1,6 @@ import request from '@/utils/request' import { parseStrEmpty } from "@/utils/ruoyi"; -const api = '/equipmentType/' +const api = '/device/deviceType/' // 查询详细 export function getDict() { @@ -13,7 +13,7 @@ export function getDict() { // 查询列表 export function list(query) { return request({ - url: api + 'queryByVO', + url: api + 'query', method: 'get', params: query }) @@ -40,7 +40,7 @@ export function update(data) { // 删除 export function del(id) { return request({ - url: api + 'delete' + id, + url: api + id, method: 'delete' }) } diff --git a/ALOps_sys_fe/alops-ui/src/assets/images/profile.jpg b/ALOps_sys_fe/alops-ui/src/assets/images/profile.jpg index b3a940b2..63832c3a 100644 Binary files a/ALOps_sys_fe/alops-ui/src/assets/images/profile.jpg and b/ALOps_sys_fe/alops-ui/src/assets/images/profile.jpg differ diff --git a/ALOps_sys_fe/alops-ui/src/components/ImageUpload/index.vue b/ALOps_sys_fe/alops-ui/src/components/ImageUpload/index.vue index 6b24f6ed..5ee0dfda 100644 --- a/ALOps_sys_fe/alops-ui/src/components/ImageUpload/index.vue +++ b/ALOps_sys_fe/alops-ui/src/components/ImageUpload/index.vue @@ -64,7 +64,7 @@ export default { // 图片数量限制 limit: { type: Number, - default: 5 + default: 1 }, // 大小限制(MB) fileSize: { @@ -195,8 +195,9 @@ export default { }, // 上传成功回调 handleUploadSuccess(res, file) { + console.log("%c 🍍: handleUploadSuccess -> res ", "font-size:16px;background-color:#dca159;color:white;", res) if (res.code === 200) { - this.uploadList.push({ name: res.fileName, url: res.fileName }) + this.uploadList.push({ name: res.fileName, url: res.url }) this.uploadedSuccessfully() } else { this.number-- @@ -205,6 +206,8 @@ export default { this.$refs.imageUpload.handleRemove(file) this.uploadedSuccessfully() } + + console.log("%c 🇸🇰: handleUploadSuccess -> this.fileList ", "font-size:16px;background-color:#6a826e;color:white;", this.fileList) }, // 删除图片 handleDelete(file) { diff --git a/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index.vue b/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index.vue index 97029c7a..51ef3c82 100644 --- a/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index.vue +++ b/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index.vue @@ -4,7 +4,7 @@
-

智能客服

+

AI智能助手

您好,我是智能助手,很高兴为您服务

@@ -72,7 +72,7 @@ export default { newMessage: '', messages: [ { - text: '您好!我是智能客服,请问有什么可以帮您?', + text: '您好!我是AI智能助手,请问有什么可以帮您?', sender: 'service', time: this.formatTime(new Date()) } diff --git a/ALOps_sys_fe/alops-ui/src/views/device/deviceType/index.vue b/ALOps_sys_fe/alops-ui/src/views/device/deviceType/index.vue index fe6f4136..de725ded 100644 --- a/ALOps_sys_fe/alops-ui/src/views/device/deviceType/index.vue +++ b/ALOps_sys_fe/alops-ui/src/views/device/deviceType/index.vue @@ -11,14 +11,6 @@ - - - - 搜索 重置 @@ -29,21 +21,12 @@ 新增 - - 删除 - - - 导入 - - - 导出 - - + @@ -51,14 +34,14 @@ - - + + - + + \ No newline at end of file diff --git a/ALOps_sys_fe/alops-ui/src/views/index3.vue b/ALOps_sys_fe/alops-ui/src/views/index3.vue new file mode 100644 index 00000000..322bd691 --- /dev/null +++ b/ALOps_sys_fe/alops-ui/src/views/index3.vue @@ -0,0 +1,657 @@ + + + + +