Commit 2ed5f13e authored by 杨梦雪's avatar 杨梦雪

11

parent 2b411a0f
......@@ -36,7 +36,7 @@
></Pass>
<Paying v-else-if="type == 'pay'" @getstatus="statuss"></Paying>
<Success v-else-if="type == 'success'" @getstatus="statuss"></Success>
<el-dialog
<!-- <el-dialog
v-if="$store.state.indexIdentity != '03874948cc2b4b2d8a5eb57c09ebfb2c'"
style="font-size: 26px"
class="info"
......@@ -44,6 +44,14 @@
:visible.sync="dialogVisible"
width="520px"
center
> -->
<el-dialog
style="font-size: 26px"
class="info"
title="营地声明"
:visible.sync="dialogVisible"
width="520px"
center
>
<div>
&emsp;&emsp;近日,营地工作组收到部分中学师生反映有机构及个人以高出营地费用的价格出售营地活动名额。
......@@ -57,7 +65,7 @@
</div>
</el-dialog>
<el-dialog
<!-- <el-dialog
v-if="$store.state.indexIdentity == '03874948cc2b4b2d8a5eb57c09ebfb2c'"
style="font-size: 26px"
class="info"
......@@ -82,7 +90,7 @@
<div class="btn">
<el-button @click="dialogVisible = false">确 定</el-button>
</div>
</el-dialog>
</el-dialog> -->
</div>
</template>
......@@ -132,7 +140,8 @@ export default {
};
},
created() {
this.yingdiHref = "http://ying.testgate.cn/b4ce2ee5068848e1a91ab7d5de34ba90";
this.yingdiHref =
"http://ying.testgate.cn/b4ce2ee5068848e1a91ab7d5de34ba90";
// console.log(this.yingdiHref);
this.type = this.$route.params.type;
let camp_statement = window.localStorage.getItem(
......
......@@ -228,7 +228,6 @@
</template>
<script>
import {
PostWorkStudentOss,
delPic,
......@@ -627,21 +626,33 @@ export default {
if (res.data.code != 200) {
return this.$message.error(res.data.message);
}
// console.log(this.fileList);
console.log(this.fileList);
// console.log(this.stu_fileListoss);
this.fileList.forEach((item, idx) => {
console.log(idx, "idx");
// console.log(item.url == file.url);
if (item.url == file.url) {
this.fileList.splice(idx, 1);
let code = this.$store.state.indexIdentity;
window.localStorage.setItem(
"student_file_" +
window.localStorage.getItem("phone" + code) +
code,
JSON.stringify(this.stu_fileListoss)
);
}
});
this.stu_fileListoss = this.fileList
.map(function (item, index) {
undefined;
return item.url;
})
.join(",");
console.log(this.stu_fileListoss);
// console.log(this.fileList);
this.$message.success(res.data.message);
});
......
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