Browse Source

1、修复顺序练习分析题空白问题

2、修复自主报名强制生成工种证书问题
master
梁欣 2 months ago
parent
commit
9fdb09cca5
  1. 17
      index.html
  2. 1
      src/api/exam.js
  3. 4
      src/manifest.json
  4. 3
      src/pages/signUp/self.vue

17
index.html

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<head>
<meta charset="UTF-8"/>
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
@ -9,12 +9,15 @@
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/src/main.ts"></script>
</body>
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>

1
src/api/exam.js

@ -71,6 +71,7 @@ export const TASK_TYPE_LIST = [
{value: 'context', label: '情境题'},
{value: 'cal-analysis', label: '计算分析'},
{value: 'drag', label: '拖拽题'},
{value: 'analysis', label: '分析题'},
]
export const ANSWER_CHAR = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']

4
src/manifest.json

@ -3,8 +3,8 @@
"appid" : "__UNI__06C03D0",
//__UNI__06C03D0
"description" : "",
"versionName" : "2.2.0",
"versionCode" : "275",
"versionName" : "2.2.2",
"versionCode" : "277",
"transformPx" : false,
/* 5+App */
"app-plus" : {

3
src/pages/signUp/self.vue

@ -910,7 +910,7 @@ const join = async () => {
if (form.value.titleType !== '无' && !form.value.titlePaper) {
return $toast('请上传职称等级证书')
}
if (form.value.workTypeName !== '无' && !form.value.paperNo) {
if (hasWorkTypePaper.value && form.value.workTypeName !== '无' && !form.value.paperNo) {
return $toast('请输入工种证书编号')
}
if (!workExp.value.length) {
@ -955,6 +955,7 @@ const join = async () => {
form.value.workExp = JSON.stringify(workExp.value)
if (!form.value.id) {
await signUpSelfJoinReq(form.value)
$toast('提交成功')
} else {
await signUpSelfUpdateReq(form.value)
$toast('修改成功')

Loading…
Cancel
Save