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 = [
{ text: '行政检查', value: 1 },
{ text: '材料备案', value: 2 },
{ text: '材料验证', value: 3 },
{ text: '巡查', value: 5 }
{ text: '非现场检查', value: 1 },
{ text: '云备案', value: 2 },
{ text: '云查证', value: 3 },
{ text: '云巡查', value: 5 }
];
// 从列表页带入 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 TAB_TASK_TITLE_MAP = {
1: '行政检查任务',
2: '材料备案任务',
3: '材料验证任务',
4: '待核实案件',
5: '巡查任务'
1: '非现场检查任务',
2: '云备案任务',
3: '云查证任务',
4: '非现场处罚',
5: '云巡查任务'
}
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 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 TAB_LIST = isLaw ? [
{ key: 1, title: '行政检查' },
{ key: 2, title: '材料备案' },
{ key: 3, title: '材料验证' },
{ key: 5, title: '巡查' },
{ key: 4, title: '待核实' },
{ key: 1, title: '非现场检查' },
{ key: 2, title: '云备案' },
{ key: 3, title: '云查证' },
{ key: 5, title: '云巡查' },
{ key: 4, title: '非现场处罚' },
] : [
{ key: 5, title: '巡查' },
{ key: 5, title: '云巡查' },
];
const activeTab = ref(1);
@ -186,14 +186,15 @@ onActivated(() => {
}
:deep(.van-tab) {
flex: 1;
font-size: 14px;
padding: 0 4px;
flex: 1 1 auto;
font-size: clamp(12px, 3.5vw, 14px);
padding: 0 2px;
justify-content: center;
}
:deep(.van-tab__text) {
line-height: 20px;
white-space: nowrap;
}
:deep(.van-tabs__line) {

Loading…
Cancel
Save