Commit 3678f620 by 杨北旺

更换接口/按钮大小

1 parent 21f6f544
...@@ -44,7 +44,7 @@ const getMerchantApi = params => { ...@@ -44,7 +44,7 @@ const getMerchantApi = params => {
} }
const getExportApi = params => { const getExportApi = params => {
params.method = `${defaultPath}order.export.get` params.method = `scrm.api.equity.service.package.dj.order.export.get`
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'GET', method: 'GET',
...@@ -55,7 +55,7 @@ const getExportApi = params => { ...@@ -55,7 +55,7 @@ const getExportApi = params => {
// 打印合同 // 打印合同
const getPriteApi = params => { const getPriteApi = params => {
params.method = `${defaultPath}order.prite` params.method = `scrm.api.equity.service.package.dj.order.print`
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'GET', method: 'GET',
...@@ -107,8 +107,8 @@ const getCarTypeListApi = params => { ...@@ -107,8 +107,8 @@ const getCarTypeListApi = params => {
} }
const getHotlineApi = params => { const getHotlineApi = params => {
//params.method = `${defaultPath}merchant.hotline.get` // params.method = `${defaultPath}merchant.hotline.get`
params.method = `${defaultPath}merchant.config.get` params.method = `scrm.api.equity.service.package.merchant.config.get`
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'POST', method: 'POST',
...@@ -162,7 +162,8 @@ const getProListApi = params => { ...@@ -162,7 +162,8 @@ const getProListApi = params => {
// 获取无忧卡套餐列表 // 获取无忧卡套餐列表
const getPackageListApi = params => { const getPackageListApi = params => {
params.method = `${defaultPath}list.get` params.method = `scrm.api.equity.service.package.dj.list.get`
// params.method = `scrm.api.equity.service.package.list.get`
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'GET', method: 'GET',
...@@ -172,7 +173,7 @@ const getPackageListApi = params => { ...@@ -172,7 +173,7 @@ const getPackageListApi = params => {
} }
const getEquityApi = params => { const getEquityApi = params => {
params.method = `${orderPath}detail` params.method = `scrm.api.equity.service.channel.order.detail`
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'POST', method: 'POST',
...@@ -182,7 +183,7 @@ const getEquityApi = params => { ...@@ -182,7 +183,7 @@ const getEquityApi = params => {
} }
const updateEquityApi = params => { const updateEquityApi = params => {
params.method = `${orderPath}insert.or.update` params.method = `scrm.api.equity.service.channel.order.insert.or.update`
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'POST', method: 'POST',
...@@ -283,7 +284,7 @@ const uploadImgApi = params => { ...@@ -283,7 +284,7 @@ const uploadImgApi = params => {
// 退保 // 退保
const backOrderApi = params => { const backOrderApi = params => {
params.method = `${orderPath}charge.back` params.method = `scrm.api.equity.service.channel.order.charge.back`
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'POST', method: 'POST',
......
...@@ -85,10 +85,10 @@ ...@@ -85,10 +85,10 @@
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> --> <!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> -->
<div class="footer operate-btn"> <div class="footer operate-btn">
<el-button v-show="routeInfo.addOrEdit == '1'" @click="handleReset">重置</el-button> <el-button size="small" v-show="routeInfo.addOrEdit == '1'" @click="handleReset">重置</el-button>
<el-button v-show="!['3', '5'].includes(routeInfo.addOrEdit)" class="plain" @click="handleDraft">草稿</el-button> <el-button size="small" v-show="!['3', '5'].includes(routeInfo.addOrEdit)" class="plain" @click="handleDraft">草稿</el-button>
<el-button v-show="routeInfo.addOrEdit != '5'" type="primary" @click="handleConfirm">{{routeInfo.addOrEdit != '3' ? '提单' : '确定'}}</el-button> <el-button size="small" v-show="routeInfo.addOrEdit != '5'" type="primary" @click="handleConfirm">{{routeInfo.addOrEdit != '3' ? '提单' : '确定'}}</el-button>
<el-button type="default" @click="handleCancel">取消</el-button> <el-button size="small" type="default" @click="handleCancel">取消</el-button>
</div> </div>
<qrCode :codeUrl="qrcodUrl" phoneTitle="提单及服务咨询" phone="189 3890 7441"></qrCode> <qrCode :codeUrl="qrcodUrl" phoneTitle="提单及服务咨询" phone="189 3890 7441"></qrCode>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> --> <!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> -->
<div class="footer"> <div class="footer">
<el-button type="primary" @click="handleConfirm">确定</el-button> <el-button size="small" type="primary" @click="handleConfirm">确定</el-button>
</div> </div>
</div> </div>
</template> </template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!