多语言-后台-铭牌

This commit is contained in:
2023-06-08 11:53:33 +08:00
committed by khalil
parent d0ca3ebfbb
commit 5ba010265c
3 changed files with 2 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.ClassPathResource;
import org.springframework.stereotype.Service;

View File

@@ -48,7 +48,7 @@ public class NameplateAdminController extends BaseController {
}
@RequestMapping("/get")
public Nameplate getOne(Long id) {
public Nameplate getOne(Long id){
return nameplateAdminService.getOneById(id);
}

View File

@@ -337,9 +337,6 @@
$("#ar_name1").val(jsonName.ar);
$("#in_name1").val(jsonName.in);
$('#nameplateType1').attr("disabled", "true");
$('#name1').attr("readonly", "readonly");
$('#ar_name1').attr("readonly", "readonly");
$('#in_name1').attr("readonly", "readonly");
if (json.isCustomWord == 0){
$('input[name="isCustomWord"]').get(0).checked = true;
$('#fixedWord-div').removeClass("hidden");