Browse Source

剧本标题bug

dev
liuzewei 4 years ago
parent
commit
336ebb34ad
2 changed files with 14 additions and 3 deletions
  1. 6
      src/views/sce/sceInfo/index.vue
  2. 11
      src/views/sce/tips/index.vue

6
src/views/sce/sceInfo/index.vue

@ -1125,10 +1125,11 @@ export default {
title: "复盘", title: "复盘",
code: rand(1000, 9999), code: rand(1000, 9999),
introduction: "复盘", introduction: "复盘",
sort: "3",
sort: "99",
type: "9" type: "9"
} }
); );
console.log('type',this.ruleForm.processesList)
} }
}, },
mapForChannel(e) { mapForChannel(e) {
@ -1495,7 +1496,8 @@ export default {
title: n.title, title: n.title,
code: n.code, code: n.code,
introduction: n.introduction, introduction: n.introduction,
sort: n.sort
sort: n.sort,
type:n.type,
}; };
}); });
let list = []; let list = [];

11
src/views/sce/tips/index.vue

@ -171,7 +171,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="dialog.Visible = false"> </el-button>
<el-button @click="cancelMitForm"> </el-button>
<el-button v-if="type != 'view'" type="primary" @click="subMitForm()" <el-button v-if="type != 'view'" type="primary" @click="subMitForm()"
> </el-button > </el-button
> >
@ -401,6 +401,7 @@ export default {
}, },
refresh() { refresh() {
this.$router.push({ name: "Tips/index" }); this.$router.push({ name: "Tips/index" });
this.remoteMethod('');//
this.queryParams = { this.queryParams = {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
@ -423,9 +424,17 @@ export default {
this.disabled = false; this.disabled = false;
this.dialog.Visible = true; this.dialog.Visible = true;
}, },
//
cancelMitForm(){
this.remoteMethodAdd('');//
console.log('123');
this.dialog.Visible = false
},
// //
async subMitForm() { async subMitForm() {
try { try {
this.cancelMitForm();//
this.$refs["form"].validate(async valid => { this.$refs["form"].validate(async valid => {
if (valid) { if (valid) {
if (this.type == "add") { if (this.type == "add") {

Loading…
Cancel
Save