diff --git a/src/api/company-manage/index.js b/src/api/company-manage/index.js
index 0b447277..44a1d9d3 100644
--- a/src/api/company-manage/index.js
+++ b/src/api/company-manage/index.js
@@ -1,8 +1,14 @@
import request from '@/utils/request'
/**
- * @data 参数 公司注册接口
+ * @data 新增注册参数 公司注册接口
*/
export const addCompanyAPI = (data) => {
return request.post('/system/dept', data)
}
+/**
+ * @data 查询参数 公司列表查询接口
+ */
+export const getDeptListAPI = (data = {}) => {
+ return request.get('/system/dept/deptList', data)
+}
diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss
index 2f3b9ef9..c3267d9f 100644
--- a/src/assets/styles/index.scss
+++ b/src/assets/styles/index.scss
@@ -121,7 +121,12 @@ aside {
//main-container全局样式
.app-container {
+ height: calc(100vh - 84px);
padding: 20px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ overflow-y: auto;
}
.components-container {
diff --git a/src/components/TitleTip/index.vue b/src/components/TitleTip/index.vue
new file mode 100644
index 00000000..f9153944
--- /dev/null
+++ b/src/components/TitleTip/index.vue
@@ -0,0 +1,35 @@
+
+
+
+
+ {{ titleText }}
+
+
+
+
+
+
+
diff --git a/src/components/UploadModel/index.vue b/src/components/UploadModel/index.vue
new file mode 100644
index 00000000..91831dbd
--- /dev/null
+++ b/src/components/UploadModel/index.vue
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main.js b/src/main.js
index a691e07a..344c9e93 100644
--- a/src/main.js
+++ b/src/main.js
@@ -18,7 +18,14 @@ import './assets/icons' // icon
import './permission' // permission control
import { getDicts } from '@/api/system/dict/data'
import { getConfigKey } from '@/api/system/config'
-import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from '@/utils/bonus'
+import {
+ parseTime,
+ resetForm,
+ addDateRange,
+ selectDictLabel,
+ selectDictLabels,
+ handleTree,
+} from '@/utils/bonus'
// 分页组件
import Pagination from '@/components/Pagination'
// 自定义表格工具组件
@@ -37,6 +44,7 @@ import DictTag from '@/components/DictTag'
import VueMeta from 'vue-meta'
// 字典数据组件
import DictData from '@/components/DictData'
+import TitleTip from '@/components/TitleTip'
// 全局方法挂载
Vue.prototype.getDicts = getDicts
@@ -57,7 +65,8 @@ Vue.component('Editor', Editor)
Vue.component('FileUpload', FileUpload)
Vue.component('ImageUpload', ImageUpload)
Vue.component('ImagePreview', ImagePreview)
-import { get } from '@/utils/config' // 引入get方法
+Vue.component('TitleTip', TitleTip)
+import { get } from '@/utils/config' // 引入get方法
Vue.use(directive)
Vue.use(plugins)
Vue.use(VueMeta)
@@ -73,15 +82,14 @@ DictData.install()
*/
Vue.use(Element, {
- size: Cookies.get('size') || 'medium' // set element-ui default size
+ size: Cookies.get('size') || 'medium', // set element-ui default size
})
Vue.config.productionTip = false
new Vue({
- el: '#app',
- router,
- store,
- render: h => h(App)
+ el: '#app',
+ router,
+ store,
+ render: (h) => h(App),
})
-
diff --git a/src/views/company-manage/components/add-form.vue b/src/views/company-manage/components/add-form.vue
index 2aeca62f..701bc36f 100644
--- a/src/views/company-manage/components/add-form.vue
+++ b/src/views/company-manage/components/add-form.vue
@@ -2,16 +2,17 @@
- 公司信息
+
@@ -21,25 +22,30 @@
- 基础设置
+
-
+
-
+
+
+
+ 1、上传图片文件格式仅支持SVG;
+ 2、LOGO图片大小不超过3MB,尺寸100px * 100px;
+ 3、收集客户的logo请UI设计完成海购添加;
+ 4、默认智慧工地LOGO。
>> 恢复默认
+
+
- 默认管理员
+
-
-
+
+