Browse Source

剧本标题bug

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

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

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

Loading…
Cancel
Save