🌈 style: 代码样式更改

This commit is contained in:
ycy 2024-05-24 15:00:23 +08:00
parent 2bc47b5995
commit 47c42cc058
5 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
<template>
<doc-alert title="流程表达式" url="https://doc.iocoder.cn/bpm/expression/" />
<!-- <doc-alert title="流程表达式" url="https://doc.iocoder.cn/bpm/expression/" /> -->
<ContentWrap>
<!-- 搜索工作栏 -->
@ -122,7 +122,7 @@ const { t } = useI18n() // 国际化
const loading = ref(true) //
const list = ref<ProcessExpressionVO[]>([]) //
const total = ref(0) //
const queryParams = reactive({
const queryParams: any = reactive({
pageNo: 1,
pageSize: 10,
name: undefined,
@ -130,7 +130,7 @@ const queryParams = reactive({
createTime: []
})
const queryFormRef = ref() //
const exportLoading = ref(false) //
// const exportLoading = ref(false) //
/** 查询列表 */
const getList = async () => {

View File

@ -110,7 +110,7 @@ const { push, currentRoute } = useRouter() // 路由
const message = useMessage() //
const { delView } = useTagsViewStore() //
const processInstanceId = route.query.processInstanceId
const processInstanceId: any = route.query.processInstanceId
const loading = ref(true) //
const categoryList:any = ref([]) //
const categoryActive = ref('') //
@ -138,7 +138,7 @@ const getList = async () => {
return
}
const processDefinition = processDefinitionList.value.find(
(item) => item.key == processInstance.processDefinition?.key
(item: any) => item.key == processInstance.processDefinition?.key
)
if (!processDefinition) {
message.error('重新发起流程失败,原因:流程定义不存在')
@ -152,13 +152,13 @@ const getList = async () => {
}
/** 选中分类对应的流程定义列表 */
const categoryProcessDefinitionList = computed(() => {
return processDefinitionList.value.filter((item) => item.category == categoryActive.value)
const categoryProcessDefinitionList: any = computed(() => {
return processDefinitionList.value.filter((item: any) => item.category == categoryActive.value)
})
// ========== ==========
const fApi = ref<ApiAttrs>()
const detailForm = ref({
const detailForm: any = ref({
rule: [],
option: {},
value: {}

View File

@ -278,7 +278,7 @@ const { t } = useI18n() // 国际化
const loading = ref(true) //
const total = ref(0) //
const list = ref([]) //
const queryParams = reactive({
const queryParams: any = reactive({
pageNo: 1,
pageSize: 10,
sceneType: '1', // activeName
@ -294,7 +294,7 @@ const customerList = ref<CustomerApi.CustomerVO[]>([]) // 客户列表
/** tab 切换 */
const handleTabClick = (tab: TabsPaneContext) => {
queryParams.sceneType = tab.paneName
queryParams.sceneType = tab.paneName!.toString()
handleQuery()
}

View File

@ -185,7 +185,7 @@ const openForm = (type: string, id?: number) => {
}
/** 打开详情 */
const { currentRoute, push } = useRouter()
const { push } = useRouter()
const openDetail = (id: number) => {
push({ name: 'CrmProductDetail', params: { id } })
}

View File

@ -219,7 +219,7 @@ const message = useMessage() // 消息弹窗
const loading = ref(true) //
const total = ref(0) //
const list = ref([]) //
const queryParams = reactive({
const queryParams: any = reactive({
pageNo: 1,
pageSize: 10,
nickname: null,