From 7274dd2adeea4b31e9f6c63cc7ce0d8cf14b6b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=BE=B7=E4=BA=91?= Date: Sun, 16 Feb 2025 00:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B8=A6=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E7=9A=84=E8=BE=93=E5=85=A5=E6=A1=86=E7=BB=84=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/system/sysUnitConvert.js | 44 ++ pages/login.vue | 11 + uni_modules/yjly-inputunit/changelog.md | 4 + .../yjly-inputunit/yjly-inputunit.vue | 422 ++++++++++++++++++ .../components/yjly-inputunit/yjlyUnitData.js | 122 +++++ uni_modules/yjly-inputunit/package.json | 86 ++++ uni_modules/yjly-inputunit/readme.md | 158 +++++++ 7 files changed, 847 insertions(+) create mode 100644 api/system/sysUnitConvert.js create mode 100644 uni_modules/yjly-inputunit/changelog.md create mode 100644 uni_modules/yjly-inputunit/components/yjly-inputunit/yjly-inputunit.vue create mode 100644 uni_modules/yjly-inputunit/components/yjly-inputunit/yjlyUnitData.js create mode 100644 uni_modules/yjly-inputunit/package.json create mode 100644 uni_modules/yjly-inputunit/readme.md diff --git a/api/system/sysUnitConvert.js b/api/system/sysUnitConvert.js new file mode 100644 index 0000000..10f92d4 --- /dev/null +++ b/api/system/sysUnitConvert.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询单位换算列表 +export function listSysUnitConvert(query) { + return request({ + url: '/system/sysUnitConvert/list', + method: 'get', + params: query + }) +} + +// 查询单位换算详细 +export function getSysUnitConvert(id) { + return request({ + url: '/system/sysUnitConvert/' + id, + method: 'get' + }) +} + +// 新增单位换算 +export function addSysUnitConvert(data) { + return request({ + url: '/system/sysUnitConvert', + method: 'post', + data: data + }) +} + +// 修改单位换算 +export function updateSysUnitConvert(data) { + return request({ + url: '/system/sysUnitConvert', + method: 'put', + data: data + }) +} + +// 删除单位换算 +export function delSysUnitConvert(id) { + return request({ + url: '/system/sysUnitConvert/' + id, + method: 'delete' + }) +} diff --git a/pages/login.vue b/pages/login.vue index 1e03ad6..790b1e5 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -1,5 +1,14 @@