diff --git a/api/enterprise/index.js b/api/enterprise/index.js
index 3815201..b9b77be 100644
--- a/api/enterprise/index.js
+++ b/api/enterprise/index.js
@@ -23,7 +23,16 @@ export function getEnterPriseList(params) {
params
})
}
-
+/**
+ * 校验企业名
+ */
+export function vertifyName(params) {
+ return request({
+ url: `/system/enterprise/page`,
+ method: 'GET',
+ params
+ })
+}
/**
* 获取企业详情
* @param {Object} id
diff --git a/api/taglibrary/index.js b/api/taglibrary/index.js
new file mode 100644
index 0000000..2a8a5c9
--- /dev/null
+++ b/api/taglibrary/index.js
@@ -0,0 +1,51 @@
+import request from '@/utils/request'
+
+
+
+// 企业标签 API
+export const TagLibraryApi = {
+ // 查询企业标签分页
+ getTagLibraryPage(params) {
+ return request({
+ method: 'get',
+ url: '/system/tag-library/page',
+ params: params
+ })
+ },
+
+ // 查询企业标签详情
+ getTagLibrary(id) {
+ return request({
+ method: 'get',
+
+ url: '/system/tag-library/get?id=' + id
+ })
+ },
+
+ // 新增企业标签
+ createTagLibrary(data) {
+ return request({
+ method: 'post',
+ url: '/system/tag-library/create',
+ data: data
+ })
+ },
+
+ // 修改企业标签
+ updateTagLibrary(data) {
+ return request({
+ method: 'put',
+ url: '/system/tag-library/update',
+ data: data
+ })
+ },
+
+ // 删除企业标签
+ deleteTagLibrary(id) {
+ return request({
+ method: 'delete',
+ url: '/system/tag-library/delete?id=' + id
+ })
+ },
+
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..4cca23d
--- /dev/null
+++ b/package.json
@@ -0,0 +1,5 @@
+{
+ "dependencies": {
+ "crypto-js": "^4.0.0"
+ }
+}
diff --git a/pages/enterprise.vue b/pages/enterprise.vue
index 725c9d5..afdc7c3 100644
--- a/pages/enterprise.vue
+++ b/pages/enterprise.vue
@@ -1,398 +1,357 @@
-
-
-
-
- {
- querySelect(v, 'region')
- }
- "
- />
- {
- querySelect(v, 'hy')
- }
- "
- />
- {
- querySelect(v, 'st')
- }
- "
- />
- {
- querySelect(v, 'wr')
- }
- "
- />
-
-
-
-
-
-
- {{ enterprise.enterprisesName }}
-
-
-
-
- {{ enterprise.address }}
-
-
-
-
- {{
- $dict.echoDicValue(
- dictMap.enterprises_type,
- enterprise.type
- )
- }}
-
-
- {{
- $dict.echoDicValue(
- dictMap.enterprises_area,
- enterprise.region
- )
- }}
-
-
- {{ tag }}
-
-
-
-
- 待审核
-
-
-
-
-
-
+
+
+
+
+ {
+ querySelect(v, 'qy')
+ }
+ "
+ />
+ {
+ querySelect(v, 'hy')
+ }
+ "
+ />
+ {
+ querySelect(v, 'st')
+ }
+ "
+ />
+ {
+ querySelect(v, 'wr')
+ }
+ "
+ />
+
+
+
+
+
+
+ {{ enterprise.enterprisesName }}
+
+
+
+
+ {{ enterprise.address }}
+
+
+
+
+ {{
+ $dict.echoDicValue(
+ dictMap.enterprises_type,
+ enterprise.type
+ )
+ }}
+
+
+ {{
+ $dict.echoDicValue(
+ dictMap.enterprises_area,
+ enterprise.region
+ )
+ }}
+
+
+ {{ tag }}
+
+
+
+
+ 待审核
+
+
+
+
+
+
diff --git a/pages/index.vue b/pages/index.vue
index 0b444ed..07e0249 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,438 +1,461 @@
-
-
-
- {
- querySelect(v, 'deptId')
- }
- "
- />
- {
- querySelect(v, 'selectWeek')
- }
- "
- />
-
-
-
-
-
-
- 任务数量
-
-
-
- 执法记录
-
-
-
- 企业数量
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
- %
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
- {{ item.name }}
-
-
-
- {{ queryParams.type == 1 ? '天' : '次' }}
-
-
-
-
-
-
-
-
+
+
+
+ {
+ querySelect(v, 'deptId')
+ }
+ "
+ />
+ {
+ querySelect(v, 'selectWeek')
+ }
+ "
+ />
+
+
+
+
+
+
+ 任务数量
+
+
+
+ 执法记录
+
+
+
+ 企业数量
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+ %
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+ {{ queryParams.type == 1 ? '天' : '次' }}
+
+
+
+
+
+
+
+
diff --git a/pages/owner.vue b/pages/owner.vue
index 8e754db..1b869cf 100644
--- a/pages/owner.vue
+++ b/pages/owner.vue
@@ -54,7 +54,7 @@
-
+
+
政策法规
-
+
{
- this.policyTotal = res.data.total
+ this.policyTotal = res.data.total
})
},
openSubMessage() {
diff --git a/pages/task.vue b/pages/task.vue
index aeedd4d..8e65144 100644
--- a/pages/task.vue
+++ b/pages/task.vue
@@ -48,7 +48,7 @@
@scrolltolower="loadMore"
class="list"
:enable-flex="true"
- :style="{ maxHeight: `${listHeight}px` }"
+ :style="{ height: `${listHeight}px` }"
>
{
- this.listHeight = data.height - 55
+ this.listHeight = data.height - 55 - 25
})
.exec()
},
diff --git a/sub/chat/index.vue b/sub/chat/index.vue
index c18f51e..bfc353d 100644
--- a/sub/chat/index.vue
+++ b/sub/chat/index.vue
@@ -1,5 +1,6 @@
-
+
+