Compare commits

..

No commits in common. "c6d3d6e3a906a7da80dd1878180d5a382590e024" and "58bcaeb9f475a3207986957127865aad7b1cf12d" have entirely different histories.

7 changed files with 23 additions and 31 deletions

View File

@ -154,14 +154,7 @@
</el-form-item>
<el-form-item label="目的对象:" prop="clgl_mddx">
<el-col :span="19">
<el-select v-model="ruleForm1.clgl_mddx">
<el-option
v-for="item in arr"
:key="item"
:label="item"
:value="item"
></el-option>
</el-select>
<el-input v-model="ruleForm1.clgl_mddx"> </el-input>
</el-col>
</el-form-item>
<el-row>
@ -686,11 +679,15 @@ export default {
arr: [],
};
},
mounted() {
created() {
alert(this.$route.query.id, this.$store.state.type);
console.log(this.user_id, this.$store.state.type);
this.GetUserAnswer();
this.dxgl.forEach((item) => {
this.arr.push(item.dx_name);
});
},
mounted() {},
methods: {
//ip
@ -822,8 +819,8 @@ export default {
};
console.log(obj);
let { data } = await SaveUserAnswer({
mark: this.$store.state.type,
user_id: this.$route.query.id,
mark: `${this.$store.state.type}`,
user_id: `${this.$route.query.id}`,
// mark: "GYWZ_wx",
// user_id: "USER202307301109254198",
mark_value: JSON.stringify(obj),
@ -842,8 +839,8 @@ export default {
//
async GetUserAnswer() {
let { data } = await GetUserAnswer({
mark: this.$store.state.type,
user_id: this.$route.query.id,
mark: `${this.$store.state.type}`,
user_id: `${this.$route.query.id}`,
// mark: "GYWZ_wx",
// user_id: "USER202307301109254198",
});
@ -875,10 +872,6 @@ export default {
this.cmdlist_ms = res.cmdlist_ms;
this.cmdlist_dz = res.cmdlist_dz;
}
// console.log(this.dxgl);
this.dxgl.forEach((item) => {
this.arr.push(item.dx_name);
});
},
//-
saveMl() {
@ -923,8 +916,8 @@ export default {
dxgl: this.dxgl,
};
let { data } = await SaveUserAnswer({
mark: this.$store.state.type,
user_id: this.$route.query.id,
mark: `${this.$store.state.type}`,
user_id: `${this.$route.query.id}`,
// mark: "GYWZ_wx",
// user_id: "USER202307301109254198",
mark_value: JSON.stringify(obj),

View File

@ -315,7 +315,7 @@ export default {
let res = await SaveUserAnswer({
mark: "CKFWQ_yx",
user_id: this.user_id,
// user_id: "USER202311140204340206",
// user_id: "USER202307301109254198",
mark_value: JSON.stringify(this.ruleForm),
});
console.log(this.ruleForm);
@ -333,7 +333,7 @@ export default {
let answers = await GetUserAnswer({
mark: "CKFWQ_yx",
user_id: this.user_id,
// user_id: "USER202311140204340206",
// user_id: "USER202307301109254198",
});
if (answers.data.data && answers.data.state) {
let obj = JSON.parse(answers.data.data.mark_value);

View File

@ -226,9 +226,8 @@ export default {
],
};
},
mounted() {
created() {
this.dialogVisible = true;
// alert(window.location.href);
let str = window.location.href.split("?")[1];
this.user_id = str.split("|")[0];
let type = str.split("|")[1];
@ -325,8 +324,8 @@ export default {
// mark: "GYWZ_wx",
// user_id: "USER202307301109254198",
});
// console.log(data.data.mark_value);
if (data.state && data.data && data.data.mark_value) {
console.log(data.data.mark_value);
if (data.state) {
let res = JSON.parse(data.data.mark_value);
console.log(res);
this.tableData[0].wlgl_nw_name = res.wlgl_nw_name;

View File

@ -161,7 +161,7 @@ export default {
cmdlist_dz: "",
};
},
mounted() {
created() {
this.dialogVisible = true;
let str = window.location.href.split("?")[1];
this.user_id = str.split("|")[0];

View File

@ -269,7 +269,7 @@ export default {
flag: false,
};
},
mounted() {
created() {
let str = window.location.href.split("?")[1];
this.user_id = str.split("|")[0];
let type = str.split("|")[1];

View File

@ -196,7 +196,7 @@ export default {
},
};
},
mounted() {
created() {
this.user_id = window.location.href.split("?")[1];
this.GetUserAnswer();
},
@ -205,7 +205,7 @@ export default {
let { data } = await GetUserAnswer({
mark: "CKFWQ_yx",
user_id: this.user_id,
// user_id: "USER202311140204340206",
// user_id: "USER202307301109254198",
});
if (data.data) {
let obj = JSON.parse(data.data.mark_value);
@ -232,7 +232,7 @@ export default {
this.ruleForm.dkpz_snckxtb = Number(this.ruleForm.dkpz_snckxtb);
let { data } = await SaveUserAnswer({
mark: "CKFWQ_yx",
// user_id: "USER202311140204340206",
// user_id: "USER202307301109254198",
user_id: this.user_id,
mark_value: JSON.stringify(this.ruleForm),
});

View File

@ -20,7 +20,7 @@
<el-form-item label="网络名称:" prop="wxpz_wlmc">
<el-col :span="10">
<el-select v-model="ruleForm.wxpz_wlmc" placeholder="无线网名称">
<el-option label="无线区无线网" value="无线区无线网"></el-option>
<el-option label="无线区无限网" value="shanghai"></el-option>
</el-select>
</el-col>
</el-form-item>