This commit is contained in:
lll 2023-11-14 13:11:36 +08:00
parent c515086576
commit 71058069fa
1 changed files with 8 additions and 4 deletions

View File

@ -41,10 +41,10 @@
placeholder="选择对象" placeholder="选择对象"
> >
<el-option <el-option
v-for="item in options4" v-for="item in arr"
:key="item.value" :key="item"
:label="item.label" :label="item"
:value="item.value" :value="item"
> >
</el-option> </el-option>
</el-select> </el-select>
@ -676,12 +676,16 @@ export default {
value: "", value: "",
flag: false, flag: false,
json: {}, json: {},
arr: [],
}; };
}, },
created() { created() {
alert(this.$route.query.id, this.$store.state.type); alert(this.$route.query.id, this.$store.state.type);
console.log(this.user_id, this.$store.state.type); console.log(this.user_id, this.$store.state.type);
this.GetUserAnswer(); this.GetUserAnswer();
this.dxgl.forEach((item) => {
this.arr.push(item.dx_name);
});
}, },
mounted() {}, mounted() {},