|
@@ -27,68 +27,68 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="flex1 ov-hd pd-16">
|
|
|
|
|
- <vxe-table :data="list" border :loading="loading" min-height="0" max-height="100%">
|
|
|
|
|
- <vxe-column type="seq" title="序号" width="50">
|
|
|
|
|
- <template #default="{ $rowIndex }">
|
|
|
|
|
- {{ paramForm.pageSize * (paramForm.pageNum - 1) + $rowIndex + 1 }}
|
|
|
|
|
- </template>
|
|
|
|
|
- </vxe-column>
|
|
|
|
|
- <vxe-column field="batchSn" class-name="c-333 f-w-5" width="100" title="生成批号"></vxe-column>
|
|
|
|
|
- <vxe-column min-width="300" title="产品信息">
|
|
|
|
|
- <template #default="{ row }">
|
|
|
|
|
- <RowProGB :row="row"></RowProGB>
|
|
|
|
|
- </template>
|
|
|
|
|
- </vxe-column>
|
|
|
|
|
- <vxe-column field="cpyName" class-name="c-333 f-w-5" width="100" title="申请企业名称"></vxe-column>
|
|
|
|
|
- <vxe-column min-width="160" title="码数量" :formatter="colNoData">
|
|
|
|
|
- <template #default="{ row }">
|
|
|
|
|
- <div class="f-w-5 c-333">{{ row.codeAllCount || '-' }}</div>
|
|
|
|
|
- <div class="f-12 c-999">
|
|
|
|
|
- <template v-for="(item, index) in row?.codeInfo" :key="index">
|
|
|
|
|
- <div class="mr20">{{ item?.level }}级:{{ item?.count || 0 }}</div>
|
|
|
|
|
|
|
+ <div class="flex1 ov-hd pd-16 d-flex flex1 ov-hd flex-cln">
|
|
|
|
|
+ <div class="flex1 ov-hd">
|
|
|
|
|
+ <vxe-table :data="list" border :loading="loading" min-height="0" max-height="100%">
|
|
|
|
|
+ <vxe-column type="seq" title="序号" width="50">
|
|
|
|
|
+ <template #default="{ $rowIndex }">
|
|
|
|
|
+ {{ paramForm.pageSize * (paramForm.pageNum - 1) + $rowIndex + 1 }}
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </vxe-column>
|
|
|
|
|
+ <vxe-column field="batchSn" class-name="c-333 f-w-5" width="100" title="生成批号"></vxe-column>
|
|
|
|
|
+ <vxe-column min-width="300" title="产品信息">
|
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
|
+ <RowProGB :row="row"></RowProGB>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </vxe-column>
|
|
|
|
|
+ <vxe-column field="cpyName" class-name="c-333 f-w-5" width="100" title="申请企业名称"></vxe-column>
|
|
|
|
|
+ <vxe-column min-width="160" title="码数量" :formatter="colNoData">
|
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
|
+ <div class="f-w-5 c-333">{{ row.codeAllCount || '-' }}</div>
|
|
|
|
|
+ <div class="f-12 c-999">
|
|
|
|
|
+ <template v-for="(item, index) in row?.codeInfo" :key="index">
|
|
|
|
|
+ <div class="mr20">{{ item?.level }}级:{{ item?.count || 0 }}</div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </vxe-column>
|
|
|
|
|
+ <vxe-column field="useCount" width="80" title="使用记录" :formatter="colNoData">
|
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
|
+ <el-button v-if="row.useCount" @click="clickLookUseLog(row)" type="primary" text class="small-f-14" size="small">{{ row.useCount }}条</el-button>
|
|
|
|
|
+ <template v-else>-</template>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </vxe-column>
|
|
|
|
|
+ <vxe-column field="downloadCount" width="80" title="下载次数" :formatter="colNoData"></vxe-column>
|
|
|
|
|
+ <vxe-column field="downloadTime" width="110" title="最近下载时间" :formatter="colNoData"></vxe-column>
|
|
|
|
|
+ <vxe-column width="110" title="审核状态">
|
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
|
+ <div>{{ selectDictLabel(check_status, row?.res) || '-' }}</div>
|
|
|
|
|
+ <div class="f-s-12 c-#999" v-if="row?.res == '2'">理由: {{ row?.msg }}</div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </vxe-column>
|
|
|
|
|
+ <vxe-column width="110" title="生成状态" :formatter="colNoData">
|
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
|
+ <template v-if="row.status * 1 == 1">生成成功</template>
|
|
|
|
|
+ <template v-else-if="row.status * 1 == 11">未开始</template>
|
|
|
|
|
+ <template v-else>生成中</template>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </vxe-column>
|
|
|
|
|
+ <vxe-column field="remark" min-width="130" title="备注" :formatter="colNoData"></vxe-column>
|
|
|
|
|
+ <vxe-column field="createByName" min-width="100" title="创建人" :formatter="colNoData"></vxe-column>
|
|
|
|
|
+ <vxe-column field="createTime" width="110" title="创建时间" :formatter="colNoData"></vxe-column>
|
|
|
|
|
+ <vxe-column fixed="right" title="操作" align="center" width="240">
|
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
|
+ <template v-if="row?.res === '0'">
|
|
|
|
|
+ <el-button @click="handleApproval(row, '1')" type="success">审核通过</el-button>
|
|
|
|
|
+ <el-button @click="handleApproval(row, '2')" type="warning">审核不通过</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
- </div>
|
|
|
|
|
- </template>
|
|
|
|
|
- </vxe-column>
|
|
|
|
|
- <vxe-column field="useCount" width="80" title="使用记录" :formatter="colNoData">
|
|
|
|
|
- <template #default="{ row }">
|
|
|
|
|
- <el-button v-if="row.useCount" @click="clickLookUseLog(row)" type="primary" text class="small-f-14" size="small">{{ row.useCount }}条</el-button>
|
|
|
|
|
- <template v-else>-</template>
|
|
|
|
|
- </template>
|
|
|
|
|
- </vxe-column>
|
|
|
|
|
- <vxe-column field="downloadCount" width="80" title="下载次数" :formatter="colNoData"></vxe-column>
|
|
|
|
|
- <vxe-column field="downloadTime" width="110" title="最近下载时间" :formatter="colNoData"></vxe-column>
|
|
|
|
|
- <vxe-column width="110" title="审核状态">
|
|
|
|
|
- <template #default="{ row }">
|
|
|
|
|
- <div>{{ selectDictLabel(check_status, row?.res) || '-' }}</div>
|
|
|
|
|
- <div class="f-s-12 c-#999" v-if="row?.res == '2'">理由: {{ row?.msg }}</div>
|
|
|
|
|
- </template>
|
|
|
|
|
- </vxe-column>
|
|
|
|
|
- <vxe-column width="110" title="生成状态" :formatter="colNoData">
|
|
|
|
|
- <template #default="{ row }">
|
|
|
|
|
- <template v-if="row.status * 1 == 1">生成成功</template>
|
|
|
|
|
- <template v-else-if="row.status * 1 == 11">未开始</template>
|
|
|
|
|
- <template v-else>生成中</template>
|
|
|
|
|
- </template>
|
|
|
|
|
- </vxe-column>
|
|
|
|
|
- <vxe-column field="remark" min-width="130" title="备注" :formatter="colNoData"></vxe-column>
|
|
|
|
|
- <vxe-column field="createByName" min-width="100" title="创建人" :formatter="colNoData"></vxe-column>
|
|
|
|
|
- <vxe-column field="createTime" width="110" title="创建时间" :formatter="colNoData"></vxe-column>
|
|
|
|
|
- <vxe-column fixed="right" title="操作" align="center" width="240">
|
|
|
|
|
- <template #default="{ row }">
|
|
|
|
|
- <template v-if="row?.res === '0'">
|
|
|
|
|
- <el-button @click="handleApproval(row, '1')" type="success">审核通过</el-button>
|
|
|
|
|
- <el-button @click="handleApproval(row, '2')" type="warning">审核不通过</el-button>
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ </vxe-column>
|
|
|
|
|
+ <template #empty>
|
|
|
|
|
+ <Empty description="暂无数据"></Empty>
|
|
|
</template>
|
|
</template>
|
|
|
- </vxe-column>
|
|
|
|
|
- <template #empty>
|
|
|
|
|
- <Empty description="暂无数据"></Empty>
|
|
|
|
|
- </template>
|
|
|
|
|
- </vxe-table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="d-flex j-c" style="padding-top: 10px;">
|
|
|
|
|
|
|
+ </vxe-table>
|
|
|
|
|
+ </div>
|
|
|
<el-pagination v-model:page-size="paramForm.pageSize" background v-model:current-page="paramForm.pageNum" layout="total, sizes, prev, pager, next, jumper" :total="total" hide-on-single-page @size-change="changePageSize" @current-change="changePage" />
|
|
<el-pagination v-model:page-size="paramForm.pageSize" background v-model:current-page="paramForm.pageNum" layout="total, sizes, prev, pager, next, jumper" :total="total" hide-on-single-page @size-change="changePageSize" @current-change="changePage" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|