Commit 66fcd842 by 前端

UI改版

1 parent ca369f0e
...@@ -43,7 +43,7 @@ ...@@ -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="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>
<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> </div>
</GLTable> </GLTable>
<div v-if="!hasData" class="default-box"> <div v-if="!hasData" class="default-box">
...@@ -63,7 +63,6 @@ ...@@ -63,7 +63,6 @@
<script> <script>
const imagBaseURL = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/' const imagBaseURL = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/'
// import imagBaseURL from '@/assets/notExpert.png' // import imagBaseURL from '@/assets/notExpert.png'
import glsxCombiForm from '@/components/glsx-combi-form'
import util from '@/util/util' import util from '@/util/util'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
import { downloadIamge } from '@/common/constant' import { downloadIamge } from '@/common/constant'
...@@ -178,13 +177,13 @@ export default { ...@@ -178,13 +177,13 @@ export default {
label: '渠道活码', label: '渠道活码',
prop: '', prop: '',
addHtml: 'qrCode', addHtml: 'qrCode',
width: 200, width: 200
}, },
{ {
label: '员工', label: '员工',
prop: '', prop: '',
addHtml: 'staffName', addHtml: 'staffName',
width: 200, width: 200
}, },
{ {
label: '专家类型', label: '专家类型',
...@@ -218,9 +217,6 @@ export default { ...@@ -218,9 +217,6 @@ export default {
} }
} }
}, },
components: {
glsxCombiForm
},
computed: {}, computed: {},
created() { created() {
this.getDepartmentList() this.getDepartmentList()
......
...@@ -19,16 +19,19 @@ ...@@ -19,16 +19,19 @@
</div> </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"> <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"> <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> <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, 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> <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="[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> <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> <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="[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> <el-button v-if="userInfo.admin" type="text" @click="showFailModal(scope.scope)">失败</el-button>
<!-- <GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton> --> <!-- <GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton> -->
</div> </div>
...@@ -799,7 +802,7 @@ export default { ...@@ -799,7 +802,7 @@ export default {
this.$confirm('财务未审核,合同无法打印', { this.$confirm('财务未审核,合同无法打印', {
confirmButtonText: '确定', confirmButtonText: '确定',
showCancelButton: false, showCancelButton: false,
type:'error' type: 'error'
}) })
return true return true
} }
...@@ -937,7 +940,6 @@ export default { ...@@ -937,7 +940,6 @@ export default {
handleSearch() { handleSearch() {
this.$refs.equityRef.refreshTable() this.$refs.equityRef.refreshTable()
this.$refs.equityRef.componentKey = Date.now() this.$refs.equityRef.componentKey = Date.now()
}, },
handleReset() { handleReset() {
...@@ -1220,7 +1222,7 @@ export default { ...@@ -1220,7 +1222,7 @@ export default {
{ {
label: '门店编码', label: '门店编码',
prop: 'sap', prop: 'sap',
width:150, width: 150,
formatter: cellValue => { formatter: cellValue => {
return cellValue.sap || '-' return cellValue.sap || '-'
} }
......
...@@ -393,10 +393,15 @@ export default { ...@@ -393,10 +393,15 @@ export default {
margin-right: 20px; margin-right: 20px;
margin-left: 0; margin-left: 0;
display: inline-block; display: inline-block;
border: none; &.is-bordered.is-checked {
border-color: #5850ff;
}
.el-checkbox__label { .el-checkbox__label {
font-size: 14px; font-size: 14px;
} }
.el-checkbox__input {
padding-top: 2px;
}
} }
} }
.main { .main {
......
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: '', prop: '',
width: '100px', width: '70px',
fixed: 'right', fixed: 'right',
addHtml: 'table-btns' addHtml: 'table-btns'
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!