|
|
|
|
@ -1566,6 +1566,11 @@ export default {
|
|
|
|
|
// 提交生成评分账号
|
|
|
|
|
scpfzhSubmit(){
|
|
|
|
|
this.scpfzhLoading = true;
|
|
|
|
|
const loading1 = this.$loading({
|
|
|
|
|
lock: true,
|
|
|
|
|
text: '生成中,请等待...',
|
|
|
|
|
spinner: 'el-icon-loading',
|
|
|
|
|
});
|
|
|
|
|
this.$refs["scpfzhForm"].validate(valid => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
this.scpfzhForm.voteIds = this.scpfzhForm.votes.map(item => item.id).join(",");
|
|
|
|
|
@ -1579,10 +1584,12 @@ export default {
|
|
|
|
|
itemNames: itemNames,
|
|
|
|
|
}).then(response => {
|
|
|
|
|
this.scpfzhLoading = false;
|
|
|
|
|
loading1.close()
|
|
|
|
|
this.scpfzhOpen = false;
|
|
|
|
|
this.$modal.msgSuccess("生成成功")
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
this.scpfzhLoading = false;
|
|
|
|
|
loading1.close()
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
@ -1683,6 +1690,13 @@ export default {
|
|
|
|
|
// 多任务提交生成评分账号
|
|
|
|
|
drwScpfzhSubmit(){
|
|
|
|
|
this.drwScpfzhLoading = true
|
|
|
|
|
|
|
|
|
|
const loading1 = this.$loading({
|
|
|
|
|
lock: true,
|
|
|
|
|
text: '生成中,请等待...',
|
|
|
|
|
spinner: 'el-icon-loading',
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.$refs["drwScpfzhForm"].validate(valid => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
let VoteIds=[];
|
|
|
|
|
@ -1700,10 +1714,12 @@ export default {
|
|
|
|
|
voteIds: VoteIds.join(','),
|
|
|
|
|
}).then(response => {
|
|
|
|
|
this.drwScpfzhLoading = false;
|
|
|
|
|
loading1.close();
|
|
|
|
|
this.drwScpfzhOpen = false;
|
|
|
|
|
this.$modal.msgSuccess("生成成功");
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
this.drwScpfzhLoading = false;
|
|
|
|
|
loading1.close();
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|