|
@@ -444,6 +444,25 @@ export default {
|
|
|
this.questionChilds.splice(index, 1);
|
|
|
this.checkList.splice(index, 1);
|
|
|
},
|
|
|
+ isShowFilter(isShow) {
|
|
|
+ console.log("XXXXX", isShow)
|
|
|
+ this.isFilter = isShow
|
|
|
+ if (!isShow) {
|
|
|
+ for (let index = 0; index < this.value.length; index++) {
|
|
|
+ if (this.value[index]) {
|
|
|
+ this.setOptionsDisabled(this.value[index], false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ this.filterList = [""];
|
|
|
+ this.value = [];
|
|
|
+ this.questionListSel = [];
|
|
|
+ this.questionChilds = [];
|
|
|
+ this.checkList = [];
|
|
|
+
|
|
|
+ this.getAnswerData()
|
|
|
+ }
|
|
|
+ },
|
|
|
projectCommand(command) {
|
|
|
if (this.houseList.indexOf(command) == -1) {
|
|
|
console.log("不存在");
|