|
@@ -4,7 +4,7 @@ import Search from '@/components/icon/search.vue'
|
|
import Warning from '@/components/icon/warning.vue'
|
|
import Warning from '@/components/icon/warning.vue'
|
|
import { get } from '../../../utils/request'
|
|
import { get } from '../../../utils/request'
|
|
|
|
|
|
-const tableData = [{
|
|
|
|
|
|
+const tableData = ref([{
|
|
MemberName: '程梓宣',
|
|
MemberName: '程梓宣',
|
|
Email: 'chengzixuan@kdanmobile.com',
|
|
Email: 'chengzixuan@kdanmobile.com',
|
|
Team: 'Product Designer',
|
|
Team: 'Product Designer',
|
|
@@ -12,12 +12,13 @@ const tableData = [{
|
|
AssignedProduct: 'PDF Reader Pro Win',
|
|
AssignedProduct: 'PDF Reader Pro Win',
|
|
ActivatedDeviceUUID: 'B9E5E0C324200E064ECBF4BC41CE2C3A',
|
|
ActivatedDeviceUUID: 'B9E5E0C324200E064ECBF4BC41CE2C3A',
|
|
ExpireData: '10/16/2023'
|
|
ExpireData: '10/16/2023'
|
|
-}]
|
|
|
|
-const currentPage = 1
|
|
|
|
|
|
+}])
|
|
|
|
+const currentPage = ref(1)
|
|
const search = ref('')
|
|
const search = ref('')
|
|
const dialogVisible = ref(false)
|
|
const dialogVisible = ref(false)
|
|
const MemberName = ref('')
|
|
const MemberName = ref('')
|
|
const teamId = ref('')
|
|
const teamId = ref('')
|
|
|
|
+const size = ref(5)
|
|
|
|
|
|
//打开对话框
|
|
//打开对话框
|
|
const handleClick = (val) => {
|
|
const handleClick = (val) => {
|
|
@@ -33,13 +34,31 @@ function handleCurrentChange(val) {
|
|
}
|
|
}
|
|
// 获取团队管理列表
|
|
// 获取团队管理列表
|
|
function getManageMemberList() {
|
|
function getManageMemberList() {
|
|
-
|
|
|
|
|
|
+ get(
|
|
|
|
+ 'http://81.68.234.235:8032/pdf-tech/vppRTeamMemberRole/pageForMember?page=' +
|
|
|
|
+ currentPage.value +
|
|
|
|
+ '&' +
|
|
|
|
+ 'pageSize=' +
|
|
|
|
+ size.value
|
|
|
|
+ ).then((res) => {
|
|
|
|
+ const data = res.data.result.list
|
|
|
|
+ for(let i = 0; i < data.length; i++){
|
|
|
|
+ if(data[i].validFlag === '0'){
|
|
|
|
+ data[i].validFlag = "Deleted"
|
|
|
|
+ } else if(data[i].validFlag === '1'){
|
|
|
|
+ data[i].validFlag = "Joined"
|
|
|
|
+ }else{
|
|
|
|
+ data[i].validFlag = "Invited"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ console.log(data)
|
|
|
|
+ tableData.value = data
|
|
|
|
+ })
|
|
}
|
|
}
|
|
// 团队成员列表导出
|
|
// 团队成员列表导出
|
|
function exportManageMemberList() {
|
|
function exportManageMemberList() {
|
|
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
let pageText = document.getElementsByClassName("el-pagination__jump")[0]
|
|
let pageText = document.getElementsByClassName("el-pagination__jump")[0]
|
|
if (pageText) {
|
|
if (pageText) {
|
|
@@ -99,40 +118,35 @@ onMounted(() => {
|
|
:data="tableData"
|
|
:data="tableData"
|
|
style="width: 100%">
|
|
style="width: 100%">
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="MemberName"
|
|
|
|
|
|
+ prop="fullName"
|
|
label="Member Name"
|
|
label="Member Name"
|
|
min-width="100px">
|
|
min-width="100px">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="Email"
|
|
|
|
|
|
+ prop="email"
|
|
label="Email"
|
|
label="Email"
|
|
min-width="100px">
|
|
min-width="100px">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="Team"
|
|
|
|
|
|
+ prop="teamName"
|
|
label="Team"
|
|
label="Team"
|
|
min-width="130px">
|
|
min-width="130px">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="Status"
|
|
|
|
|
|
+ prop="validFlag"
|
|
label="Status"
|
|
label="Status"
|
|
min-width="80px">
|
|
min-width="80px">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="AssignedProduct"
|
|
|
|
|
|
+ prop="productNames"
|
|
label="Assigned Product"
|
|
label="Assigned Product"
|
|
min-width="150px">
|
|
min-width="150px">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="ActivatedDeviceUUID"
|
|
|
|
|
|
+ prop="uniqueSns"
|
|
label="Activated Device UUID"
|
|
label="Activated Device UUID"
|
|
min-width="178px">
|
|
min-width="178px">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="ExpireData"
|
|
|
|
- label="Expire Data"
|
|
|
|
- min-width="126px">
|
|
|
|
- </el-table-column>
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
label="Operate"
|
|
label="Operate"
|
|
min-width="62px">
|
|
min-width="62px">
|
|
@@ -169,10 +183,10 @@ onMounted(() => {
|
|
@current-change="handleCurrentChange"
|
|
@current-change="handleCurrentChange"
|
|
:current-page.sync="currentPage"
|
|
:current-page.sync="currentPage"
|
|
:page-sizes="[5, 10, 20]"
|
|
:page-sizes="[5, 10, 20]"
|
|
- :page-size="100"
|
|
|
|
|
|
+ :page-size="1"
|
|
:background="true"
|
|
:background="true"
|
|
layout="prev, pager, next, sizes, jumper"
|
|
layout="prev, pager, next, sizes, jumper"
|
|
- :total="100"
|
|
|
|
|
|
+ :total="tableData.length"
|
|
class="
|
|
class="
|
|
px-24px
|
|
px-24px
|
|
!rounded-0
|
|
!rounded-0
|