diff --git a/src/api/correlationEquipment/index.js b/src/api/correlationEquipment/index.js new file mode 100644 index 0000000..b4d2927 --- /dev/null +++ b/src/api/correlationEquipment/index.js @@ -0,0 +1,10 @@ +// 系统管理模块接口 +import request from '@/utils/request' +// 字典表查询 +export function getAllData(params) { + return request({ + url: 'safety/tbAreacodeInfo/listAndVideo', + method: 'post', + params + }) +} diff --git a/src/api/systemManagement/index.js b/src/api/systemManagement/index.js index bf83e3c..e4c5eb4 100644 --- a/src/api/systemManagement/index.js +++ b/src/api/systemManagement/index.js @@ -1,5 +1,20 @@ // 系统管理模块接口 import request from '@/utils/request' +// 字典表查询 +export function common(params) { + return request({ + url: '/common/area', + method: 'get', + params + }) +} +export function commonDict(params) { + return request({ + url: '/common/dict/list', + method: 'get', + params + }) +} // 企业名单查询 export function getCompanyList(params) { return request({ @@ -7,4 +22,27 @@ export function getCompanyList(params) { method: 'get', params }) +} +// 企业名单新增 +export function postCompanyList(data) { + return request({ + url: '/safety/system/enterpriseList', + method: 'post', + data + }) +} +// 企业名单修改 +export function putCompanyList(data) { + return request({ + url: '/safety/system/enterpriseList', + method: 'put', + data + }) +} +// 企业名单删除 +export function deleteCompanyList(params) { + return request({ + url: '/safety/system/enterpriseList/?' + params, + method: 'delete', + }) } \ No newline at end of file diff --git a/src/assets/companyFile/addicon.png b/src/assets/companyFile/addicon.png new file mode 100644 index 0000000..8e335c1 Binary files /dev/null and b/src/assets/companyFile/addicon.png differ diff --git a/src/assets/companyFile/deleteicon.png b/src/assets/companyFile/deleteicon.png new file mode 100644 index 0000000..3db77b8 Binary files /dev/null and b/src/assets/companyFile/deleteicon.png differ diff --git a/src/assets/companyFile/downicon.png b/src/assets/companyFile/downicon.png new file mode 100644 index 0000000..c92e21e Binary files /dev/null and b/src/assets/companyFile/downicon.png differ diff --git a/src/assets/companyFile/upicon.png b/src/assets/companyFile/upicon.png new file mode 100644 index 0000000..569a20b Binary files /dev/null and b/src/assets/companyFile/upicon.png differ diff --git a/src/assets/companyFile/uploadicon.png b/src/assets/companyFile/uploadicon.png new file mode 100644 index 0000000..dd19098 Binary files /dev/null and b/src/assets/companyFile/uploadicon.png differ diff --git a/src/views/systemManagement/companyList/components/clearDialog.vue b/src/views/systemManagement/companyList/components/clearDialog.vue index 686c23b..34d479c 100644 --- a/src/views/systemManagement/companyList/components/clearDialog.vue +++ b/src/views/systemManagement/companyList/components/clearDialog.vue @@ -14,16 +14,33 @@ > @@ -386,6 +475,7 @@ export default { .el-input__inner { width: 170px; border-radius: 0px; + border: 0.5px dashed; background: #3c4b4a; color: #fff; } @@ -403,7 +493,7 @@ export default { .jurisdiction { background: url("~@/assets/companyFile/242112.png") no-repeat !important; background-size: 100% 100% !important; - margin-top: 16px; + margin-top: px; } /* 为适应上传图片表单布局把企业工商表单拆分 */ .commerceMessage_one { @@ -423,11 +513,18 @@ export default { } .avatar-uploader-icon { font-size: 28px; + position: relative; color: #8c939d; - width: 178px; - height: 178px; - line-height: 178px; - text-align: center; + width: 220px; + height: 220px; + background: url("~@/assets/companyFile/uploadicon.png") center no-repeat !important; + background-size: 40% 40% !important; + div { + position: absolute; + top: 160px; + left: 16px; + font-size: 19px; + } } .avatar { width: 178px; @@ -455,10 +552,17 @@ export default { .el-checkbox { .el-checkbox__label { color: #fff; + padding-right: 10px; } } .el-checkbox.is-checked { - background: #edf6f2; + background: #3c4b4a; + border-radius: 0px; + border: 0.5px dashed; + text-shadow: 0 0 9px rgba(21, 255, 198, 0.64); + } + .el-checkbox__inner { + display: none; } } .el-textarea { @@ -467,6 +571,7 @@ export default { width: 650px; border-radius: 0px; background: #3c4b4a; + border: 0.5px dashed; color: #fff; } .el-textarea__inner:focus, diff --git a/src/views/systemManagement/companyList/index.vue b/src/views/systemManagement/companyList/index.vue index a194d01..e71837d 100644 --- a/src/views/systemManagement/companyList/index.vue +++ b/src/views/systemManagement/companyList/index.vue @@ -33,7 +33,7 @@