|
|
|
|
@ -59,7 +59,7 @@
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" border :data="crmMailingApplyList" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
<el-table-column label="序号" type="index" width="60" align="center" />
|
|
|
|
|
<!-- <el-table-column label="序号" type="index" width="60" align="center" />-->
|
|
|
|
|
<el-table-column label="申请编号" align="center" prop="mailingApplyCode" min-width="140" />
|
|
|
|
|
<el-table-column label="申请日期" align="center" prop="applicationDate" width="120">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
@ -88,26 +88,26 @@
|
|
|
|
|
<dict-tag :options="logistics_status" :value="scope.row.logisticsStatus" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" align="center" fixed="right" width="200" class-name="small-padding fixed-width">
|
|
|
|
|
<el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<!-- 查看按钮:非草稿状态显示 -->
|
|
|
|
|
<el-tooltip content="查看" placement="top" v-if="scope.row.mailingApplyStatus !== '1'">
|
|
|
|
|
<el-button link type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['oa/crm:crmMailingApply:query']"></el-button>
|
|
|
|
|
<el-button link type="primary" icon="DocumentChecked" @click="handleView(scope.row)" v-hasPermi="['oa/crm:crmMailingApply:query']"></el-button>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<!-- 修改按钮:仅草稿状态显示 -->
|
|
|
|
|
<el-tooltip content="修改" placement="top" v-if="scope.row.mailingApplyStatus === '1'">
|
|
|
|
|
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['oa/crm:crmMailingApply:edit']"></el-button>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<!-- 审批记录按钮:审批中或已审批状态显示 -->
|
|
|
|
|
<el-tooltip content="审批记录" placement="top" v-if="scope.row.mailingApplyStatus === '2' || scope.row.mailingApplyStatus === '3'">
|
|
|
|
|
<el-button
|
|
|
|
|
link
|
|
|
|
|
type="primary"
|
|
|
|
|
icon="Tickets"
|
|
|
|
|
@click="handleApprovalRecord(scope.row)"
|
|
|
|
|
v-hasPermi="['oa/crm:crmMailingApply:query']"
|
|
|
|
|
></el-button>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<!-- <el-tooltip content="审批记录" placement="top" v-if="scope.row.mailingApplyStatus === '2' || scope.row.mailingApplyStatus === '3'">-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- link-->
|
|
|
|
|
<!-- type="primary"-->
|
|
|
|
|
<!-- icon="Tickets"-->
|
|
|
|
|
<!-- @click="handleApprovalRecord(scope.row)"-->
|
|
|
|
|
<!-- v-hasPermi="['oa/crm:crmMailingApply:query']"-->
|
|
|
|
|
<!-- ></el-button>-->
|
|
|
|
|
<!-- </el-tooltip>-->
|
|
|
|
|
<!-- 删除按钮:仅草稿状态显示 -->
|
|
|
|
|
<el-tooltip content="删除" placement="top" v-if="scope.row.mailingApplyStatus === '1'">
|
|
|
|
|
<el-button
|
|
|
|
|
|