ada
This commit is contained in:
parent
7fdbe23ca5
commit
df822e8324
@ -3,7 +3,9 @@
|
|||||||
<popup ref="popupRef" title="导出设置" width="500px" confirm-button-text="确认导出" @confirm="handleConfirm" :async="true"
|
<popup ref="popupRef" title="导出设置" width="500px" confirm-button-text="确认导出" @confirm="handleConfirm" :async="true"
|
||||||
@open="getData">
|
@open="getData">
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<el-button>导出</el-button>
|
<!-- <el-button>导出</el-button> -->
|
||||||
|
<li class="el-dropdown-menu__item action-menu-li" :tabindex="-1" role="menuitem" aria-disabled="false">导出
|
||||||
|
</li>
|
||||||
</template>
|
</template>
|
||||||
<div>
|
<div>
|
||||||
<el-form ref="formRef" :model="formData" label-width="120px" :rules="formRules">
|
<el-form ref="formRef" :model="formData" label-width="120px" :rules="formRules">
|
||||||
@ -130,3 +132,16 @@ const handleConfirm = async () => {
|
|||||||
}
|
}
|
||||||
// getData()
|
// getData()
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss">
|
||||||
|
.action-menu-li {
|
||||||
|
// transform: translateX(-10px);
|
||||||
|
background-color: red;
|
||||||
|
width: 70px;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-menu-li:hover {
|
||||||
|
background-color: #EDEFFF;
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="tit">项目跟进</div>
|
<div class="tit">项目跟进</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button v-perms="['project.project/add']" type="primary" @click="handleAdd" style="float: right;">
|
|
||||||
<template #icon>
|
|
||||||
<icon name="el-icon-Plus" />
|
|
||||||
</template>
|
|
||||||
新增
|
|
||||||
</el-button>
|
|
||||||
<el-table :data="tableData1" stripe style="width: 100%">
|
<el-table :data="tableData1" stripe style="width: 100%">
|
||||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||||
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
|
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
|
||||||
@ -32,8 +26,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<edit-popup v-if="showEdit" ref="editRef" @close="showEdit = false" :dict-data="dictData" @success="followUpLists"
|
|
||||||
:project="formData" />
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin: 20px 0;">
|
<div style="margin: 20px 0;">
|
||||||
@ -172,13 +164,6 @@ const props = defineProps({
|
|||||||
})
|
})
|
||||||
const { dictData } = useDictData('project_assurance,follow_status,follow_type,follow_stage')
|
const { dictData } = useDictData('project_assurance,follow_status,follow_type,follow_stage')
|
||||||
const showEdit = ref(false)
|
const showEdit = ref(false)
|
||||||
const editRef = ref(null)
|
|
||||||
// 添加
|
|
||||||
const handleAdd = async () => {
|
|
||||||
showEdit.value = true
|
|
||||||
await nextTick()
|
|
||||||
editRef.value?.open('add')
|
|
||||||
}
|
|
||||||
const tableData1 = ref([])
|
const tableData1 = ref([])
|
||||||
const tableData2 = ref([])
|
const tableData2 = ref([])
|
||||||
const tableData3 = ref([])
|
const tableData3 = ref([])
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
<el-dropdown-item @click="handleAdd">添加</el-dropdown-item>
|
<el-dropdown-item @click="handleAdd">添加</el-dropdown-item>
|
||||||
<el-dropdown-item> 编辑</el-dropdown-item>
|
<el-dropdown-item> 编辑</el-dropdown-item>
|
||||||
<el-dropdown-item> 删除</el-dropdown-item>
|
<el-dropdown-item> 删除</el-dropdown-item>
|
||||||
<el-dropdown-item> 导出</el-dropdown-item>
|
<export-data class="ml-2.5" :fetch-fun="baseData.fetchFun" :params="baseData.queryParams"
|
||||||
|
:page-size="15" />
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</template>
|
</template>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user