| @@ -861,7 +861,8 @@ | |||||
| $('td.ti-text-form-content.spec div').text(specStr); | $('td.ti-text-form-content.spec div').text(specStr); | ||||
| SPEC && $('td.ti-text-form-content.resorce_type div').text(getListValueWithKey(ACC_CARD_TYPE, SPEC.AccCardType)); | SPEC && $('td.ti-text-form-content.resorce_type div').text(getListValueWithKey(ACC_CARD_TYPE, SPEC.AccCardType)); | ||||
| } | } | ||||
| var oLogHref = $('#-log-down').attr('href'); | |||||
| var repoPath = {{$.RepoRelPath}}; | |||||
| var oLogHref = `/api/v1/repos/${repoPath}/cloudbrain`; | |||||
| $('#-log-down').attr('href', oLogHref + `/${res.ID}/download_log_file`); | $('#-log-down').attr('href', oLogHref + `/${res.ID}/download_log_file`); | ||||
| $('.full-log-dialog').attr('data-href', oLogHref + `/${res.ID}/download_log_file`); | $('.full-log-dialog').attr('data-href', oLogHref + `/${res.ID}/download_log_file`); | ||||
| if (res.ResultJson) { | if (res.ResultJson) { | ||||
| @@ -187,7 +187,7 @@ const en = { | |||||
| onlyFace:'Only face', | onlyFace:'Only face', | ||||
| onlyLicensePlate:'Only license plate', | onlyLicensePlate:'Only license plate', | ||||
| dragThePictureHere:'Drag the picture here', | dragThePictureHere:'Drag the picture here', | ||||
| or:'or', | |||||
| or:' or ', | |||||
| clickUpload:'Click upload', | clickUpload:'Click upload', | ||||
| dataDesensitizationModelExperience:'Data desensitization model experience', | dataDesensitizationModelExperience:'Data desensitization model experience', | ||||
| dataDesensitizationModelDesc:'Use AI technology to desensitize the face and license plate number in the picture. For more information about this model, please visit the project', | dataDesensitizationModelDesc:'Use AI technology to desensitize the face and license plate number in the picture. For more information about this model, please visit the project', | ||||
| @@ -33,11 +33,9 @@ | |||||
| drag | drag | ||||
| > | > | ||||
| <div class="el-upload__text"> | <div class="el-upload__text"> | ||||
| {{ $t("dragThePictureHere") | |||||
| }}<span style="color: rgba(136, 136, 136, 0.87)">{{ | |||||
| $t("or") | |||||
| }}</span | |||||
| >{{ $t("clickUpload") }} | |||||
| <span> | |||||
| <span>{{ $t("dragThePictureHere") }}</span><span style="color: rgba(136, 136, 136, 0.87)">{{ $t("or") }}</span><span>{{ $t("clickUpload") }}</span> | |||||
| </span> | |||||
| </div> | </div> | ||||
| </el-upload> | </el-upload> | ||||