Browse Source

feat:非线场修改

dev-V1.2
ht 3 weeks ago
parent
commit
0188b268c7
  1. 8
      zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/nos/nosAdd.vue
  2. 12
      zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/nos/nosDetail.vue
  3. 19
      zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/nos/nosList.vue

8
zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/nos/nosAdd.vue

@ -134,10 +134,10 @@ const currentEditIndex = ref(-1);
// 选项数据(仅三种类别) // 选项数据(仅三种类别)
const categoryOptions = [ const categoryOptions = [
{ text: '行政检查', value: 1 }, { text: '非现场检查', value: 1 },
{ text: '材料备案', value: 2 }, { text: '云备案', value: 2 },
{ text: '材料验证', value: 3 }, { text: '云查证', value: 3 },
{ text: '巡查', value: 5 } { text: '云巡查', value: 5 }
]; ];
// 从列表页带入 tab 时锁定类别 // 从列表页带入 tab 时锁定类别

12
zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/nos/nosDetail.vue

@ -63,16 +63,16 @@ const router = useRouter()
const route = useRoute() const route = useRoute()
const TAB_TASK_TITLE_MAP = { const TAB_TASK_TITLE_MAP = {
1: '行政检查任务', 1: '非现场检查任务',
2: '材料备案任务', 2: '云备案任务',
3: '材料验证任务', 3: '云查证任务',
4: '待核实案件', 4: '非现场处罚',
5: '巡查任务' 5: '云巡查任务'
} }
const activeTab = ref('task') const activeTab = ref('task')
const taskTabTitle = computed(() => TAB_TASK_TITLE_MAP[route.query.tab] || '行政检查任务') const taskTabTitle = computed(() => TAB_TASK_TITLE_MAP[route.query.tab] || '非现场检查任务')
const taskDetail = ref({}) const taskDetail = ref({})
const taskItemList = ref([]) const taskItemList = ref([])

19
zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/nos/nosList.vue

@ -61,13 +61,13 @@ const router = useRouter();
const isLaw = $globalStore.useCommon.hasLaw const isLaw = $globalStore.useCommon.hasLaw
const TAB_LIST = isLaw ? [ const TAB_LIST = isLaw ? [
{ key: 1, title: '行政检查' }, { key: 1, title: '非现场检查' },
{ key: 2, title: '材料备案' }, { key: 2, title: '云备案' },
{ key: 3, title: '材料验证' }, { key: 3, title: '云查证' },
{ key: 5, title: '巡查' }, { key: 5, title: '云巡查' },
{ key: 4, title: '待核实' }, { key: 4, title: '非现场处罚' },
] : [ ] : [
{ key: 5, title: '巡查' }, { key: 5, title: '云巡查' },
]; ];
const activeTab = ref(1); const activeTab = ref(1);
@ -186,14 +186,15 @@ onActivated(() => {
} }
:deep(.van-tab) { :deep(.van-tab) {
flex: 1; flex: 1 1 auto;
font-size: 14px; font-size: clamp(12px, 3.5vw, 14px);
padding: 0 4px; padding: 0 2px;
justify-content: center; justify-content: center;
} }
:deep(.van-tab__text) { :deep(.van-tab__text) {
line-height: 20px; line-height: 20px;
white-space: nowrap;
} }
:deep(.van-tabs__line) { :deep(.van-tabs__line) {

Loading…
Cancel
Save