Commit 4c3dcba6 by wuwx

修改定向礼包样式

1 parent ece1a919
<!-- 编辑礼包 -->
<template>
<div class="edit-gift marketing edit-box">
<div v-if="routeInfo.addOrEdit != 'add'" class="container approval-container">
<!-- <div v-if="routeInfo.addOrEdit != 'add'" class="container approval-container">
<p class="edit-title">审批信息</p>
<div class="approval-info">
<div class="approval_label">审批人:{{ editForm.approveBy }}</div>
......@@ -14,7 +14,7 @@
<div class="approval_con">{{ editForm.approveExplain }}</div>
</div>
</div>
</div>
</div> -->
<div class="container edit-container">
<p class="edit-title">{{ title }}</p>
<glsx-combi-form v-loading="loading" class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="415px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
......
......@@ -11,7 +11,7 @@
</div>
<div class="container">
<div>
<GLCombiForm @handleOk="handleSearch" @handleRest="handleReset" ref="showSearch" :formObj="searchForm" :formData="searchFormData"></GLCombiForm>
<GLCombiForm @handleOk="handleSearch" :rowNumber="1" @handleRest="handleReset" ref="showSearch" :formObj="searchForm" :formData="searchFormData"></GLCombiForm>
<GLButton style="float:right;margin-bottom:10px;" :size="size" class="default-blue-btn" type="default" fn="导出" @click="handleExport">导出</GLButton>
</div>
......@@ -30,10 +30,10 @@
<div slot="name" slot-scope="scope">
<p class="cursor-pointer" @click="handleDetail(scope.scope)">{{ scope.scope.name }}</p>
</div>
<div style="display: flex;align-items: center;" slot="approveStatus" slot-scope="scope">
<!-- <div style="display: flex;align-items: center;" slot="approveStatus" slot-scope="scope">
<div class="approve-status" :style="{ 'background-color': approvalStatusColor[scope.scope.approveStatus - 1] }"></div>
<span>{{ approvalStatusVal[scope.scope.approveStatus - 1] }}</span>
</div>
</div> -->
<div class="table-btns" slot="auth-button" slot-scope="scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
</div>
......@@ -110,9 +110,9 @@ export default {
name: row => {
return '生成二维码'
},
condition: row => {
return row.scope.approveStatus == 2
},
// condition: row => {
// return row.scope.approveStatus == 2
// },
attrs: {
type: 'text',
fn: '生成二维码'
......@@ -148,15 +148,15 @@ export default {
maxlength: 30,
isClear: true
},
{
label: '审批状态',
name: 'approveStatus',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confName',
optionsName: 'approvalStatusList'
},
// {
// label: '审批状态',
// name: 'approveStatus',
// type: 'select',
// optionList: [],
// optionId: 'confId',
// optionLabel: 'confName',
// optionsName: 'approvalStatusList'
// },
{
label: '创建时间',
name: 'createDate',
......@@ -239,12 +239,12 @@ export default {
return cellValue.giveReason || '-'
}
},
{
label: '审批状态',
width: 150,
prop: 'approveStatus',
addHtml: 'approveStatus'
},
// {
// label: '审批状态',
// width: 150,
// prop: 'approveStatus',
// addHtml: 'approveStatus'
// },
{
label: '创建时间',
prop: 'createdDate',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!