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

11

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