diff --git a/src/views/analysisrule/AnalysisRule.api.ts b/src/views/analysisrule/AnalysisRule.api.ts
new file mode 100644
index 0000000..dbf1a50
--- /dev/null
+++ b/src/views/analysisrule/AnalysisRule.api.ts
@@ -0,0 +1,72 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/analysisrule/analysisRule/list',
+ save='/analysisrule/analysisRule/add',
+ edit='/analysisrule/analysisRule/edit',
+ deleteOne = '/analysisrule/analysisRule/delete',
+ deleteBatch = '/analysisrule/analysisRule/deleteBatch',
+ importExcel = '/analysisrule/analysisRule/importExcel',
+ exportXls = '/analysisrule/analysisRule/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/analysisrule/AnalysisRule.data.ts b/src/views/analysisrule/AnalysisRule.data.ts
new file mode 100644
index 0000000..f3092d0
--- /dev/null
+++ b/src/views/analysisrule/AnalysisRule.data.ts
@@ -0,0 +1,64 @@
+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: 'sim'
+ },
+ {
+ title: '规则代码',
+ align: "center",
+ dataIndex: 'code'
+ },
+ {
+ title: '规则描述',
+ align: "center",
+ dataIndex: 'remarks'
+ },
+ {
+ title: '热力公司',
+ align: "center",
+ dataIndex: 'companyId_dictText'
+ },
+ {
+ title: '锅炉房',
+ align: "center",
+ dataIndex: 'sourceId_dictText'
+ },
+ {
+ title: '换热站',
+ align: "center",
+ dataIndex: 'stationId_dictText'
+ },
+ // {
+ // title: '创建时间',
+ // align: "center",
+ // dataIndex: 'createDate',
+ // customRender:({text}) =>{
+ // text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
+ // return text;
+ // },
+ // },
+ {
+ title: '地区类型',
+ align: "center",
+ dataIndex: 'regionType'
+ },
+];
+
+// 高级查询数据
+export const superQuerySchema = {
+ sim: {title: '卡号',order: 0,view: 'text', type: 'string',},
+ code: {title: '规则代码 1 2 3 4 5 ',order: 1,view: 'text', type: 'string',},
+ remarks: {title: '规则描述 1:0141规则码 2:31字节长度 3:73字节长度 4:26字节长度 5:不解析',order: 2,view: 'text', type: 'string',},
+ companyId: {title: '热力公司ID',order: 3,view: 'number', type: 'number',dictTable: "bl_thermalcompany", dictCode: 'id', dictText: 'company_name',},
+ sourceId: {title: '锅炉房ID',order: 4,view: 'number', type: 'number',dictTable: "bl_heatsource", dictCode: 'id', dictText: 'source_name',},
+ stationId: {title: '换热站ID',order: 5,view: 'number', type: 'number',dictTable: "bl_heatsourcestation", dictCode: 'id', dictText: 'station_name',},
+ createDate: {title: '创建时间',order: 6,view: 'date', type: 'string',},
+ regionType: {title: '地区类型',order: 7,view: 'text', type: 'string',},
+};
diff --git a/src/views/analysisrule/AnalysisRuleList.vue b/src/views/analysisrule/AnalysisRuleList.vue
new file mode 100644
index 0000000..d8a2588
--- /dev/null
+++ b/src/views/analysisrule/AnalysisRuleList.vue
@@ -0,0 +1,295 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysisrule/AnalysisRuleListJx.vue b/src/views/analysisrule/AnalysisRuleListJx.vue
new file mode 100644
index 0000000..80d86ff
--- /dev/null
+++ b/src/views/analysisrule/AnalysisRuleListJx.vue
@@ -0,0 +1,295 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysisrule/components/AnalysisRuleForm.vue b/src/views/analysisrule/components/AnalysisRuleForm.vue
new file mode 100644
index 0000000..a9c7a98
--- /dev/null
+++ b/src/views/analysisrule/components/AnalysisRuleForm.vue
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysisrule/components/AnalysisRuleModal.vue b/src/views/analysisrule/components/AnalysisRuleModal.vue
new file mode 100644
index 0000000..136b127
--- /dev/null
+++ b/src/views/analysisrule/components/AnalysisRuleModal.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+