diff --git a/.env.development b/.env.development index 7bc928d..4454b17 100644 --- a/.env.development +++ b/.env.development @@ -4,7 +4,7 @@ VUE_APP_TITLE = SAAS综合管理平台 # 开发环境配置 ENV = 'development' -# 若依管理系统/开发环境 +# SAAS管理系统/开发环境 VUE_APP_BASE_API = '/dev-api' # 路由懒加载 diff --git a/.env.production b/.env.production index c88c843..6cc6118 100644 --- a/.env.production +++ b/.env.production @@ -4,5 +4,5 @@ VUE_APP_TITLE = SAAS综合管理平台 # 生产环境配置 ENV = 'production' -# 若依管理系统/生产环境 +# SAAS管理系统/生产环境 VUE_APP_BASE_API = 'http://172.16.15.102:8080' diff --git a/.env.staging b/.env.staging index 0d50388..99e4d23 100644 --- a/.env.staging +++ b/.env.staging @@ -8,5 +8,5 @@ NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 若依管理系统/测试环境 -VUE_APP_BASE_API = '/stage-api' +# SAAS管理系统/测试环境 +VUE_APP_BASE_API = 'http://172.16.15.51:8080' diff --git a/README.md b/README.md index ad24b68..74c4858 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,30 @@ -## 开发 - -```bash -# 克隆项目 -git clone https://gitee.com/y_project/RuoYi-Vue - -# 进入项目目录 -cd ruoyi-ui - -# 安装依赖 -npm install - -# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 -npm install --registry=https://registry.npmmirror.com - -# 启动服务 -npm run dev -``` - -浏览器访问 http://localhost:80 - -## 发布 - -```bash -# 构建测试环境 -npm run build:stage - -# 构建生产环境 -npm run build:prod +## 开发 + +```bash +# 克隆项目 +git clone https://gitee.com/y_project/RuoYi-Vue + +# 进入项目目录 +cd profitManage + +# 安装依赖 +npm install + +# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 +npm install --registry=https://registry.npmmirror.com + +# 启动服务 +npm run dev +``` + +浏览器访问 http://localhost:80 + +## 发布 + +```bash +# 构建测试环境 +npm run build:stage + +# 构建生产环境 +npm run build:prod ``` \ No newline at end of file diff --git a/src/api/disRevenue/resource.js b/src/api/disRevenue/resource.js index 1634ac1..48a7fd6 100644 --- a/src/api/disRevenue/resource.js +++ b/src/api/disRevenue/resource.js @@ -1125,3 +1125,66 @@ export function lossRateByMtr(data) { data: data }) } +// 根据mtrClientId获取所有clientId +export function mtrCToClientIds(data) { + return request({ + url: '/mtragent/mtrClientRegistration/getClientIdByMtrClientId', + method: 'post', + data: data + }) +} +// 标识 +export function logicalNodeAll() { + return request({ + url: '/mtragent/mtrClientRegistration/getAllLogicalNode', + method: 'get' + }) +} +// 所有 mtrclientId +export function allMtrClientIdData(data) { + return request({ + url: '/mtragent/mtrClientRegistration/getAllMtrMsg', + method: 'post', + data: data + }) +} + +/** --------------MTR探测策略--------------- */ +// 查询列表 +export function listMtrPolicy(query) { + return request({ + url: '/mtragent/mtrPolicyConfig/list', + method: 'post', + data: query + }) +} +// 新增 +export function addMtrPolicy(data) { + return request({ + url: '/mtragent/mtrPolicyConfig', + method: 'post', + data: data + }) +} +// 修改 +export function updateMtrPolicy(data) { + return request({ + url: '/mtragent/mtrPolicyConfig', + method: 'put', + data: data + }) +} +// 查询详细 +export function getMtrPolicyt(Id) { + return request({ + url: '/mtragent/mtrPolicyConfig/' + Id, + method: 'get' + }) +} +// 删除 +export function delMtrPolicy(Ids) { + return request({ + url: '/mtragent/mtrPolicyConfig/' + Ids, + method: 'delete' + }) +} diff --git a/src/components/form/index.vue b/src/components/form/index.vue index f878bff..ca31340 100644 --- a/src/components/form/index.vue +++ b/src/components/form/index.vue @@ -12,6 +12,7 @@ v-else :key="config && config.key ? `${config && config.key}-${key}` : `${key}`" :prop="key" + :class="formVal && formVal.labelWidthNull ? 'labelWidthNullSty' : ''" :required="formVal.required">