diff --git a/anrui-system-ui/src/api/financialparameter/financialparameter.js b/anrui-system-ui/src/api/financialparameter/financialparameter.js new file mode 100644 index 0000000000..4d22179b7a --- /dev/null +++ b/anrui-system-ui/src/api/financialparameter/financialparameter.js @@ -0,0 +1,43 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/portal/v1/sysparameter/finListPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + saveOrUpdate: function(data) { + return request({ + url: '/portal/v1/sysparameter/finSave', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + fetchBySid: function(data) { + return request({ + url: '/portal/v1/sysparameter/fetchFinDetailsBySid/' + data, + method: 'get' + }) + }, + deleteBySids: function(data) { + return request({ + url: '/portal/v1/sysparameter/deleteBySids', + method: 'DELETE', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 获取分公司 + getListOrg: function(data) { + return request({ + url: '/portal/v1/sysorganization/getListOrg', + method: 'get', + params: data + }) + } +} diff --git a/anrui-system-ui/src/router/index.js b/anrui-system-ui/src/router/index.js index 352c3ff039..6876c9d67e 100644 --- a/anrui-system-ui/src/router/index.js +++ b/anrui-system-ui/src/router/index.js @@ -281,6 +281,17 @@ export const constantRoutes = [ meta: { title: '数据映射', noCache: true } }] }, + { + path: '/financialparameter', + component: Layout, + redirect: '/financialparameter', + children: [{ + path: '/financialparameter', + component: () => import('@/views/financialparameter/financialparameter.vue'), + name: 'FinancialParameter', + meta: { title: '财务参数', noCache: true } + }] + }, // { // path: '/workflow', // component: Layout, diff --git a/anrui-system-ui/src/styles/index.scss b/anrui-system-ui/src/styles/index.scss index dfcc6215c7..c92bb26357 100644 --- a/anrui-system-ui/src/styles/index.scss +++ b/anrui-system-ui/src/styles/index.scss @@ -246,6 +246,75 @@ div:focus { .footer{margin: 20px;} } +.formaddcopy02 { + padding: 10px 40px 0 40px; + + .title { + padding: 12px; + font-weight: bold; + font-size: 16px; + background-color: #0294d7; + color: #ffffff; + text-align: left; + } + + .el-row { + display: flex; + flex-wrap: wrap; + border-left: 1px solid $table-border-color; + + .el-col { + border-right: 1px solid $table-border-color; + border-bottom: 1px solid $table-border-color; + min-height: 42px; + padding: 0 15px; + line-height: 42px; + position: relative; + + .span-sty { + position: absolute; + top: 0; + bottom: 0; + left: 0; + line-height: 42px; + text-align: right; + font-size: 14px; + color: #606266; + font-weight: 600; + width: 70px; + padding-right: 5px; + border-right: 1px solid #e0e3eb; + } + + .el-form-item { + margin-bottom: 0; + line-height: 42px; + + .addinputw { + //padding: 5px 0; + width: 65%; + margin-left: 80px; + line-height: 42px; + } + + .addinputInfo { + margin-left: 80px; + line-height: 42px; + } + + .el-input__inner { + height: 36px; + } + } + } + + } + + .footer { + margin: 20px; + } +} + .el-form-item__error { z-index: 100; } diff --git a/anrui-system-ui/src/views/financialparameter/financialparameter.vue b/anrui-system-ui/src/views/financialparameter/financialparameter.vue new file mode 100644 index 0000000000..e69201eb97 --- /dev/null +++ b/anrui-system-ui/src/views/financialparameter/financialparameter.vue @@ -0,0 +1,268 @@ + + + + diff --git a/anrui-system-ui/src/views/financialparameter/financialparameterAdd.vue b/anrui-system-ui/src/views/financialparameter/financialparameterAdd.vue new file mode 100644 index 0000000000..929372c039 --- /dev/null +++ b/anrui-system-ui/src/views/financialparameter/financialparameterAdd.vue @@ -0,0 +1,159 @@ + + + + +