diff --git a/src/api/baseData/externalAssistance.js b/src/api/baseData/externalAssistance.js new file mode 100644 index 0000000..6f4b844 --- /dev/null +++ b/src/api/baseData/externalAssistance.js @@ -0,0 +1,10 @@ +// 外协信息 +import request from "@/utils/request"; + +// 获取公司信息列表 +export async function getExternalAssistanceList() { + return await request({ + url: '/extend/systeminformation/GetExternalAssistanceList', + method: 'get', + }); +} \ No newline at end of file diff --git a/src/assets/style/common.scss b/src/assets/style/common.scss index 80ddec1..1c0b38d 100644 --- a/src/assets/style/common.scss +++ b/src/assets/style/common.scss @@ -73,6 +73,8 @@ a { line-height: 30px; .label { color: #000; + text-align: right; + padding: 0 5px; &.w-100 { width: 100px; } diff --git a/src/store/modules/meta.js b/src/store/modules/meta.js index 3380af2..eeec1c6 100644 --- a/src/store/modules/meta.js +++ b/src/store/modules/meta.js @@ -6,12 +6,15 @@ import { getSystemTypeList } from "@/api/common"; import { getAreaSelect } from "@/api/baseData/area"; // 系统分类 import { getSystemClassSelect } from "@/api/baseData/systemClass"; +// 外协列表 +import { getExternalAssistanceList } from "@/api/baseData/externalAssistance" const meta = { state: { system: '', // 系统类型 area: '', // 系统类型 systemClass: {}, + externalAssistanceList: '', // 外协 }, mutations: { @@ -24,6 +27,9 @@ const meta = { SET_SYSTEM_CLASS: (state, {key, data}) => { state.systemClass[key] = data; }, + SET_EXTERNALASSISTANCE_CLASS: (state, data) => { + state.externalAssistanceList = data; + }, }, actions: { @@ -42,6 +48,12 @@ const meta = { resolve(res.data) }).catch(error => { reject(error) }) break; + case 'externalAssistance': + getExternalAssistanceList().then(res => { + commit('SET_EXTERNALASSISTANCE_CLASS', res.data) + resolve(res.data) + }).catch(error => { reject(error) }) + break; default: break; diff --git a/src/store/modules/user.js b/src/store/modules/user.js index d17f412..f457d6d 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -18,6 +18,7 @@ const user = { userInfo: {}, menuList: [], socket: '', + islader: false, }, mutations: { @@ -50,7 +51,10 @@ const user = { }, SET_MENULIST: (state, menuList) => { state.menuList = menuList - } + }, + SET_ISLADER: (state, islader) => { + state.islader = islader + }, }, actions: { @@ -187,6 +191,8 @@ const user = { commit('SET_AVATAR', avatar) commit('SET_ADDRESS', userInfo.loginIPAddressName) commit('SET_USERINFO', userInfo) + // 是否为市级领导 + commit('SET_ISLADER', userInfo.organizeId == '580547494862128389') commit('SET_MENULIST', menuList) resolve(routerList) }).catch(error => { diff --git a/src/views/DisposalSuggestions/Form.vue b/src/views/DisposalSuggestions/Form.vue index e170dfc..36b689a 100644 --- a/src/views/DisposalSuggestions/Form.vue +++ b/src/views/DisposalSuggestions/Form.vue @@ -129,7 +129,7 @@ computed: { isSHILevel() { // 判断角色是否为‘市级办公室’ - return this.$store.state.user.userInfo.organizeId == '580547494862128389'; + return this.$store.state.user.islader; }, }, watch: {}, diff --git a/src/views/baseSpecialAction/Form.vue b/src/views/baseSpecialAction/Form.vue index cb5a337..f3bce50 100644 --- a/src/views/baseSpecialAction/Form.vue +++ b/src/views/baseSpecialAction/Form.vue @@ -28,7 +28,7 @@ - + - + + + + + + + - +
- 全选 - 反选 + 全选 + 反选
- - - + + + {{ item.fullName }} +
+ 全选 + 反选 +
+
+
+ + + + + + + 没有找到表单?点击设计表单 + + + + + + @@ -88,6 +117,15 @@ >确 定 + + + + diff --git a/src/views/baseSpecialAction/index.vue b/src/views/baseSpecialAction/index.vue index 97351db..30783cd 100644 --- a/src/views/baseSpecialAction/index.vue +++ b/src/views/baseSpecialAction/index.vue @@ -8,33 +8,21 @@ - + - + + + + - 查询 - 重置 + 查询 + 重置 @@ -45,94 +33,46 @@
- 新增 + 新增
- - - + + + + - - + + - - + + + - +
- + + + diff --git a/src/views/baseSpecialhandle/index.vue b/src/views/baseSpecialhandle/index.vue new file mode 100644 index 0000000..ac1beb4 --- /dev/null +++ b/src/views/baseSpecialhandle/index.vue @@ -0,0 +1,202 @@ + + + + \ No newline at end of file diff --git a/src/views/overView/Overview.vue b/src/views/overView/Overview.vue index 6ceadf3..d604f20 100644 --- a/src/views/overView/Overview.vue +++ b/src/views/overView/Overview.vue @@ -2,8 +2,8 @@
-
-
任务待办
+
+
事件中心
-
- +
-
通知公告
+
+
通知公告
+ + + +