Commit 31dab29c by 张权

ui修改

1 parent fd63dd76
......@@ -163,4 +163,18 @@
.el-message{
z-index: 3000!important;
}
.customConfirm{
.el-message-box__btns button:nth-child(2) {
margin-left: 20px;
}
}
.el-message.el-message--error.customMessage{
&>p{
&>p{
white-space: nowrap;
}
}
}
\ No newline at end of file
......@@ -247,7 +247,6 @@ export default {
handleImgDelete(targetItem, subIndex = -1) {
const imgUrl = this.formObj[targetItem.name][subIndex]
Array.isArray(this.formObj[targetItem.name]) ? this.formObj[targetItem.name].splice(subIndex, 1) : (this.formObj[targetItem.name] = '')
console.log(targetItem,subIndex)
this.$emit('handleImgDelete', targetItem, imgUrl)
},
// 图片查看
......
......@@ -23,10 +23,8 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue.prototype.$defaultStartDate = '2021-07-01'
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'mini-661113d4-8a4f-42b2-82d4-37d4d392ff98-rop' } })
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'mini-661113d4-8a4f-42b2-82d4-37d4d392ff98-rop' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'd986590e-22b5-436a-b6b5-5e09138d98e2' } })
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'd986590e-22b5-436a-b6b5-5e09138d98e2' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'scrm-base-1cd374fe-558d-43cc-b28b-1317a44edd59-rop' } })
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'scrm-base-1cd374fe-558d-43cc-b28b-1317a44edd59-rop' } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData)
......
......@@ -148,8 +148,8 @@
</div>
</div>
<qrCode :codeUrl="code" phone="189 2340 8808"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 18px"></div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/afterSale.mp4"></video>
</el-dialog>
</div>
......@@ -532,4 +532,18 @@ export default {
z-index: 2;
}
}
::v-deep .video-dialog{
.el-dialog__header{
border-bottom: none;
background-color: #000;
.el-dialog__headerbtn{
top:15px;
font-size: 24px;
}
}
.el-dialog__body{
padding: 0;
display: flex;
}
}
</style>
\ No newline at end of file
......@@ -583,7 +583,8 @@ export default {
this.$confirm('是否确认退单?', '退单', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
customClass: 'customConfirm'
}).then(() => {
this.handleSecondConfirm()
})
......@@ -625,7 +626,8 @@ export default {
const tip = addOrEdit==3?'修改申请':'退单申请'
this.$message({
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交'+tip)]),
type: 'error'
type: 'error',
customClass: 'customMessage'
})
return true
}
......@@ -748,7 +750,8 @@ export default {
const h = this.$createElement
this.$message({
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交退单申请 ')]),
type: 'error'
type: 'error',
customClass: 'customMessage'
})
return true
}
......
......@@ -60,8 +60,8 @@
</div>
</div>
<qrCode :codeUrl="code" :phone="phone"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 18px"></div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/beforeSale.mp4"></video>
</el-dialog>
</div>
......@@ -319,4 +319,18 @@ export default {
}
}
}
::v-deep .video-dialog{
.el-dialog__header{
border-bottom: none;
background-color: #000;
.el-dialog__headerbtn{
top:15px;
font-size: 24px;
}
}
.el-dialog__body{
padding: 0;
display: flex;
}
}
</style>
\ No newline at end of file
......@@ -274,6 +274,7 @@ export default {
label: '车主姓名',
prop: 'customerName',
line: 1,
width: '200px',
formatter: cellValue => {
return cellValue.customerName || '-'
}
......@@ -281,7 +282,7 @@ export default {
{
label: '合同号',
prop: 'contractNo',
width: '200px',
width: '130px',
line: 1,
formatter: cellValue => {
return [2, 4, 5].includes(cellValue.orderStatus) ? (cellValue.contractNo || '-') : '-'
......@@ -290,7 +291,7 @@ export default {
{
label: '提单成功时间',
prop: 'successDate',
width: '160px',
width: '200px',
line: 1,
formatter: cellValue => {
return cellValue.successDate ? dayjs(cellValue.successDate).format('YYYY-MM-DD HH:mm:ss') : '-'
......@@ -299,7 +300,7 @@ export default {
{
label: '新车开票日期',
prop: 'billingDate',
width: '130px',
width: '160px',
line: 1,
formatter: cellValue => {
return cellValue.billingDate ? dayjs(cellValue.billingDate).format('YYYY-MM-DD') : '-'
......@@ -327,6 +328,7 @@ export default {
label: '车系',
prop: 'vehicleSeriesName',
line: 1,
width: '160px',
formatter: cellValue => {
return cellValue.vehicleSeriesName || '-'
}
......@@ -353,6 +355,7 @@ export default {
label: '产品名称',
prop: 'packageName',
line: 1,
width: '200px',
formatter: cellValue => {
return cellValue.packageName || '-'
}
......@@ -370,6 +373,7 @@ export default {
label: '服务期限',
prop: 'servicePeriod',
line: 1,
width: '200px',
formatter: cellValue => {
return cellValue.servicePeriod ? '1年' : '-'
}
......@@ -377,7 +381,7 @@ export default {
{
label: '生效时间',
prop: 'effectiveDate',
width: '130px',
width: '200px',
line: 1,
formatter: cellValue => {
return cellValue.effectiveDate ? dayjs(cellValue.effectiveDate).format('YYYY-MM-DD') : '-'
......@@ -663,7 +667,8 @@ export default {
this.$confirm('是否确认退单?', '退单', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
customClass: 'customConfirm'
}).then(() => {
this.handleSecondConfirm()
})
......@@ -699,9 +704,11 @@ export default {
handleEdit(addOrEdit, row) {
if (addOrEdit == 3 && !this.userInfo.admin && new Date(new Date().setDate(new Date().getDate() - 7)) > new Date(row.successDate)) {
const h = this.$createElement
const tip = addOrEdit==3?'修改申请':'退单申请'
this.$message({
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交退单申请 ')]),
type: 'error'
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交'+tip)]),
type: 'error',
customClass: 'customMessage'
})
return true
}
......@@ -817,7 +824,8 @@ export default {
const h = this.$createElement
this.$message({
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交退单申请 ')]),
type: 'error'
type: 'error',
customClass: 'customMessage'
})
return true
}
......
......@@ -232,6 +232,7 @@ export default {
label: '车主姓名',
prop: 'customerName',
line: 1,
width: '200px',
formatter: cellValue => {
return cellValue.customerName || '-'
}
......@@ -239,7 +240,7 @@ export default {
{
label: '合同号',
prop: 'contractNo',
width: '200px',
width: '130px',
line: 1,
formatter: cellValue => {
return [2, 4, 5].includes(cellValue.orderStatus) ? (cellValue.contractNo || '-') : '-'
......@@ -248,7 +249,7 @@ export default {
{
label: '提单成功时间',
prop: 'successDate',
width: '160px',
width: '200px',
line: 1,
formatter: cellValue => {
return cellValue.successDate ? dayjs(cellValue.successDate).format('YYYY-MM-DD HH:mm:ss') : '-'
......@@ -257,7 +258,7 @@ export default {
{
label: '新车开票日期',
prop: 'billingDate',
width: '130px',
width: '160px',
line: 1,
formatter: cellValue => {
return cellValue.billingDate ? dayjs(cellValue.billingDate).format('YYYY-MM-DD') : '-'
......@@ -285,6 +286,7 @@ export default {
label: '车系',
prop: 'vehicleSeriesName',
line: 1,
width: '160px',
formatter: cellValue => {
return cellValue.vehicleSeriesName || '-'
}
......@@ -328,6 +330,7 @@ export default {
label: '服务期限',
prop: 'servicePeriod',
line: 1,
width: '200px',
formatter: cellValue => {
return cellValue.servicePeriod ? '1年' : '-'
}
......@@ -335,7 +338,7 @@ export default {
{
label: '生效时间',
prop: 'effectiveDate',
width: '130px',
width: '200px',
line: 1,
formatter: cellValue => {
return cellValue.effectiveDate ? dayjs(cellValue.effectiveDate).format('YYYY-MM-DD') : '-'
......@@ -579,7 +582,8 @@ export default {
this.$confirm(txt, title, {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
customClass: 'customConfirm'
}).then(() => {
this.handleSecondConfirm()
})
......
......@@ -109,8 +109,8 @@
</div>
</div>
<qrCode :codeUrl="code" phone="188 2423 1191"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:18px"></div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/totalSale.mp4"></video>
</el-dialog>
</div>
......@@ -569,4 +569,18 @@ export default {
}
}
}
::v-deep .video-dialog{
.el-dialog__header{
border-bottom: none;
background-color: #000;
.el-dialog__headerbtn{
top:15px;
font-size: 24px;
}
}
.el-dialog__body{
padding: 0;
display: flex;
}
}
</style>
\ No newline at end of file
......@@ -94,8 +94,8 @@
<span class="h13_title">车主完成精品升级,您获得分账收益</span>
</div>
</div>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 18px"></div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/upgrade.mp4"></video>
</el-dialog>
<qrCode phone="138 2651 0577" :codeUrl="code"></qrCode>
......@@ -398,4 +398,18 @@ export default {
border-radius: 50%;
}
}
::v-deep .video-dialog{
.el-dialog__header{
border-bottom: none;
background-color: #000;
.el-dialog__headerbtn{
top:15px;
font-size: 24px;
}
}
.el-dialog__body{
padding: 0;
display: flex;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!