commit
This commit is contained in:
+1
-3
@@ -145,9 +145,7 @@ public class TeacherCongressDelegatePushDwSjAuditController {
|
||||
@SaCheckPermission("tc.delegate.push.dwSjAudit")
|
||||
public Result batchSubmit(String sessionId) {
|
||||
String unionId = SecurityUtil.getUnionId();
|
||||
if (SecurityUtil.getUserLoginname().equals("004474")) {
|
||||
unionId = "39de17920d6948f08b8175d4b87b5cec";
|
||||
}
|
||||
|
||||
|
||||
String str = teacherCongressDelegatePushService.batchSubmitWhere(sessionId, unionId);
|
||||
if (StrUtil.isNotBlank(str)) {
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ layout("/layouts/platform.html"){
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
<script nonce="${cspNonce!}">
|
||||
<!--#include("addForm.js"){}#-->
|
||||
<!--#include("editForm.js"){}#-->
|
||||
<!--#include("adjust.js"){}#-->
|
||||
|
||||
+25
-21
@@ -390,19 +390,21 @@ const write = {
|
||||
type: 'warning'
|
||||
}).then(async () => {
|
||||
const loading = createLoading('正在提交中')
|
||||
const {code} = await $.post('/platform/teacherCongress/delegate/push/write/save', this.formData)
|
||||
loading.close()
|
||||
if (code === 0) {
|
||||
this.$message.success('保存成功')
|
||||
this.$emit('refresh')
|
||||
if (this.session_id && this.user_id) {
|
||||
await this.initOtherInfo()
|
||||
this.$axios.post('/platform/teacherCongress/delegate/push/write/save', this.formData).then(async resp => {
|
||||
loading.close()
|
||||
if (resp.code === 0) {
|
||||
this.$message.success('保存成功')
|
||||
this.$emit('refresh')
|
||||
if (this.session_id && this.user_id) {
|
||||
await this.initOtherInfo()
|
||||
} else {
|
||||
await this.initInfo()
|
||||
}
|
||||
} else {
|
||||
await this.initInfo()
|
||||
this.$message.warning('保存失败')
|
||||
}
|
||||
} else {
|
||||
this.$message.warning('保存失败')
|
||||
}
|
||||
})
|
||||
|
||||
}).catch(() => {
|
||||
|
||||
})
|
||||
@@ -418,18 +420,20 @@ const write = {
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(async () => {
|
||||
const {code} = await $.post('/platform/teacherCongress/delegate/push/write/submit', this.formData)
|
||||
if (code === 0) {
|
||||
this.$message.success('提交成功')
|
||||
this.$emit('refresh')
|
||||
if (this.session_id && this.user_id) {
|
||||
await this.initOtherInfo()
|
||||
this.$axios.post('/platform/teacherCongress/delegate/push/write/submit', this.formData).then(async resp => {
|
||||
if (resp.code === 0) {
|
||||
this.$message.success('提交成功')
|
||||
this.$emit('refresh')
|
||||
if (this.session_id && this.user_id) {
|
||||
await this.initOtherInfo()
|
||||
} else {
|
||||
await this.initInfo()
|
||||
}
|
||||
} else {
|
||||
await this.initInfo()
|
||||
this.$message.warning('提交失败')
|
||||
}
|
||||
} else {
|
||||
this.$message.warning('提交失败')
|
||||
}
|
||||
})
|
||||
|
||||
}).catch(() => {
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user