Commit e0f535d9 authored by 郭铭瑶's avatar 郭铭瑶 🤘

组织机构对接数据

parent 9572cf86
...@@ -5,7 +5,7 @@ import store from '@/store' ...@@ -5,7 +5,7 @@ import store from '@/store'
const Axios = axios.create({ const Axios = axios.create({
baseURL: api.BASE_URL, baseURL: api.BASE_URL,
timeout: 15000, timeout: 20000,
}) })
Axios.interceptors.request.use( Axios.interceptors.request.use(
(config) => { (config) => {
......
...@@ -6,10 +6,9 @@ export const member = [ ...@@ -6,10 +6,9 @@ export const member = [
] ]
export const organization = [ export const organization = [
{ name: '荣获区级奖项党组织', type: 'primary' }, { name: '荣获区级奖项', type: 'primary' },
{ name: '荣获市级及以上奖项党组织', type: 'info' }, { name: '荣获市级及以上奖项', type: 'info' },
{ name: '光荣在当党50年', type: 'success' }, { name: '党建服务站', type: 'success' },
{ name: '党心暖我心', type: 'warning' },
] ]
export const activity = [ export const activity = [
{ name: '支部党员大会', type: 'primary' }, { name: '支部党员大会', type: 'primary' },
......
...@@ -281,7 +281,7 @@ const getDetail = async (type: string, name: string) => { ...@@ -281,7 +281,7 @@ const getDetail = async (type: string, name: string) => {
}) })
} else { } else {
res = await useFetchMember({ res = await useFetchMember({
q: `paths @ "标签" && string == "${name}"`, q: `paths @ "标签" && string @ "${name}"`,
}) })
} }
break break
......
...@@ -35,9 +35,7 @@ ...@@ -35,9 +35,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup></script>
import { organization } from '@/util/tags'
</script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
@import '../../components/MyComponent/main.styl' @import '../../components/MyComponent/main.styl'
......
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { organization } from '@/util/tags'
import dayjs from '@/util/dayjs' import dayjs from '@/util/dayjs'
import { computed, PropType } from '@vue/runtime-core' import { computed, PropType } from '@vue/runtime-core'
import { member } from '@/util/tags' import { member } from '@/util/tags'
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment