|
@@ -148,10 +148,10 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
async loadData() {
|
|
async loadData() {
|
|
// if (!this.confirm.psw || this.confirm.psw.length === 0) return this.$message.error('请输入访问密码', '提示')
|
|
// if (!this.confirm.psw || this.confirm.psw.length === 0) return this.$message.error('请输入访问密码', '提示')
|
|
- let {data: detail} = await axios.get(fireDetailByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw}})
|
|
|
|
|
|
+ let {data: detail} = await axios.get(fireDetailByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw,type:1}})
|
|
this.detail = detail
|
|
this.detail = detail
|
|
|
|
|
|
- let {data: list} = await axios.get(getAttachListByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw}})
|
|
|
|
|
|
+ let {data: list} = await axios.get(getAttachListByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw,type:1}})
|
|
this.list = list
|
|
this.list = list
|
|
|
|
|
|
this.loadSuccess = true
|
|
this.loadSuccess = true
|
|
@@ -167,7 +167,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.loadData()
|
|
|
|
|
|
+ // this.loadData()
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
"com-dialog": comDialog,
|
|
"com-dialog": comDialog,
|