diff --git a/src/assets/iot/a1.png b/src/assets/iot/a1.png new file mode 100644 index 0000000..8ae04dd Binary files /dev/null and b/src/assets/iot/a1.png differ diff --git a/src/assets/iot/a2.png b/src/assets/iot/a2.png new file mode 100644 index 0000000..1a6bf6c Binary files /dev/null and b/src/assets/iot/a2.png differ diff --git a/src/assets/iot/a3.png b/src/assets/iot/a3.png new file mode 100644 index 0000000..a3de4ac Binary files /dev/null and b/src/assets/iot/a3.png differ diff --git a/src/assets/iot/a4.png b/src/assets/iot/a4.png new file mode 100644 index 0000000..0afa16d Binary files /dev/null and b/src/assets/iot/a4.png differ diff --git a/src/assets/iot/a5.png b/src/assets/iot/a5.png new file mode 100644 index 0000000..ed05722 Binary files /dev/null and b/src/assets/iot/a5.png differ diff --git a/src/assets/iot/a6.png b/src/assets/iot/a6.png new file mode 100644 index 0000000..81d4fe8 Binary files /dev/null and b/src/assets/iot/a6.png differ diff --git a/src/assets/iot/a7.png b/src/assets/iot/a7.png new file mode 100644 index 0000000..9a954d5 Binary files /dev/null and b/src/assets/iot/a7.png differ diff --git a/src/assets/iot/a8.png b/src/assets/iot/a8.png new file mode 100644 index 0000000..64be82c Binary files /dev/null and b/src/assets/iot/a8.png differ diff --git a/src/assets/iot/a9.png b/src/assets/iot/a9.png new file mode 100644 index 0000000..8a23cb0 Binary files /dev/null and b/src/assets/iot/a9.png differ diff --git a/src/views/invoicing/jxc/JxcInfo.api.ts b/src/views/invoicing/jxc/JxcInfo.api.ts new file mode 100644 index 0000000..2b60dbf --- /dev/null +++ b/src/views/invoicing/jxc/JxcInfo.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/configMaterialInfo/configMaterialInfo/list', + save='/configMaterialInfo/configMaterialInfo/add', + edit='/configMaterialInfo/configMaterialInfo/edit', + deleteOne = '/configMaterialInfo/configMaterialInfo/delete', + deleteBatch = '/configMaterialInfo/configMaterialInfo/deleteBatch', + importExcel = '/configMaterialInfo/configMaterialInfo/importExcel', + exportXls = '/configMaterialInfo/configMaterialInfo/exportXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/invoicing/jxc/JxcInfo.data.ts b/src/views/invoicing/jxc/JxcInfo.data.ts new file mode 100644 index 0000000..570f316 --- /dev/null +++ b/src/views/invoicing/jxc/JxcInfo.data.ts @@ -0,0 +1,109 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +import { getWeekMonthQuarterYear } from '/@/utils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '货品名称', + align: "center", + dataIndex: 'materialName' + }, + { + title: '货品编码', + align: "center", + dataIndex: 'materialNo', + width:'100px' + }, + { + title: '规格型号', + align: "center", + dataIndex: 'specificationModel' + }, + { + title: '销售单价', + align: "center", + dataIndex: 'salesUnitPrice', + width:'100px' + }, + { + title: '参考单价', + align: "center", + dataIndex: 'referenceUnitPrice', + width:'100px' + }, + { + title: '货品单位', + align: "center", + dataIndex: 'materialUnits', + width:'100px' + }, + { + title: '供应商', + align: "center", + dataIndex: 'suppliers_dictText', + width:'200px' + }, + { + title: '物料类别', + align: "center", + dataIndex: 'categoryId_dictText', + width:'100px' + }, + { + title: '物料类型', + align: "center", + dataIndex: 'typeId_dictText', + width:'100px' + }, + { + title: '用药类型', + align: "center", + dataIndex: 'medicationId_dictText', + width:'100px' + }, + // { + // title: '物料图片', + // align: "center", + // dataIndex: 'materialImg', + // customRender: render.renderImage, + // }, + // { + // title: '物料标识', + // align: "center", + // dataIndex: 'materialIdent', + // customRender: render.renderImage, + // }, + { + title: '是否启用', + align: "center", + dataIndex: 'izEnabled_dictText', + width:'100px' + }, +]; + +// 高级查询数据 +export const superQuerySchema = { + categoryId: {title: '物料类别',order: 0,view: 'radio', type: 'string',dictTable: "nu_config_material_category", dictCode: 'id', dictText: 'category_name',}, + typeId: {title: '物料类型',order: 1,view: 'radio', type: 'string',dictTable: "nu_config_material_type", dictCode: 'id', dictText: 'type_name',}, + medicationId: {title: '用药类型',order: 2,view: 'radio', type: 'string',dictTable: "nu_config_material_medication", dictCode: 'id', dictText: 'medication_name',}, + materialName: {title: '货品名称',order: 3,view: 'text', type: 'string',}, + materialNo: {title: '货品编码',order: 4,view: 'text', type: 'string',}, + specificationModel: {title: '规格型号',order: 5,view: 'text', type: 'string',}, + salesUnitPrice: {title: '销售单价',order: 6,view: 'number', type: 'number',}, + referenceUnitPrice: {title: '参考单价',order: 7,view: 'number', type: 'number',}, + materialUnits: {title: '货品单位',order: 8,view: 'text', type: 'string',}, + multiUnitSwitch: {title: '多单位开关',order: 9,view: 'switch', type: 'string',}, + oneUnit: {title: '父级单位',order: 10,view: 'text', type: 'string',}, + oneUnitProportion: {title: '父级单位兑换比例',order: 11,view: 'number', type: 'number',}, + oneUnitPrice: {title: '父级单位价格',order: 12,view: 'number', type: 'number',}, + twoUnit: {title: '爷级单位',order: 13,view: 'text', type: 'string',}, + twoUnitProportion: {title: '爷级单位兑换比例',order: 14,view: 'number', type: 'number',}, + twoUnitPrice: {title: '爷级单位价格',order: 15,view: 'number', type: 'number',}, + multiUnitType: {title: '多单位采购默认使用 0子集 1父级 2爷级',order: 16,view: 'text', type: 'string',}, + suppliers: {title: '供应商',order: 17,view: 'text', type: 'string',}, + materialImg: {title: '物料图片',order: 18,view: 'image', type: 'string',}, + materialIdent: {title: '物料标识',order: 19,view: 'image', type: 'string',}, + izEnabled: {title: '是否启用',order: 20,view: 'radio', type: 'string',dictCode: ' iz_enabled',}, +}; diff --git a/src/views/invoicing/jxc/QgdList.vue b/src/views/invoicing/jxc/QgdList.vue new file mode 100644 index 0000000..e5cca23 --- /dev/null +++ b/src/views/invoicing/jxc/QgdList.vue @@ -0,0 +1,302 @@ + + + + + diff --git a/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfo.api.ts b/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfo.api.ts new file mode 100644 index 0000000..2c0d4d9 --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfo.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/nuInvoicingQgdInfo/nuInvoicingQgdInfo/list', + save='/nuInvoicingQgdInfo/nuInvoicingQgdInfo/add', + edit='/nuInvoicingQgdInfo/nuInvoicingQgdInfo/edit', + deleteOne = '/nuInvoicingQgdInfo/nuInvoicingQgdInfo/delete', + deleteBatch = '/nuInvoicingQgdInfo/nuInvoicingQgdInfo/deleteBatch', + importExcel = '/nuInvoicingQgdInfo/nuInvoicingQgdInfo/importExcel', + exportXls = '/nuInvoicingQgdInfo/nuInvoicingQgdInfo/exportXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfo.data.ts b/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfo.data.ts new file mode 100644 index 0000000..07b2cb6 --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfo.data.ts @@ -0,0 +1,66 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +import { getWeekMonthQuarterYear } from '/@/utils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '请购单编号', + align: "center", + dataIndex: 'mainNo' + }, + { + title: '物料编码', + align: "center", + dataIndex: 'wlMaterialNo' + }, + { + title: '物料名称', + align: "center", + dataIndex: 'wlName' + }, + { + title: '采购单位', + align: "center", + dataIndex: 'wlUnits' + }, + { + title: '规格型号', + align: "center", + dataIndex: 'wlSpecificationModel' + }, + { + title: '上限', + align: "center", + dataIndex: 'wlUpperLimit' + }, + { + title: '下限', + align: "center", + dataIndex: 'wlLowerLimit' + }, + { + title: '供应商名称', + align: "center", + dataIndex: 'suppliersName' + }, + { + title: '请购数量', + align: "center", + dataIndex: 'purchaseQuantity' + }, +]; + +// 高级查询数据 +export const superQuerySchema = { + mainNo: {title: '请购单编号',order: 0,view: 'text', type: 'string',}, + wlMaterialNo: {title: '物料编码',order: 1,view: 'text', type: 'string',}, + wlName: {title: '物料名称',order: 2,view: 'text', type: 'string',}, + wlUnits: {title: '采购单位',order: 3,view: 'text', type: 'string',}, + wlSpecificationModel: {title: '规格型号',order: 4,view: 'text', type: 'string',}, + wlUpperLimit: {title: '上限',order: 5,view: 'text', type: 'string',}, + wlLowerLimit: {title: '下限',order: 6,view: 'text', type: 'string',}, + suppliersName: {title: '供应商名称',order: 7,view: 'text', type: 'string',}, + purchaseQuantity: {title: '请购数量',order: 8,view: 'number', type: 'number',}, +}; diff --git a/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfoList.vue b/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfoList.vue new file mode 100644 index 0000000..aa7d8e5 --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdInfo/NuInvoicingQgdInfoList.vue @@ -0,0 +1,235 @@ + + + + + diff --git a/src/views/invoicing/nuInvoicingQgdInfo/components/NuInvoicingQgdInfoForm.vue b/src/views/invoicing/nuInvoicingQgdInfo/components/NuInvoicingQgdInfoForm.vue new file mode 100644 index 0000000..d80d859 --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdInfo/components/NuInvoicingQgdInfoForm.vue @@ -0,0 +1,193 @@ + + + + + diff --git a/src/views/invoicing/nuInvoicingQgdInfo/components/NuInvoicingQgdInfoModal.vue b/src/views/invoicing/nuInvoicingQgdInfo/components/NuInvoicingQgdInfoModal.vue new file mode 100644 index 0000000..cf72eac --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdInfo/components/NuInvoicingQgdInfoModal.vue @@ -0,0 +1,77 @@ + + + + + + diff --git a/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMain.api.ts b/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMain.api.ts new file mode 100644 index 0000000..db4d157 --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMain.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/nuInvoicingQgdMain/nuInvoicingQgdMain/list', + save='/nuInvoicingQgdMain/nuInvoicingQgdMain/add', + edit='/nuInvoicingQgdMain/nuInvoicingQgdMain/edit', + deleteOne = '/nuInvoicingQgdMain/nuInvoicingQgdMain/delete', + deleteBatch = '/nuInvoicingQgdMain/nuInvoicingQgdMain/deleteBatch', + importExcel = '/nuInvoicingQgdMain/nuInvoicingQgdMain/importExcel', + exportXls = '/nuInvoicingQgdMain/nuInvoicingQgdMain/exportXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMain.data.ts b/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMain.data.ts new file mode 100644 index 0000000..b54af88 --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMain.data.ts @@ -0,0 +1,24 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +import { getWeekMonthQuarterYear } from '/@/utils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '请购单号', + align: "center", + dataIndex: 'qgdNo' + }, + { + title: '请购状态 0未下单 1已下单', + align: "center", + dataIndex: 'status' + }, +]; + +// 高级查询数据 +export const superQuerySchema = { + qgdNo: {title: '请购单号',order: 0,view: 'number', type: 'number',}, + status: {title: '请购状态 0未下单 1已下单',order: 1,view: 'number', type: 'number',}, +}; diff --git a/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMainList.vue b/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMainList.vue new file mode 100644 index 0000000..6e46117 --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdMain/NuInvoicingQgdMainList.vue @@ -0,0 +1,235 @@ + + + + + diff --git a/src/views/invoicing/nuInvoicingQgdMain/components/NuInvoicingQgdMainForm.vue b/src/views/invoicing/nuInvoicingQgdMain/components/NuInvoicingQgdMainForm.vue new file mode 100644 index 0000000..c9d1aec --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdMain/components/NuInvoicingQgdMainForm.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/src/views/invoicing/nuInvoicingQgdMain/components/NuInvoicingQgdMainModal.vue b/src/views/invoicing/nuInvoicingQgdMain/components/NuInvoicingQgdMainModal.vue new file mode 100644 index 0000000..c3b76e2 --- /dev/null +++ b/src/views/invoicing/nuInvoicingQgdMain/components/NuInvoicingQgdMainModal.vue @@ -0,0 +1,77 @@ + + + + + + diff --git a/src/views/iot/tq/electricity/apilog/ApiLogList.vue b/src/views/iot/tq/electricity/apilog/ApiLogList.vue index 42e8ee6..b68bc35 100644 --- a/src/views/iot/tq/electricity/apilog/ApiLogList.vue +++ b/src/views/iot/tq/electricity/apilog/ApiLogList.vue @@ -8,10 +8,10 @@ - + - + @@ -21,6 +21,7 @@ import { ref, reactive } from 'vue'; import NuIotTqApiRequestLogList from '/@/views/iot/tq/nuIotTqApiRequestLog/NuIotTqApiRequestLogList.vue'; + import NuIotTqApiRequestLogList2 from '/@/views/iot/tq/nuIotTqApiRequestLog/NuIotTqApiRequestLogList2.vue'; const activeKey= ref('3'); const dbsbInfo = ref({}); diff --git a/src/views/iot/tq/electricity/apilog/WaterApiLogList.vue b/src/views/iot/tq/electricity/apilog/WaterApiLogList.vue index d32a6d6..f953516 100644 --- a/src/views/iot/tq/electricity/apilog/WaterApiLogList.vue +++ b/src/views/iot/tq/electricity/apilog/WaterApiLogList.vue @@ -2,16 +2,16 @@
- + - + - + - +
@@ -20,7 +20,8 @@ + + diff --git a/src/views/iot/tq/nuIotTqApiRequestLog/NuIotTqApiRequestLogList3.vue b/src/views/iot/tq/nuIotTqApiRequestLog/NuIotTqApiRequestLogList3.vue new file mode 100644 index 0000000..3bbc3aa --- /dev/null +++ b/src/views/iot/tq/nuIotTqApiRequestLog/NuIotTqApiRequestLogList3.vue @@ -0,0 +1,224 @@ + + + + + diff --git a/src/views/iot/tq/nuIotTqApiRequestLog/components/NuIotTqApiRequestLogForm.vue b/src/views/iot/tq/nuIotTqApiRequestLog/components/NuIotTqApiRequestLogForm.vue index 4fe0075..e3addbc 100644 --- a/src/views/iot/tq/nuIotTqApiRequestLog/components/NuIotTqApiRequestLogForm.vue +++ b/src/views/iot/tq/nuIotTqApiRequestLog/components/NuIotTqApiRequestLogForm.vue @@ -5,8 +5,8 @@ - - + + diff --git a/src/views/iot/tq/water/index.vue b/src/views/iot/tq/water/index.vue index d320a07..ba7fec7 100644 --- a/src/views/iot/tq/water/index.vue +++ b/src/views/iot/tq/water/index.vue @@ -6,8 +6,14 @@ - - + + + + + + + + @@ -19,46 +25,63 @@ - -