Commit ef99ea1c authored by 黄奎's avatar 黄奎

页面修改

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