Commit ef99ea1c authored by 黄奎's avatar 黄奎

页面修改

parent 1f88f0af
......@@ -43,7 +43,7 @@
<template v-slot:body-cell-optioned="props">
<q-td :props="props">
<div>
<el-tooltip content="复制链接发送给客人签字" placement="top" effect="light">
<el-tooltip v-if="AuthorityObj.isShowCopyLink" content="复制链接发送给客人签字" placement="top" effect="light">
<q-btn flat v-if="
props.row.AuditStatus == 2 &&
(props.row.PartyASign == '' || props.row.PartyASign == null)" size="xs"
......@@ -68,7 +68,11 @@
loading: {
type: Boolean,
default: null
}
},
//权限数据
authObj: {
type: Object,
},
},
data() {
return {
......@@ -126,16 +130,28 @@
field: "RoomId",
},
],
//权限显示对象
AuthorityObj: {
isShowCopyLink: false, //是否显示复制链接
},
pageMsg: {
rowsPerPage: 12,
},
}
},
created() {
this.initAuth();
},
mounted() {},
methods: {
//初始化权限信息
initAuth() {
if (this.authObj) {
if (this.authObj.isShowCopyLink != null && this.authObj.isShowCopyLink) {
this.AuthorityObj.isShowCopyLink = this.authObj.isShowCopyLink;
}
}
},
//跳转至详情
goContract(Id) {
this.OpenNewUrl('/courseRefund', {
......
......@@ -70,6 +70,18 @@
Id: 3,
Name: "驳回",
},
{
Id: 4,
Name: "待签字",
},
{
Id: 5,
Name: "待确认",
},
{
Id: 6,
Name: "生效",
},
],
};
},
......
......@@ -22,7 +22,7 @@
</div>
</div>
</div>
<courserefund-form :loading="loading" :dataList="dataList"></courserefund-form>
<courserefund-form :loading="loading" :dataList="dataList" :authObj="authObj"></courserefund-form>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount" :input="true"
@input="changePage" />
</div>
......@@ -83,6 +83,9 @@
Name: "生效",
},
],
authObj: {
isShowCopyLink: true, //显示复制链接
}
};
},
created() {
......@@ -100,7 +103,6 @@
if (res.Code == 1) {
this.dataList = res.Data.PageData;
this.pageCount = res.Data.PageCount;
console.log(this.dataList, "this.dataList ");
}
});
},
......
......@@ -15,8 +15,9 @@
line-height: 16px;
border-radius: 4px;
}
.bill_Rearsons{
width:250px;
.bill_Rearsons {
width: 250px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment