|
@@ -58,7 +58,6 @@ export default {
|
|
|
data: function () {
|
|
|
return {
|
|
|
form: {
|
|
|
- user_id: '607e70354de4e23e840f4ef6',
|
|
|
qyfr: [],
|
|
|
yyzz: [],
|
|
|
qylr: [],
|
|
@@ -79,6 +78,7 @@ export default {
|
|
|
this.$refs[formName].validate(async (valid) => {
|
|
|
if (valid) {
|
|
|
let data = this.form;
|
|
|
+ data.user_id = this.user.id;
|
|
|
let res = await this.create(data);
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$message({
|