|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="m_right">
|
|
|
- <image src="../../../assets/home/homeBG.png" class="s_logo" mode=""></image>
|
|
|
+ <!-- <image src="../../../assets/home/homeBG.jpg" class="s_logo" mode=""></image> -->
|
|
|
<view class="m_right_container">
|
|
|
|
|
|
<view class="m_row_class">
|
|
|
@@ -81,6 +81,9 @@
|
|
|
<th>{{item.Type}}</th>
|
|
|
<th>{{item.UploadUserName}}</th>
|
|
|
<th>{{item.UPloadTime.substring(0,9)}}</th>
|
|
|
+<!-- <th><button type="default" size="mini" @click="download(index,item)" class="m_edit_1">下载</button></th>
|
|
|
+ <th><button type="default" size="mini" @click="deleteFile(index,item)" class="m_delete_1">删除</button></th>
|
|
|
+ <th><button type="default" size="mini" @click="audit(index,item)" class="m_audit_1">审核</button></th> -->
|
|
|
<th style="position: relative;"><button type="default" size="mini" @click="download(index,item)" class="m_edit_1">下载</button></th>
|
|
|
<th style="position: relative;"><button type="default" size="mini" @click="deleteFile(index,item)" class="m_delete_1">删除</button></th>
|
|
|
<th style="position: relative;"><button type="default" size="mini" @click="audit(index,item)" class="m_audit_1">审核</button></th>
|
|
|
@@ -461,7 +464,7 @@
|
|
|
this.currentSelect = {section:0,buttonType:'delete',index:index};
|
|
|
},
|
|
|
download(index,item) {
|
|
|
- this.title = "下载成功?";
|
|
|
+ this.title = "是否确定下载?";
|
|
|
this.arr = ["确认"];
|
|
|
this.show = true;
|
|
|
this.currentSelect = {section:0,buttonType:'downloadIMG',index:index,item:item};
|
|
|
@@ -634,8 +637,9 @@
|
|
|
dataType: "json",
|
|
|
success: res => {
|
|
|
if (res.data.Code == 100) {
|
|
|
- this.projectData[0] = null
|
|
|
+ // this.projectData[0] = null
|
|
|
this.projectData[0] = res.data.Project;
|
|
|
+ // console.log('projectData=',this.projectData[0])
|
|
|
this.$forceUpdate()
|
|
|
}
|
|
|
// console.log("获取了什么样子的信息", this.projectData[0]);
|
|
|
@@ -657,9 +661,43 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- viewProject(obj) {
|
|
|
+ viewProject(obj,index) {
|
|
|
// console.log('进来的什么信息',obj)
|
|
|
this.projectData = [obj];
|
|
|
+ if(index==0){
|
|
|
+ this.fileData = [
|
|
|
+ {
|
|
|
+ "AliyunOssName": "_59458299-3b84-4895-98f6-b990cdaedc72_chrome_elf.dll",
|
|
|
+ "Id": "0b0d8876-71de-43e6-a3dd-59a3c8f6d069",
|
|
|
+ "Name": "《火星计划》气氛图",
|
|
|
+ "Pass": false,
|
|
|
+ "ProjectID": 30,
|
|
|
+ "ProjectName": "《火星计划》",
|
|
|
+ "Type": "气氛图",
|
|
|
+ "UPloadTime": "2021-05-13 18:19:12",
|
|
|
+ "URL": "https://www.yuyekeji.cn/H5/ZhongChuang/《火星计划》气氛图.jpeg",
|
|
|
+ "UpLoadUserID": "59458299-3b84-4895-98f6-b990cdaedc72",
|
|
|
+ "UploadUserDuty": "创建人",
|
|
|
+ "UploadUserName": "朱峰",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "AliyunOssName": "_59458299-3b84-4895-98f6-b990cdaedc72_chrome_elf.dll",
|
|
|
+ "Id": "0b0d8876-71de-43e6-a3dd-59a3c8f6d069",
|
|
|
+ "Name": "《火星计划》气氛图2",
|
|
|
+ "Pass": false,
|
|
|
+ "ProjectID": 30,
|
|
|
+ "ProjectName": "《火星计划》",
|
|
|
+ "Type": "气氛图",
|
|
|
+ "UPloadTime": "2021-05-13 18:19:12",
|
|
|
+ "URL": "https://www.yuyekeji.cn/H5/ZhongChuang/《火星计划》气氛图2.jpg",
|
|
|
+ "UpLoadUserID": "59458299-3b84-4895-98f6-b990cdaedc72",
|
|
|
+ "UploadUserDuty": "创建人",
|
|
|
+ "UploadUserName": "朱峰",
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
this.getFileList();
|
|
|
this.getMemberList();
|
|
|
},
|
|
|
@@ -841,7 +879,7 @@
|
|
|
})
|
|
|
},
|
|
|
DownloadFile() {
|
|
|
- window.location.href = this.currentSelect.item.URL;
|
|
|
+ window.open(this.currentSelect.item.URL);
|
|
|
},
|
|
|
shut_down_pop_view(){
|
|
|
// this.bShowEdit = false;
|
|
|
@@ -1088,20 +1126,20 @@
|
|
|
}
|
|
|
|
|
|
.m_edit_1 {
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- transform: translate(-50%, -50%);
|
|
|
+ // position: absolute;
|
|
|
+ // top: 50%;
|
|
|
+ // left: 50%;
|
|
|
+ // transform: translate(-50%, -50%);
|
|
|
background: rgb(67, 127, 250);
|
|
|
color: rgb(255, 255, 255);
|
|
|
- min-width: 110rpx;
|
|
|
+ // min-width: 110rpx;
|
|
|
}
|
|
|
.m_delete_1 {
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- min-width: 110rpx;
|
|
|
- transform: translate(-50%, -50%);
|
|
|
+ // position: absolute;
|
|
|
+ // top: 50%;
|
|
|
+ // left: 50%;
|
|
|
+ // min-width: 110rpx;
|
|
|
+ // transform: translate(-50%, -50%);
|
|
|
background: rgb(234, 37, 44);
|
|
|
color: rgb(255, 255, 255);
|
|
|
}
|
|
|
@@ -1157,12 +1195,12 @@
|
|
|
background-color: #FF791B;
|
|
|
}
|
|
|
.m_audit_1 {
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- min-width: 55px;
|
|
|
- -webkit-transform: translate(-50%, -50%);
|
|
|
- transform: translate(-50%, -50%);
|
|
|
+ // position: absolute;
|
|
|
+ // top: 50%;
|
|
|
+ // left: 50%;
|
|
|
+ // min-width: 55px;
|
|
|
+ // -webkit-transform: translate(-50%, -50%);
|
|
|
+ // transform: translate(-50%, -50%);
|
|
|
color: white;
|
|
|
background-color: #FF791B;
|
|
|
}
|