Commit f3b24ee3 by zhangquan

提交代码

1 parent 118e50f5
This diff could not be displayed because it is too large.
......@@ -541,4 +541,14 @@
margin-left: 8px;
}
}
}
.global-title {
padding: 0 20px;
font-size: 20px;
font-weight: 600;
height: 60px;
line-height: 60px;
border-bottom: 1px solid #d8d8d8;
color: #333;
}
\ No newline at end of file
<template>
<div class="upload-wrap">
<label v-if="name" class="label" for="">{{name}}</label>
<div class="add-img" :style="defaultStyle">
<i class="el-icon-plus add"></i>
<p>上传照片</p>
</div>
</div>
</template>
<script>
export default {
name: 'Upload',
props: {
name: {
type: String,
default: ''
},
url: {
type: String,
default: ''
},
key: {
type: String,
default: ''
},
defaultStyle: {
type: Object,
default: ()=>{
return {}
}
}
},
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.upload-wrap{
cursor: pointer;
.label{
display: inline-block;
vertical-align: top;
width: 154px;
height: 20px;
font-size: 14px;
color: #333333;
text-align: right;
line-height: 20px;
box-sizing: border-box;
}
.add-img{
box-sizing: border-box;
width: 104px;
height: 104px;
background: #0000000a;
border: 1px dashed #00000026;
border-radius: 4px;
display: inline-flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #666666;
.add {
font-size: 18px;
}
p {
height: 32px;
line-height: 32px;
}
}
}
</style>
\ No newline at end of file
<template>
<div class="table-wrap">
<table>
<tr>
<th rowspan="2">规格</th>
<th rowspan="2">价格区间(万元)</th>
<th rowspan="2">价格系数</th>
<th colspan="2">1年版</th>
<th colspan="2">2年版</th>
<th colspan="2">3年版</th>
</tr>
<tr>
<th>上架成本</th>
<th>销售成本</th>
<th>上架成本</th>
<th>销售成本</th>
<th>上架成本</th>
<th>销售成本</th>
</tr>
<tr>
<td rowspan="4">A</td>
<td>标准</td>
<td>-</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>标准</td>
<td>-</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>标准</td>
<td>-</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>标准</td>
<td>-</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</template>
<script>
export default {
name: 'ServicesTable',
props: {
name: {
type: String,
default: ''
},
url: {
type: String,
default: ''
},
key: {
type: String,
default: ''
}
},
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.table-wrap{
th, td{
border: 1px solid #E5E5E5;
padding: 0 16px;
vertical-align: middle;
text-align: center;
}
th{
background: #F4F6FC;
font-weight: 600;
font-size: 14px;
color: #333333;
}
td{
font-weight: 400;
font-size: 14px;
color: #666666;
}
}
</style>
\ No newline at end of file
<template>
<div class="table-wrap">
<table>
<tr>
<th rowspan="2">规格</th>
<th rowspan="2">价格区间(万元)</th>
<th rowspan="2">价格系数</th>
<th colspan="2" v-for="(item, index) in list" :key="index">{{item.name}}</th>
</tr>
<tr>
<template v-for="(item, index) in list">
<th :key="index">上架成本</th>
<th :key="index">销售成本</th>
</template>
</tr>
<tr>
<td rowspan="4">A</td>
<td>标准</td>
<td>-</td>
<template v-for="(item, index) in list">
<td :key="index"><el-input></el-input></td>
<td :key="index"> <el-input></el-input></td>
</template>
</tr>
<tr v-for="(item, index) in [1,2,3]" :key="index">
<td class="price">
<el-input></el-input>
<span class="sign">-</span>
<el-input></el-input>
</td>
<td><el-input></el-input></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr class="desc-wrap">
<td colspan="9">
<div class="desc">
<label for="">服务条款概述:</label>
<el-input
type="textarea"
:rows="3"
placeholder="请输入内容"
v-model="textarea">
</el-input>
</div>
</td>
</tr>
<tr class="desc-wrap">
<td colspan="9">
<div class="desc">
<label for="">规格详细描述:</label>
<el-input
type="textarea"
:rows="3"
placeholder="请输入内容"
v-model="textarea">
</el-input>
</div>
</td>
</tr>
</table>
</div>
</template>
<script>
export default {
name: 'ServicesTable',
props: {
name: {
type: String,
default: ''
},
url: {
type: String,
default: ''
},
key: {
type: String,
default: ''
}
},
data() {
return {
list:[
{
name: '1年版',
shelfPrice: '2',
salePrice: '3'
},
{
name: '2年版',
shelfPrice: '4',
salePrice: '5'
},
{
name: '3年版',
shelfPrice: '6',
salePrice: '7'
}
]
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.table-wrap{
th, td{
border: 1px solid #E5E5E5;
padding: 0 16px;
vertical-align: middle;
text-align: center;
}
th{
background: #F4F6FC;
font-weight: 600;
font-size: 14px;
color: #333333;
}
td{
font-weight: 400;
height: 56px;
font-size: 14px;
color: #666666;
}
.price{
width: 136px;
.sign{
margin: 0 6px;
}
.el-input{
width: 42px;
}
}
.desc-wrap{
height: 88px;
.desc{
display: flex;
label{
white-space: nowrap;
}
}
}
}
</style>
\ No newline at end of file
<template>
<div class="upload-wrap">
<label v-if="name" class="label" for="">{{name}}</label>
<div class="add-img" :style="defaultStyle">
<i class="el-icon-plus add"></i>
<p>上传照片</p>
</div>
</div>
</template>
<script>
export default {
name: 'Upload',
props: {
name: {
type: String,
default: ''
},
url: {
type: String,
default: ''
},
key: {
type: String,
default: ''
},
defaultStyle: {
type: Object,
default: ()=>{
return {}
}
}
},
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.upload-wrap{
cursor: pointer;
.label{
display: inline-block;
vertical-align: top;
width: 154px;
height: 20px;
font-size: 14px;
color: #333333;
text-align: right;
line-height: 20px;
box-sizing: border-box;
}
.add-img{
box-sizing: border-box;
width: 104px;
height: 104px;
background: #0000000a;
border: 1px dashed #00000026;
border-radius: 4px;
display: inline-flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #666666;
.add {
font-size: 18px;
}
p {
height: 32px;
line-height: 32px;
}
}
}
</style>
\ No newline at end of file
......@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = true) {
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// }
return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get(' https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config')
return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get(' https://oss-config.dev.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config')
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
}
......
import { Quill } from 'vue-quill-editor'
const Parchment = Quill.imports.parchment;
const Delta = Quill.imports.delta;
class Label extends Parchment.Embed {
static create(value) {
const node = super.create(value);
node.innerText = value;
node.contentEditable = 'false';
this._addRemovalButton(node);
return node;
}
static value(node) {
return node.childNodes[0].textContent;
}
static _addRemovalButton(node) {
console.log(123)
const button = document.createElement('button');
button.innerText = 'x';
button.onclick = () => node.remove();
button.contentEditable = 'false';
node.appendChild(button);
// Extra span forces the cursor to the end of the label, otherwise it appears inside the removal button
const span = document.createElement('span');
span.innerText = ' ';
node.appendChild(span);
}
}
Label.blotName = 'label';
Label.tagName = 'SPAN';
Label.className = 'ql-label';
export default Label
// Quill.register(Label);
\ No newline at end of file
<template>
<div class="container">
<div class="global-title">编辑</div>
<div class="main">
<div class="edit-bar">
<FoldFrame name="Logo区域">
<div class="bar-content">
<Upload name="Logo图:" :defaultStyle="{width:'208px'}"></Upload>
<span class="upload-tip">建议高度:48px</span>
</div>
</FoldFrame>
<FoldFrame name="合同介绍区域">
<div class="bar-content">
<label for="" class="content-label">标题和介绍:</label>
<quill-editor ref="myQuillEditor" class="quill" v-model="serviceContent" :options="editorOption"></quill-editor>
<div>
<i class="el-icon-circle-plus"></i>购买条件
</div>
</div>
</FoldFrame>
</div>
<div class="preview-area">
<el-button @click="insertContent">dasdsa</el-button>
<div v-html="serviceContent"></div>
</div>
</div>
</div>
</template>
<script>
import FoldFrame from './components/FoldFrame'
import Upload from '@/components/Upload'
import { quillEditor, Quill } from 'vue-quill-editor'
import Label from '@/util/quillTool'
Quill.register(Label, true)
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
export default {
name: 'AddTmpl',
components:{
quillEditor,
Upload,
FoldFrame
},
data() {
return {
serviceContent: '',
editorOption: {
modules: {
toolbar: {
container: [
['bold', 'italic', 'underline', 'strike'],
// [{ list: 'ordered' }],
// [{ script: 'sub' }, { script: 'super' }],
[{ color: [] }, { background: [] }],
[{'indent': '-1'}, {'indent': '+1'}],
[{ align: [] }],
[{ size: ['small', false, 'large', 'huge'] }],
// ['clean']
// ['link', 'image']
],
// handlers: {
// label:()=>{
// this.insertContent()
// }
// }
}
}
},
}
},
mounted() {
},
methods: {
insertContent(){
// // 文本内容
// const text = 'hello'
// // 获取编辑器对象
// let quill = this.$refs.myQuillEditor.quill;
// // 获取编辑器光标位置
// let index = quill.selection.savedRange.index;
// // 插入文本至光标位置,
// // quill.insertText(index, text);
// // quill.clipboard.dangerouslyPasteHTML(index, `<span>&nbsp;</span><span style="color: '#26a2ff'">${text}</span><span>&nbsp;</span>`);
// quill.clipboard.dangerouslyPasteHTML(5, '&nbsp;<b>World</b>');
// // 重新计算index
// index+=text.length
// // 移动光标至文本后面
// quill.setSelection(index);
let quill = this.$refs.myQuillEditor.quill;
let length = quill.selection.savedRange.index;
quill.insertEmbed(length, 'label', 132);
// 调整光标到最后
quill.setSelection(length + 1);
}
}
}
</script>
<style lang="scss" scoped>
.container{
background-color: #fff;
.main{
padding: 10px 20px 32px;
.edit-bar{
.bar-content{
background: #F9F9F9;
padding: 20px;
margin-bottom: 10px;
.content-label{
width: 154px;
display: inline-block;
vertical-align: top;
height: 20px;
font-weight: 400;
font-size: 14px;
color: #333333;
text-align: right;
line-height: 20px;
}
.upload-wrap{
display: inline-block;
}
.upload-tip{
height: 20px;
font-weight: 400;
font-size: 14px;
color: #999999;
vertical-align: bottom;
margin-left: 10px;
}
.quill{
background-color: #fff;
display: inline-block;
}
}
}
}
}
</style>
\ No newline at end of file
<template>
<div>
<div class="bar-title" @click="changeStatus()">
<i class="el-icon-caret-right btn" v-if="!isExpansion"></i>
<i class="el-icon-caret-bottom btn" v-else></i>
<span class="title">{{name}}</span>
</div>
<slot v-if="isExpansion"></slot>
</div>
</template>
<script>
export default {
name: 'FoldFrame',
props: {
name: {
type: String,
default: ''
}
},
data() {
return {
isExpansion: false
}
},
methods: {
changeStatus(){
this.isExpansion = !this.isExpansion
}
}
}
</script>
<style lang="scss" scoped>
.bar-title{
font-weight: 600;
font-size: 14px;
color: #000000d9;
height: 40px;
line-height: 40px;
padding: 0 20px;
cursor: pointer;
.btn{
margin-right: 9px;
font-size: 16px;
}
}
</style>
\ No newline at end of file
<template>
<div class="container">
<div class="find_wrap">
<GLCombiForm ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
</div>
<div class="table_wrapper">
<div class="operate_wrap">
<span class="table_title">合同列表</span>
<div class="operate_btn">
<el-button :size="size" @click="handleExport">导出</el-button>
</div>
</div>
<GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div slot="serviceContent" slot-scope="scope">
<div v-html="scope.scope.serviceContent"></div>
</div>
<span slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
</span>
</GLTable>
</div>
</div>
</template>
<script>
import * as dayjs from 'dayjs'
import utils from '../../util/util'
export default {
name: 'equityList',
components:{
},
data() {
return {
size: 'small',
buttonList: [
{
type: 'el-button',
name: row => {
return '打印'
},
attrs: {
type: 'text'
},
listeners: {
click: row => this.addClause(2,row.scope)
}
},
{
type: 'el-button',
name: row => {
return '编辑'
},
attrs: {
type: 'text'
},
listeners: {
click: row => this.editContract(row.scope)
}
}
],
searchForm: {
serviceName: '',
createdDate: '',
updatedDate: ''
},
tableSearchForm: {},
searchFormData: [
{
label: '商户名称',
name: 'serveiceName',
type: 'input',
isClear: true,
},
{
label: '创建时间',
name: 'createdDate',
type: 'datePicker',
labelWidth: 95,
isClear: true,
pickerOptions: 'beforeRangePickerOptions'
},
{
label: '更新时间',
name: 'updatedDate',
type: 'datePicker',
labelWidth: 95,
isClear: true,
pickerOptions: 'beforeRangePickerOptions'
}
],
// 表格
getListApi: this.$apis.serviceConfig.getEquityList,
tableParams: {
listName: 'list',
tableOption: true,
tableColumns: [
{
label: '合同编号',
prop: 'sno',
width: 200
},
{
label: '商户名称',
prop: 'serviceName'
},
{
label: '创建时间',
prop: 'createDate',
width: 200,
formatter: cellValue => {
return cellValue.createDate ? dayjs(cellValue.createDate).format('YYYY-MM-DD HH:mm:ss') : '--'
}
},
{
label: '更新时间',
prop: 'updateDate',
width: 200,
formatter: cellValue => {
return cellValue.updateDate ? dayjs(cellValue.updateDate).format('YYYY-MM-DD HH:mm:ss') : '--'
}
},
{
label: '操作人',
prop: 'updateBy',
width: 140
}
]
},
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
}
},
mounted() {
},
methods: {
getParams() {
let params = JSON.parse(JSON.stringify(this.searchForm))
if (this.searchForm?.createdDate?.length) {
params.minCreateTime = new Date(this.searchForm.createdDate[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
params.maxCreateTime = new Date(this.searchForm.createdDate[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
}
if (this.searchForm?.updatedDate?.length) {
params.minUpdateTime = new Date(this.searchForm.updatedDate[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
params.maxUpdateTime = new Date(this.searchForm.updatedDate[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
}
delete params.createdDate
delete params.updatedDate
return {...params}
},
beforeSearchFn() {
return new Promise(resolve => {
this.tableSearchForm = this.getParams()
resolve()
})
},
// 导出
handleExport() {
var params = this.getParams()
this.$apis.serviceConfig.exportEquityApi(params).then(res => {
// window.open(res)
let tempaa = utils.getExplorer()
if (tempaa == 'QQ') {
window.open(res)
} else {
let iframe = document.createElement('iframe')
iframe.style.display = 'none'
iframe.src = res
document.body.appendChild(iframe)
}
})
},
handleSearch() {
this.$refs.equityRef.refreshTable()
},
handleReset() {
this.searchForm = {
serviceName: '',
createdDate: '',
updatedDate: ''
}
this.handleSearch()
},
editContract(row) {
const { id, merchantId } = row || {}
let query = {
id
}
const queryStr = encodeURIComponent(JSON.stringify(query))
this.$router.push('/ContractManager/addTmpl/' + id)
}
}
}
</script>
<style lang="scss" scoped>
.find_wrap {
background: #ffffff;
padding: 20px 20px 2px 20px;
.resetBtn {
background: #ffffff;
color: #5850ff;
border: 1px solid #5850ff;
}
.m-r-l-20 {
margin: 0 20px;
}
}
.table_wrapper {
background: #ffffff;
padding: 0 20px 20px;
}
</style>
\ No newline at end of file
<template>
<div class="container">
<template v-if="firstPage">
<div class="base-info">
<div class="global-title">基本信息</div>
<div class="main-wrap">
<glsx-combi-form ref="editFormRefCar" labelWidth="154px" :isInline="false" :formObj.sync="formObj" :formData="formData" :formRules="editRuleCar">
<div slot="timeLimitSlot">
<el-checkbox-group v-model="formObj.nianxian">
<el-checkbox v-for="city in cities" :label="city" :key="city">{{city}}</el-checkbox>
</el-checkbox-group>
</div>
<div slot="logoSettingSlot" class="logo-setting">
<Upload v-for="(item,idx) in formObj.logo" :key="idx" :name="item.name"></Upload>
<span class="upload-tip">建议尺寸:88px*88px,图片格式为jpg,jpeg,png</span>
</div>
</glsx-combi-form>
</div>
</div>
<div class="services-wrap">
<div class="global-title">服务介绍</div>
<div class="main-wrap">
<glsx-combi-form ref="editFormRefCar" labelWidth="154px" :isInline="false" :formObj.sync="formObj" :formData="servicesformData" :formRules="editRuleCar">
<div slot="buyConditionSlot" class="buy-condition">
<el-checkbox-group v-model="formObj.nianxian">
<el-checkbox v-for="(city,index) in cities" :key="city">
<span>条件{{index+1}}</span>
<span class="condition">
asdasdasdasdasdasdasdasdasd
</span>
<i class="el-icon-delete del" @click.prevent="delCondition($event)"></i>
</el-checkbox>
</el-checkbox-group>
<div class="add-btn">
<i class="el-icon-circle-plus-outline"></i>
新增条件
</div>
</div>
<div slot="logoSettingSlot" class="logo-setting">
<Upload v-for="(item,idx) in formObj.logo" :key="idx" :name="item.name"></Upload>
<span class="upload-tip">建议尺寸:88px*88px,图片格式为jpg,jpeg,png</span>
</div>
</glsx-combi-form>
</div>
</div>
</template>
<template v-else>
<div class="setting-wrap">
<div class="global-title">规格和成本设置</div>
<div class="main-wrap">
<glsx-combi-form ref="editFormRefCar" labelWidth="154px" :isInline="false" :formObj.sync="formObj" :formData="settingformData" :formRules="editRuleCar">
<div slot="specConfigSlot">
<ServicesTable></ServicesTable>
<div class="add-btn">
<i class="el-icon-circle-plus-outline"></i>
新增规格
</div>
</div>
</glsx-combi-form>
</div>
</div>
</template>
<div class="footer-btn">
<el-button @click="addClause(1)">取消</el-button>
<el-button type="primary" @click="firstPage = true">上一步</el-button>
<el-button type="primary" @click="nextStep">下一步</el-button>
</div>
</div>
</template>
<script>
import glsxCombiForm from '@/components/glsx-combi-form'
import Upload from '@/components/Upload'
import ServicesTable from '@/components/ServicesTable'
export default {
name: 'addService',
components:{
glsxCombiForm,
Upload,
ServicesTable
},
data() {
return {
firstPage: true,
cities: ['上海', '北京', '广州', '深圳'],
formObj:{
serviceName: '',
nianxian: '',
logo:[
{
name: '未激活:',
url: ''
},
{
name: '已激活:',
url: ''
},
{
name: '详情页Logo:',
url: ''
}
]
},
formData:[
{
label: '服务项目名称:',
name: 'serviceName',
type: 'input',
maxlength: 8
},
{
label: '销售年限:',
name: 'nianxian',
addHtml: 'timeLimitSlot'
},
{
label: 'Logo设置:',
addHtml: 'logoSettingSlot'
},
],
servicesformData: [
{
label: '购买条件:',
name: 'buyCondition',
addHtml: 'buyConditionSlot'
},
{
label: '前提条件:',
type: 'input',
inputType: 'textarea'
},
{
label: '除外责任:',
name: 'nianxian',
addHtml: 'timeLimitSlot'
},
{
label: '服务资料:',
type: 'input',
inputType: 'textarea'
},
],
settingformData: [
{
label: '每月投保成本/元:',
type: 'input'
},
{
label: '规格成本/元:',
type: 'input'
},
{
label: '规格配置:',
name: 'nianxian',
addHtml: 'specConfigSlot'
},
]
}
},
created() {
},
mounted() {
},
methods: {
delCondition(){
console.log(123)
},
nextStep(){
this.firstPage = false
}
}
}
</script>
<style lang="scss" scoped>
.container{
.main-wrap{
padding: 32px 20px;
.add-btn{
color: #5850FF;
cursor: pointer;
i{
font-size: 20px;
vertical-align: middle;
}
}
}
.base-info{
background-color: #fff;
/deep/ .glsx-combi-form-block{
.el-form-item:last-child{
margin: 0;
}
}
.logo-setting{
width: 778px;
background: #F9F9F9;
padding: 20px 0;
.upload-wrap{
margin-bottom: 20px;
&:nth-child(3){
margin-bottom: 0;
}
}
.upload-tip{
margin-left: 154px;
height: 20px;
font-weight: 400;
font-size: 14px;
color: #999999;
}
}
}
.services-wrap{
margin-top: 20px;
background-color: #fff;
.buy-condition{
.condition{
height: 32px;
line-height: 32px;
background: #F5F7FA;
border-radius: 4px;
padding: 0 12px;
font-size: 14px;
color: #333333;
margin-left: 8px;
}
.el-checkbox{
display: block;
}
.del{
color: #C6C6C6;
margin-left: 8px;
}
}
}
.setting-wrap{
background-color: #fff;
}
.footer-btn{
text-align: center;
margin-top: 16px;
}
}
</style>
\ No newline at end of file
......@@ -60,29 +60,22 @@
}
],
searchForm: {
merchantName: '',
serviceName: '',
serviceContent: '',
status: '',
createdDate: '',
updatedDate: ''
},
tableSearchForm: {},
searchFormData: [
{
label: '商户名称',
name: 'merchantName',
type: 'input',
isClear: true,
},
{
label: '服务名称',
name: 'serveiceName',
type: 'input',
isClear: true,
},
{
label: '条款描述',
name: 'serviceClause',
label: '状态',
name: 'status',
type: 'input',
isClear: true,
},
......@@ -110,18 +103,23 @@
tableOption: true,
tableColumns: [
{
label: '服务编号',
prop: 'sno',
width: 200
},
{
label: '服务名称',
prop: 'serviceName',
width: 200
},
{
label: '条款描述',
label: '可销售服务年限',
minWidth: 280,
prop: 'serviceContent',
addHtml: 'serviceContent'
},
{
label: '使用说明',
label: '规格数量',
minWidth: 150,
prop: 'instruct'
},
......@@ -142,6 +140,12 @@
}
},
{
label: '状态',
minWidth: 280,
prop: 'serviceContent',
addHtml: 'serviceContent'
},
{
label: '操作人',
prop: 'updateBy',
width: 140
......@@ -201,9 +205,8 @@
handleReset() {
this.searchForm = {
merchantName: '',
serviceName: '',
serviceContent: '',
status: '',
createdDate: '',
updatedDate: ''
}
......@@ -221,7 +224,7 @@
query.merchantId = merchantId
}
const queryStr = encodeURIComponent(JSON.stringify(query))
this.$router.push('/serviceConfig/addClause/' + queryStr)
this.$router.push('/serviceConfig/addService/' + queryStr)
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!