Commit 66fcd842 by 前端

UI改版

1 parent ca369f0e
......@@ -43,7 +43,7 @@
<!-- <GLButton v-if="userType != 2" fn="编辑" type="text" @click="addConfig(scope.scope.businessTypeName, scope.scope.id)">编辑</GLButton>
<GLButton v-if="userType != 2" fn="删除" type="text" @click="handleDel(scope.scope)">删除</GLButton>
<GLButton v-if="userType != 2" fn="下载活码" type="text" @click="handleDel(scope.scope)">下载活码</GLButton> -->
<GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3" ></GLTableButton>
<GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
</div>
</GLTable>
<div v-if="!hasData" class="default-box">
......@@ -63,7 +63,6 @@
<script>
const imagBaseURL = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/'
// import imagBaseURL from '@/assets/notExpert.png'
import glsxCombiForm from '@/components/glsx-combi-form'
import util from '@/util/util'
import url from '@/assets/empty.png'
import { downloadIamge } from '@/common/constant'
......@@ -178,13 +177,13 @@ export default {
label: '渠道活码',
prop: '',
addHtml: 'qrCode',
width: 200,
width: 200
},
{
label: '员工',
prop: '',
addHtml: 'staffName',
width: 200,
width: 200
},
{
label: '专家类型',
......@@ -218,9 +217,6 @@ export default {
}
}
},
components: {
glsxCombiForm
},
computed: {},
created() {
this.getDepartmentList()
......
......@@ -19,16 +19,19 @@
</div>
<!-- 表格区域 开始 -->
<el-button :size="size" style="float:right;margin-bottom:10px;" @click="handleExport">导出</el-button>
<el-button :size="size" plain style="float:right;margin-bottom:10px;" @click="handleExport">导出</el-button>
<GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div class="table-btns" slot="table-btns" slot-scope="scope">
<GLButton v-if="[2, 4, 5,7,8,9,10,11,12].includes(scope.scope.orderStatus)" fn="查看" type="text" @click="handleEdit(5, scope.scope)">查看</GLButton>
<el-button v-if="[2,8,10,11,12].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button>
<el-button v-if="[2,7,8,9,10,11,12].includes(scope.scope.orderStatus)" style="position: relative;" type="text" @click="handleUpload(scope.scope)">上传资料<span v-show="scope.scope.dataPerfection == 0" class="circule-tips"></span></el-button>
<GLButton v-if="[2, 4, 5, 7, 8, 9, 10, 11, 12].includes(scope.scope.orderStatus)" fn="查看" type="text" @click="handleEdit(5, scope.scope)">查看</GLButton>
<el-button v-if="[2, 8, 10, 11, 12].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button>
<el-button v-if="[2, 7, 8, 9, 10, 11, 12].includes(scope.scope.orderStatus)" style="position: relative;" type="text" @click="handleUpload(scope.scope)">
上传资料
<span v-show="scope.scope.dataPerfection == 0" class="circule-tips"></span>
</el-button>
<GLButton v-if="[0].includes(scope.scope.orderStatus)" fn="编辑" type="text" @click="handleEdit(2, scope.scope)">编辑</GLButton>
<GLButton v-if="[2,8,10,11].includes(scope.scope.orderStatus)&&(!scope.scope.hasPrint || userInfo.admin)" fn="修改" type="text" @click="handleEdit(3, scope.scope)">修改</GLButton>
<el-button v-if="[2,8,10,11].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button>
<GLButton v-if="[1,3, 4, 5].includes(scope.scope.orderStatus)" fn="重新提单" type="text" @click="handleEdit(4, scope.scope)">重新提单</GLButton>
<GLButton v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus) && (!scope.scope.hasPrint || userInfo.admin)" fn="修改" type="text" @click="handleEdit(3, scope.scope)">修改</GLButton>
<el-button v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button>
<GLButton v-if="[1, 3, 4, 5].includes(scope.scope.orderStatus)" fn="重新提单" type="text" @click="handleEdit(4, scope.scope)">重新提单</GLButton>
<el-button v-if="userInfo.admin" type="text" @click="showFailModal(scope.scope)">失败</el-button>
<!-- <GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton> -->
</div>
......@@ -799,7 +802,7 @@ export default {
this.$confirm('财务未审核,合同无法打印', {
confirmButtonText: '确定',
showCancelButton: false,
type:'error'
type: 'error'
})
return true
}
......@@ -936,8 +939,7 @@ export default {
handleSearch() {
this.$refs.equityRef.refreshTable()
this.$refs.equityRef.componentKey = Date.now()
this.$refs.equityRef.componentKey = Date.now()
},
handleReset() {
......@@ -1220,7 +1222,7 @@ export default {
{
label: '门店编码',
prop: 'sap',
width:150,
width: 150,
formatter: cellValue => {
return cellValue.sap || '-'
}
......@@ -1359,7 +1361,7 @@ export default {
label: '实际销售价',
prop: 'actualSalesPrice',
width: '160px',
align: 'right',
align: 'right',
formatter: cellValue => {
return cellValue.actualSalesPrice ? (cellValue.actualSalesPrice / 100).toFixed(2) : '-'
}
......@@ -1385,7 +1387,7 @@ export default {
label: '门店成本',
prop: 'costPrice',
width: '160px',
align: 'right',
align: 'right',
formatter: cellValue => {
return cellValue.costPrice ? (cellValue.costPrice / 100).toFixed(2) : '-'
}
......
......@@ -393,10 +393,15 @@ export default {
margin-right: 20px;
margin-left: 0;
display: inline-block;
border: none;
&.is-bordered.is-checked {
border-color: #5850ff;
}
.el-checkbox__label {
font-size: 14px;
}
.el-checkbox__input {
padding-top: 2px;
}
}
}
.main {
......
......@@ -95,7 +95,7 @@ export default {
{
label: '操作',
prop: '',
width: '100px',
width: '70px',
fixed: 'right',
addHtml: 'table-btns'
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!