解决打包bug

This commit is contained in:
jia 2023-12-15 09:29:37 +08:00
parent 58d4e92a1a
commit 978ae6f75c
3 changed files with 84 additions and 5 deletions

View File

@ -20,8 +20,8 @@
<el-table-column label="组织名称" prop="approve_id" show-overflow-tooltip /> <el-table-column label="组织名称" prop="approve_id" show-overflow-tooltip />
<el-table-column label="项目名称" prop="buy_bidding_document_id" show-overflow-tooltip /> <el-table-column label="项目名称" prop="buy_bidding_document_id" show-overflow-tooltip />
<el-table-column label=" 部门名称" prop="contract_code" show-overflow-tooltip /> <el-table-column label="部门名称" prop="contract_code" show-overflow-tooltip />
<el-table-column label=" 申请人" prop="contract_type"> <el-table-column label="申请人" prop="contract_type">
<template #default="{ row }"> <template #default="{ row }">
<dict-value :options="dictData.contract_type" :value="row.contract_type" /> <dict-value :options="dictData.contract_type" :value="row.contract_type" />
</template> </template>

View File

@ -33,7 +33,7 @@
<el-table-column label="App标签" prop="custom_name" show-overflow-tooltip /> <el-table-column label="App标签" prop="custom_name" show-overflow-tooltip />
<el-table-column label="预算" prop="custom_name" show-overflow-tooltip /> <el-table-column label="预算" prop="custom_name" show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right"> <el-table-column label="操作" width="250" fixed="right">
<template #default="{ row }"> <template #default="{ row }">
<el-button v-perms="['project.project/edit']" type="primary" link @click="handleEdit(row)"> <el-button v-perms="['project.project/edit']" type="primary" link @click="handleEdit(row)">
编辑 编辑
@ -41,8 +41,17 @@
<el-button v-perms="['project.project/delete']" type="danger" link @click="handleDelete(row.id)"> <el-button v-perms="['project.project/delete']" type="danger" link @click="handleDelete(row.id)">
删除 删除
</el-button> </el-button>
<el-button v-perms="['project.project/detail']" link @click="handledetail(row)"> <!-- <el-button v-perms="['project.project/detail']" link @click="handledetail(row)">
详情 详情
</el-button> -->
<el-button v-perms="['project.project/detail']" link @click="handledqa(row)">
App标签
</el-button>
<el-button v-perms="['project.project/detail']" link @click="handledqc(row)">
预算
</el-button>
<el-button v-perms="['project.project/detail']" link @click="handledqc(row)">
标签
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -54,6 +63,52 @@
</el-card> </el-card>
<edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" />
<detail-popup v-if="showDtail" ref="detailRef" :dict-data="dictData" @close="showDtail = false" /> <detail-popup v-if="showDtail" ref="detailRef" :dict-data="dictData" @close="showDtail = false" />
<el-dialog v-model="dialogVisiblea" title="app标签" width="600px" :before-close="handleClose">
<div>
</div>
<template #footer>
<span class="dialog-footer">
<el-button @click="dialogVisiblea = false">取消</el-button>
<el-button type="primary" @click="submita"> 确定
</el-button>
</span>
</template>
</el-dialog>
<el-dialog v-model="dialogVisibleb" title="标签" width="600px" :before-close="handleClose">
<div>
</div>
<template #footer>
<span class="dialog-footer">
<el-button @click="dialogVisibleb = false">取消</el-button>
<el-button type="primary" @click="submitb"> 确定
</el-button>
</span>
</template>
</el-dialog>
<el-dialog v-model="dialogVisiblec" title="预算" width="600px" :before-close="handleClose">
<div>
</div>
<template #footer>
<span class="dialog-footer">
<el-button @click="dialogVisiblec = false">取消</el-button>
<el-button type="primary" @click="submitc"> 确定
</el-button>
</span>
</template>
</el-dialog>
</div> </div>
</template> </template>
@ -79,7 +134,32 @@ const queryParams = reactive({
}) })
//
const handledqa = (data: any) => {
dialogVisiblea.value = true
}
const handledqb = (data: any) => {
dialogVisibleb.value = true
}
const handledqc = (data: any) => {
dialogVisiblec.value = true
}
//
const dialogVisiblea = ref(false)
const dialogVisibleb = ref(false)
const dialogVisiblec = ref(false)
//
const submita = () => {
}
const submitb = () => {
}
const submitc = () => {
}
// //
const selectData = ref<any[]>([]) const selectData = ref<any[]>([])

View File

@ -167,7 +167,6 @@ import { apiQuotationAdd, apiQuotationEdit, apiQuotationDetail } from '@/api/quo
import { timeFormat } from '@/utils/util' import { timeFormat } from '@/utils/util'
import customDialog1 from '@/components/product/index.vue' import customDialog1 from '@/components/product/index.vue'
import reviewprocess from '@/components/reviewprocess/index.vue' import reviewprocess from '@/components/reviewprocess/index.vue'
const base_url = configs.baseUrl + configs.urlPrefix
import type { PropType } from 'vue' import type { PropType } from 'vue'
defineProps({ defineProps({
dictData: { dictData: {