邹畅 3 years ago
parent
commit
64f5e99714
3 changed files with 500 additions and 146 deletions
  1. 375
      src/views/sce/sceInfo/index.vue
  2. 21
      src/views/sce/tips/index.vue
  3. 250
      src/views/user/index.vue

375
src/views/sce/sceInfo/index.vue

@ -112,10 +112,7 @@
<el-input v-model="ruleForm.labelName" style="width:300px;" />
</el-form-item>
<h3 class="form-title">剧本图片</h3>
<el-form-item label="封面">
<!-- :action="baseUrl + 'sys/file/upload'" -->
<!-- <el-image v-if="ruleForm.cover" style="width: 146px; height: 146px" :src="ruleForm.cover" fit="fill">
</el-image> -->
<el-form-item label="封面" prop="cover">
<el-upload
class="avatar-uploader"
action
@ -146,14 +143,19 @@
</el-dialog>
</el-form-item>
<h3 class="form-title">剧本简介</h3>
<el-form-item label="简介">
<el-form-item label="简介" style="width:100%">
<!-- <el-input
v-model="ruleForm.desc"
style="width:500px"
rows="10"
type="textarea"
/> -->
<Tinymce ref="editor" v-model="ruleForm.introduction" :height="400" />
<Tinymce
ref="editor"
v-model="ruleForm.introduction"
:height="400"
:width="700"
/>
</el-form-item>
<h3 class="form-title">开本流程</h3>
<el-table
@ -226,7 +228,7 @@
type="success"
style="height:36px;width:100px;margin-left:30px;color:#fff;background:#33DB99"
@click="handleAddK"
></el-button
></el-button
>
</div>
<h3 class="form-title">剧本资源</h3>
@ -240,13 +242,12 @@
<div v-for="(item, i) in imgData" :key="i" class="imgdata">
<el-image
style="width: 146px; height: 146px"
:src="item"
:src="item.url"
fit="fill"
>
</el-image>
<div class="imgdialog">
<p>
<i class="el-icon-zoom-in" style="font-size: 20px"></i>
<i
class="el-icon-delete"
@click="deldialogimg(item, i, 'img')"
@ -255,7 +256,10 @@
</p>
</div>
<div class="sz_container" style="text-align:center">
<el-button size="mini" type="text" @click="setLc(item, 'img')"
<span>{{ item.processName }}</span>
</div>
<div class="sz_container" style="text-align:center">
<el-button size="mini" type="text" @click="setLc(item, i, 'img')"
>关联流程</el-button
>
</div>
@ -310,6 +314,8 @@
<el-select
v-model="ruleForm.radioImg[scope.$index].processId"
clearable
multiple
@change="changePro('img')"
placeholder="请选择流程"
>
<el-option
@ -359,7 +365,7 @@
type="success"
style="height:36px;width:100px;margin-left:30px;color:#fff;background:#33DB99"
@click="handleAddImg"
></el-button
></el-button
>
</div>
</el-form-item>
@ -373,7 +379,7 @@
<div v-for="(item, i) in musicData" :key="i" class="imgdata">
<el-image
style="width: 146px; height: 146px"
:src="item"
:src="item.url"
fit="fill"
>
</el-image>
@ -382,13 +388,19 @@
<i class="el-icon-zoom-in" style="font-size: 20px"></i>
<i
class="el-icon-delete"
@click="deldialogimg(item, i, 'mnusic')"
@click="deldialogimg(item, i, 'music')"
style="font-size: 20px; padding-left: 30px"
></i>
</p>
</div>
<div class="sz_container" style="text-align:center">
<el-button size="mini" type="text" @click="setLc(item, 'music')"
<span>{{ item.processName }}</span>
</div>
<div class="sz_container" style="text-align:center">
<el-button
size="mini"
type="text"
@click="setLc(item, i, 'music')"
>关联流程</el-button
>
</div>
@ -443,6 +455,8 @@
<el-select
v-model="ruleForm.radioMusic[scope.$index].processId"
clearable
multiple
@change="changePro('music')"
placeholder="请选择流程"
>
<el-option
@ -495,7 +509,7 @@
type="success"
style="height:36px;width:100px;margin-left:30px;color:#fff;background:#33DB99"
@click="handleAddMusic"
></el-button
></el-button
>
</div>
</el-form-item>
@ -509,7 +523,7 @@
<div v-for="(item, i) in videoData" :key="i" class="imgdata">
<el-image
style="width: 146px; height: 146px"
:src="item"
:src="item.url"
fit="fill"
>
</el-image>
@ -524,7 +538,13 @@
</p>
</div>
<div class="sz_container" style="text-align:center">
<el-button size="mini" type="text" @click="setLc(item, 'video')"
<span>{{ item.processName }}</span>
</div>
<div class="sz_container" style="text-align:center">
<el-button
size="mini"
type="text"
@click="setLc(item, i, 'video')"
>关联流程</el-button
>
</div>
@ -579,6 +599,8 @@
<el-select
v-model="ruleForm.radioVideo[scope.$index].processId"
clearable
multiple
@change="changePro('video')"
placeholder="请选择流程"
>
<el-option
@ -631,7 +653,7 @@
type="success"
style="height:36px;width:100px;margin-left:30px;color:#fff;background:#33DB99"
@click="handleAddVideo"
></el-button
></el-button
>
</div>
</el-form-item>
@ -706,7 +728,8 @@ export default {
title: [{ required: true, message: "请输入标题名称", trigger: "blur" }],
labelName: [
{ required: true, message: "请输入标签名称", trigger: "blur" }
]
],
cover: [{ required: true, message: "请选择封面", trigger: "blur" }]
},
dialog: {
title: "新增剧本",
@ -741,7 +764,14 @@ export default {
Visible: false
},
list: {},
typeUrl: ""
typeUrl: "",
imgType: false,
musicType: false,
videoType: false,
imgIndex: "",
musicIdnex: "",
videoIndex: "",
dataList: {}
};
},
mounted() {
@ -756,6 +786,15 @@ export default {
}
}
},
ForChannel(e) {
console.log(e);
console.log(this.ruleForm.processesList);
for (var i = 0; i < this.ruleForm.processesList.length; i++) {
if (this.ruleForm.processesList[i].code == e) {
return this.ruleForm.processesList[i].title;
}
}
},
//
async queryList() {
this.loading = true;
@ -805,17 +844,60 @@ export default {
this.ruleForm.radioImg = [];
this.ruleForm.radioMusic = [];
this.ruleForm.radioVideo = [];
let a = res.data.resourcesList.map(n => {
if (n.mediaType == 1) {
this.ruleForm.radioImg.push(n);
res.data.resourcesList.map(n => {
var a = []
var b = []
var c = []
if (n.mediaType == 1 && n.sourceType == 2) {
a.push(n)
this.ruleForm.radioImg = a.map(n => {
return {
mediaType: n.mediaType,
sourceType: n.sourceType,
title: n.title,
url: n.url,
processId: n.processId.split(',')
};
});
this.radioImg = n.sourceType;
} else if (n.mediaType == 1 && n.sourceType == 1) {
a.push(n);
this.imgData = a
this.radioImg = n.sourceType;
}
if (n.mediaType == 2) {
this.ruleForm.radioMusic.push(n);
if (n.mediaType == 2 && n.sourceType == 1) {
b.push(n)
this.musicData = b
this.radioMusic = n.sourceType;
} else if (n.mediaType == 2 && n.sourceType == 2) {
console.log('进来了1')
b.push(n)
this.ruleForm.radioMusic = b.map(n => {
return {
mediaType: n.mediaType,
sourceType: n.sourceType,
title: n.title,
url: n.url,
processId: n.processId.split(',')
};
});
this.radioMusic = n.sourceType;
}
if (n.mediaType == 3) {
this.ruleForm.radioVideo.push(n);
if (n.mediaType == 3 && n.sourceType == 1) {
c.push(n)
this.videoData = c
this.radioVideo = n.sourceType;
} else if (n.mediaType == 3 && n.sourceType == 2) {
c.push(n)
this.ruleForm.radioVideo = c.map(n => {
return {
mediaType: n.mediaType,
sourceType: n.sourceType,
title: n.title,
url: n.url,
processId: n.processId.split(',')
};
});
this.radioVideo = n.sourceType;
}
});
@ -842,34 +924,102 @@ export default {
this.dialog.title = "新增剧本";
},
async subMit() {
console.log(this.imgType, this.musicType, this.videoType);
console.log(this.radioImg, this.radioMusic, this.radioVideo);
if (this.imgType == true && this.radioImg == 1) {
this.$message({
message: "请绑定图片相关流程",
type: "error"
});
return false;
}
if (this.musicType == true && this.radioMusic == 1) {
this.$message({
message: "请绑定音频相关流程",
type: "error"
});
return false;
}
if (this.videoType == true && this.radioVideo == 1) {
this.$message({
message: "请绑定视频相关流程",
type: "error"
});
return false;
}
this.ruleForm.imgUrl = this.dataImg.join(",");
this.ruleForm.resourcesList = this.ruleForm.resourcesList
.concat(this.ruleForm.radioImg)
if (this.radioImg == 1) {
this.ruleForm.radioImg = this.imgData;
}
if (this.radioMusic == 1) {
this.ruleForm.radioMusic = this.musicData;
}
if (this.radioVideo == 1) {
this.ruleForm.radioVideo = this.videoData;
}
let data = this.ruleForm.radioImg
.concat(this.ruleForm.radioMusic)
.concat(this.ruleForm.radioVideo);
let list = [];
data.map(n => {
if (n.url != "") {
list.push(n);
}
});
this.ruleForm.resourcesList = list.map(n => {
return {
mediaType: n.mediaType,
sourceType: n.sourceType,
title: n.title,
url: n.url,
processId: n.processId.join(",")
};
});
console.log(this.imgData, "有变化吗");
console.log(this.ruleForm, "参数");
// try {
// let res = await addJbInfo(this.ruleForm);
// if (res.code == 200) {
// this.$message.success("");
// this.dialog.Visible = false;
// this.queryList();
// } else {
// this.$message({
// message: res.msg,
// type: "error"
// });
// }
// } catch (err) {
// console.log(err);
// }
try {
this.$refs["ruleForm"].validate(async valid => {
if (valid) {
if (this.type == "add") {
var res = await addJbInfo(this.ruleForm);
} else if (this.type == "edit") {
var res = await updateJbInfo(this.ruleForm);
}
if (res.code == 200) {
this.$message.success("新增成功");
this.dialog.Visible = false;
this.queryList();
} else {
this.$message({
message: res.msg,
type: "error"
});
}
}
});
} catch (err) {
console.log(err);
}
},
dealRdata(attchments, keyname) {
//attchments:
let list = [...attchments];
let result = [];
let obj = {};
for (let i = 0; i < list.length; i++) {
if (!obj[list[i][keyname]]) {
result.push(list[i]);
obj[list[i].wjDx] = true;
}
}
return result;
},
//
handleEdit(row) {
console.log(row);
this.queryListDetail(row.id);
this.dialog.Visible = true;
this.type = "edit";
this.dialog.title = "编辑剧本";
this.ruleForm = row;
},
//
handleView(row) {
@ -983,19 +1133,34 @@ export default {
},
changeImg(val) {
this.radioImg = val;
this.ruleForm.radioImg = [];
this.imgData = [];
},
changeMusic(val) {
this.radioMusic = val;
this.ruleForm.radioMusic = [];
this.musicData = [];
},
changeVideo(val) {
this.radioVideo = val;
this.ruleForm.radioVideo = [];
this.videoData = [];
},
changePro(type) {
if (type == "img") {
this.imgType = false;
} else if (type == "music") {
this.musicType = false;
} else if (type == "video") {
this.videoType = false;
}
},
//
handleAddImg() {
this.ruleForm.radioImg.push({
title: "",
url: "",
processId: "",
processId: [],
mediaType: 1,
sourceType: this.radioImg
});
@ -1004,7 +1169,7 @@ export default {
this.ruleForm.radioMusic.push({
title: "",
url: "",
processId: "",
processId: [],
mediaType: 2,
sourceType: this.radioMusic
});
@ -1013,7 +1178,7 @@ export default {
this.ruleForm.radioVideo.push({
title: "",
url: "",
processId: "",
processId: [],
mediaType: 3,
sourceType: this.radioVideo
});
@ -1023,45 +1188,39 @@ export default {
const formdata = new FormData();
formdata.append("file", file);
formdata.append("type", "product");
uploadFile(formdata).then(res => {
this.imgData.push(res.data.wjUrl);
// this.ruleForm.radioImg.push({
// title:'',
// url: res.data.wjUrl,
// mediaType: 1,
// sourceType: this.radioImg
// });
this.imgData.push({
url: res.data.wjUrl,
processName: "",
title: ""
});
this.imgType = true;
});
},
labeluploadmusic({ file }) {
const formdata = new FormData();
formdata.append("file", file);
formdata.append("type", "product");
uploadFile(formdata).then(res => {
this.musicData.push(res.data.wjUrl);
// this.ruleForm.radioMusic.push({
// title:'',
// url: res.data.wjUrl,
// mediaType: 2,
// sourceType: this.radioMusic
// });
this.musicData.push({
url: res.data.wjUrl,
processName: "",
title: ""
});
this.musicType = true;
});
},
labeluploadvideo({ file }) {
const formdata = new FormData();
formdata.append("file", file);
formdata.append("type", "product");
uploadFile(formdata).then(res => {
this.videoData.push(res.data.wjUrl);
// this.ruleForm.radioVideo.push({
// title:'',
// url: res.data.wjUrl,
// mediaType: 3,
// sourceType: this.radioVideo
// });
this.videoData.push({
url: res.data.wjUrl,
processName: "",
title: ""
});
this.musicType = true;
});
},
//
@ -1077,57 +1236,63 @@ export default {
this.videoData.splice(index, 1);
}
console.log(item);
delFile({ wjUrl: item }).then(res => {
delFile({ wjUrl: item.url }).then(res => {
if (res.code == 200) {
this.$message.success("删除成功");
}
});
},
//
setLc(item, type) {
setLc(item, i, type) {
console.log(item, i, this.imgData);
if (this.ruleForm.processesList.length == 0) {
this.$message({
message: "请新建流程",
type: "error"
});
return false;
}
if (type == "img") {
this.imgIndex = i;
} else if (type == "music") {
this.musicIdnex = i;
} else if (type == "video") {
this.videoIndex = i;
}
this.list = item;
this.typeUrl = type;
console.log(this.typeUrl);
this.processId = "";
this.process.Visible = true;
},
subMitLc() {
this.process.Visible = false;
if (this.typeUrl == "img") {
let data = {
title: "",
url: this.list,
processId: this.processId,
mediaType: 1,
sourceType: this.radioImg
};
this.ruleForm.radioImg.push(data);
this.imgType = false;
this.imgData[this.imgIndex].processName = this.ForChannel(
this.processId
);
this.imgData[this.imgIndex].processId = [this.processId];
this.imgData[this.imgIndex].mediaType = 1;
this.imgData[this.imgIndex].sourceType = this.radioImg;
}
if (this.typeUrl == "music") {
let data = {
title: "",
url: this.list,
processId: this.processId,
mediaType: 2,
sourceType: this.radioMusic
};
this.ruleForm.radioMusic.push(data);
this.musicType = false;
this.musicData[this.imgIndex].processName = this.ForChannel(
this.processId
);
this.musicData[this.musicIndex].processId = [this.processId];
this.musicData[this.musicIndex].mediaType = 2;
this.musicData[this.musicIndex].sourceType = this.radioImg;
}
if (this.typeUrl == "video") {
let data = {
title: "",
url: this.list,
processId: this.processId,
mediaType: 3,
sourceType: this.radioVideo
};
this.ruleForm.radioVideo.push(data);
this.videoType = false;
this.videoData[this.videoIndex].processName = this.ForChannel(
this.processId
);
this.videoData[this.videoIndex].processId = [this.processId];
this.videoData[this.videoIndex].mediaType = 3;
this.videoData[this.videoIndex].sourceType = this.radioImg;
}
console.log(
this.ruleForm.radioImg,
this.ruleForm.radioVideo,
this.ruleForm.radioMusic
);
}
}
};

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

@ -8,6 +8,8 @@
v-model="queryParams.query.scenarioId"
clearable
placeholder="请选择剧本标题"
@change="chageLc"
@visible-change='foucsLc'
>
<el-option
v-for="item in jbData"
@ -130,6 +132,7 @@
clearable
placeholder="请选择剧本标题"
style="width:300px"
@change="chageLc"
>
<el-option
v-for="item in jbData"
@ -208,7 +211,8 @@ export default {
jbData: [],
lcData: [],
total: 0,
type: "add"
type: "add",
data:{}
};
},
mounted() {
@ -229,14 +233,25 @@ export default {
},
//
async queryFindList() {
try {
let res = await queryFindList({});
let res = await queryFindList(this.data);
// console.log(res.data, "");
this.lcData = res.data;
} catch (err) {
console.log(err);
}
},
chageLc(val){
console.log(val)
this.data = {
scenarioId:val
}
this.queryFindList()
},
foucsLc(){
console.log(11110)
},
//Tips
async queryTipsList() {
this.loading = true;
@ -263,6 +278,8 @@ export default {
content: undefined
}
};
this.data = {}
this.queryFindList()
this.queryTipsList();
},
//

250
src/views/user/index.vue

@ -6,36 +6,46 @@
<el-form-item label="用户昵称:" style="margin-right:50px;">
<el-input
v-model="queryParams.query.nickName"
clearable
placeholder="请输入剧本标题"
/>
</el-form-item>
<el-form-item label="用户编号:" style="margin-right:50px;">
<el-input
v-model="queryParams.query.code"
clearable
placeholder="请输入工作室"
/>
</el-form-item>
<el-form-item label="联系电话:" style="margin-right:50px;">
<el-input
v-model="queryParams.query.phonenumber"
clearable
placeholder="请输入标签"
/>
</el-form-item>
<el-form-item label="注册时间:" style="margin-right:50px;">
<el-date-picker
v-model="queryParams.query.time"
v-model="time"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
/>
</el-form-item>
</el-form>
<div class="search-button">
<el-button size="medium" type="primary" style="height:36px;width:100px;"
<el-button
size="medium"
type="primary"
style="height:36px;width:100px;"
@click="search"
>搜索</el-button
>
<el-button
@click="refresh"
size="medium"
style="margin-left:20px;height:36px;width:100px;"
>重置</el-button
@ -60,7 +70,18 @@
</template>
</el-table-column>
<el-table-column align="center" property="nickName" label="昵称" />
<el-table-column align="center" property="code" label="编号" />
<el-table-column align="center" property="code" label="编号">
<template slot-scope="scope">
<div>
<span>{{ scope.row.code }}</span>
<i
style="float: right;font-size:14px;"
@click="handleEditCode(scope.row)"
class="el-icon-edit-outline"
></i>
</div>
</template>
</el-table-column>
<el-table-column
align="center"
property="phonenumber"
@ -71,8 +92,23 @@
property="createTime"
label="注册时间"
/>
<el-table-column align="center" property="level" label="用户等级" />
<el-table-column align="center" property="remark" label="备注" />
<el-table-column align="center" property="level" label="用户等级">
<template slot-scope="scope">
{{ levelormat(scope.row) }}
</template>
</el-table-column>
<el-table-column align="center" property="remark" label="备注">
<template slot-scope="scope">
<div>
<span>{{ scope.row.remark }}</span>
<i
style="float: right;font-size:14px;"
@click="handleEditRemark(scope.row)"
class="el-icon-edit-outline"
></i>
</div>
</template>
</el-table-column>
<el-table-column align="center" label="操作">
<template slot-scope="scope">
<el-button type="text" size="mini" @click="handleEdit(scope.row)"
@ -89,29 +125,52 @@
@pagination="queryUserInfo"
/>
</div>
<!-- 新增表单 -->
<el-dialog title="编辑用户" :visible.sync="dialog.Visible">
<el-form :model="form">
<el-form-item label="客户昵称">
<!-- <el-input v-model="form.date" autocomplete="off" /> -->
<span>{{ form.date }}</span>
</el-form-item>
<el-form-item label="客户等级">
<!-- <el-input v-model="form.level" autocomplete="off" /> -->
<span>{{ form.level }}</span>
</el-form-item>
<el-form-item label="修改为">
<el-select v-model="form.region" placeholder="请选择客户等级">
<el-option label="区域一" value="shanghai" />
<el-option label="区域二" value="beijing" />
</el-select>
</el-form-item>
<!-- 修改表单 -->
<el-dialog
:title="dialog.title"
:visible.sync="dialog.Visible"
center
width="30%"
>
<el-form :model="form" :inline="true">
<div v-if="type == 'level'">
<el-form-item label="客户昵称:" style="width:100%">
<span>{{ data.nickName }}</span>
</el-form-item>
<el-form-item label="客户等级:" style="width:100%">
<span>{{ levelormat(data) }}</span>
</el-form-item>
<el-form-item label="修改为:" style="width:100%">
<el-select v-model="form.level" placeholder="请选择客户等级">
<el-option
v-for="item in level"
:key="item"
:label="item.dictLabel"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
</div>
<div v-if="type == 'code'">
<el-form-item label="客户编号">
<el-input v-model="form.code" clearable placeholder="请输入客户编号" />
</el-form-item>
</div>
<div v-if="type == 'remark'">
<el-form-item label="备注">
<el-input
style="width:100%"
type="textarea"
:rows="5"
v-model="form.remark"
placeholder="请输入备注"
/>
</el-form-item>
</div>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="dialog.Visible = false"> </el-button>
<el-button type="primary" @click="dialog.Visible = false"
> </el-button
>
<el-button type="primary" @click="subMit"> </el-button>
</div>
</el-dialog>
</div>
@ -128,21 +187,35 @@ export default {
query: {
nickName: undefined,
code: undefined,
phonenumber: undefined
},
params: {
beginTime: undefined,
endTime: undefined
phonenumber: undefined,
params: {
beginTime: undefined,
endTime: undefined
}
},
},
time: [],
total: 0,
tableData: [],
form: {},
form: {
userId: ""
},
dialog: {
Visible: false
}
Visible: false,
title: ""
},
level: [],
data: {},
type: "level"
};
},
created() {
this.getDicts("jbs_user_level").then(res => {
console.log(res, 412312);
this.level = res.data;
console.log(this.level, "字典");
});
},
mounted() {
this.queryUserInfo();
},
@ -152,21 +225,120 @@ export default {
this.loading = true;
try {
let res = await queryUserInfo(this.queryParams);
console.log(res)
if(res.code == 200){
if (res.code == 200) {
this.loading = false;
this.tableData = res.data.rows;
this.total = res.data.total;
this.tableData = res.rows;
this.total = res.total;
}
} catch (err) {
console.log(err);
}
},
//
search() {
if (this.time != null) {
if (this.time.length > 0) {
this.queryParams.query.params.beginTime = this.time[0];
this.queryParams.query.params.endTime = this.time[1];
}
} else {
this.time = [];
this.queryParams.query.params.beginTime = undefined;
this.queryParams.query.params.endTime = undefined;
}
console.log(this.time);
console.log(this.queryParams);
this.queryUserInfo()
},
//
refresh() {
this.time = []
this.queryParams = {
pageNum: 1,
pageSize: 15,
query: {
nickName: undefined,
code: undefined,
phonenumber: undefined
},
params: {
beginTime: undefined,
endTime: undefined
}
}
this.queryUserInfo()
},
//
levelormat(row, column) {
return this.selectDictLabel(this.level, row.level);
},
//
handleEdit(row) {
this.form = {}
this.dialog.Visible = true;
this.form = row;
this.dialog.title = "修改用户等级";
this.type = "level";
this.form.userId = row.userId;
this.data = row;
},
//
handleEditCode(row) {
this.form = {}
this.dialog.Visible = true;
this.dialog.title = "修改用户编号";
this.form.userId = row.userId;
this.type = "code";
this.data = row;
},
//
handleEditRemark(row) {
this.form = {}
this.dialog.Visible = true;
this.dialog.title = "修改用户备注";
this.form.userId = row.userId;
this.type = "remark";
this.data = row;
},
//
async subMit() {
if(this.type == "level"){
if(this.form.level == undefined || this.form.level == ''){
this.$message({
message: '请选择用户等级',
type: "error"
});
return false;
}
}
if(this.type == "code"){
console.log(this.form.code,312321)
if(this.form.code == undefined || this.form.code == ''){
this.$message({
message: '请输入用户编号',
type: "error"
});
return false;
}
}
if(this.type == "remark"){
if(this.form.remark == undefined || this.form.remark == ''){
this.$message({
message: '请输入用户备注',
type: "error"
});
return false;
}
}
try {
let res = await updateUserInfo(this.form);
if (res.code == 200) {
this.$message.success("修改成功");
this.dialog.Visible = false;
this.queryUserInfo();
}
} catch (err) {
console.log(err);
}
}
}
};

Loading…
Cancel
Save