合并分支 'dev_third_stage' 到 'master'
Dev third stage 查看合并请求 laws-nio/laws-weilai!110
This commit is contained in:
@@ -440,7 +440,7 @@ CREATE TABLE `laws_weilai`.`doc_translation` (
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '文档翻译表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- 文档翻译-源语言数据字典
|
||||
-- 文档翻译-源语言数据字典 2022-7-25 已同步生产环境
|
||||
INSERT INTO `laws_weilai`.`sys_dict` (`id`, `dict_name`, `dict_code`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `type`, `dict_en_name`, `is_tag_dict`, `is_read_only`, `attribute_type`, `order_num`) VALUES ('1550306517749547010', '文档翻译-翻译语言-源语言', 'source_language', '文档翻译-翻译语言-源语言', 0, 'admin', '2022-07-22 10:27:32', 'admin', '2022-07-22 10:29:17', NULL, NULL, 1, 0, '1', 2);
|
||||
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('155030756958032691412', '1550306517749547010', '中文', 'zh', '中文', 2, 1, 'admin', '2022-07-22 10:31:43', 'admin', '2022-07-22 10:31:59', 1, NULL, NULL, '0', 'Chinese');
|
||||
@@ -459,7 +459,7 @@ INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_v
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('15503119403009474586', '1550306517749547010', '朝鲜语', 'ko', '朝鲜语', 15, 1, 'admin', '2022-07-22 10:49:05', NULL, NULL, 1, NULL, NULL, '0', 'Korean');
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('15503120084961361947', '1550306517749547010', '越南语', 'vi', '越南语', 16, 1, 'admin', '2022-07-22 10:49:21', NULL, NULL, 1, NULL, NULL, '0', 'Vietnamese');
|
||||
|
||||
-- 文档翻译-目标语言数据字典
|
||||
-- 文档翻译-目标语言数据字典 2022-7-25 已同步生产环境
|
||||
INSERT INTO `laws_weilai`.`sys_dict` (`id`, `dict_name`, `dict_code`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `type`, `dict_en_name`, `is_tag_dict`, `is_read_only`, `attribute_type`, `order_num`) VALUES ('1550306581909815297', '文档翻译-翻译语言-目标语言', 'target_language', '文档翻译-翻译语言-目标语言', 0, 'admin', '2022-07-22 10:27:47', 'admin', '2022-07-22 10:29:13', NULL, NULL, 1, 0, '1', 1);
|
||||
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('15503075695803269141', '1550306581909815297', '中文', 'zh', '中文', 2, 1, 'admin', '2022-07-22 10:31:43', 'admin', '2022-07-22 10:31:59', 1, NULL, NULL, '0', 'Chinese');
|
||||
@@ -478,19 +478,19 @@ INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_v
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('1550311940300947458', '1550306581909815297', '朝鲜语', 'ko', '朝鲜语', 15, 1, 'admin', '2022-07-22 10:49:05', NULL, NULL, 1, NULL, NULL, '0', 'Korean');
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('1550312008496136194', '1550306581909815297', '越南语', 'vi', '越南语', 16, 1, 'admin', '2022-07-22 10:49:21', NULL, NULL, 1, NULL, NULL, '0', 'Vietnamese');
|
||||
|
||||
-- 文档翻译-发布情况数据字典
|
||||
-- 文档翻译-发布情况数据字典 2022-7-25 已同步生产环境
|
||||
INSERT INTO `laws_weilai`.`sys_dict` (`id`, `dict_name`, `dict_code`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `type`, `dict_en_name`, `is_tag_dict`, `is_read_only`, `attribute_type`, `order_num`) VALUES ('1550314527293128705', '文档翻译-发布情况', 'release_condition', '文档翻译-发布情况', 0, 'admin', '2022-07-22 10:59:21', 'admin', '2022-07-22 11:01:07', NULL, NULL, 1, 0, '1', 2);
|
||||
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('1550314666682433537', '1550314527293128705', '已发布', 'published', '已发布', 1, 1, 'admin', '2022-07-22 10:59:55', NULL, NULL, 1, NULL, NULL, '0', 'Have published');
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('1550314731320852482', '1550314527293128705', '草稿', 'draft', '草稿', 2, 1, 'admin', '2022-07-22 11:00:10', NULL, NULL, 1, NULL, NULL, '0', 'Draft');
|
||||
|
||||
-- 文档翻译-翻译结果数据字典
|
||||
-- 文档翻译-翻译结果数据字典 2022-7-25 已同步生产环境
|
||||
INSERT INTO `laws_weilai`.`sys_dict` (`id`, `dict_name`, `dict_code`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `type`, `dict_en_name`, `is_tag_dict`, `is_read_only`, `attribute_type`, `order_num`) VALUES ('1550314971079852034', '文档翻译-翻译结果', 'translation_result', '文档翻译-翻译结果', 0, 'admin', '2022-07-22 11:01:07', NULL, NULL, NULL, NULL, 1, 0, '1', 1);
|
||||
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('1550315090797871105', '1550314971079852034', '翻译中', 'In the translation', '翻译中', 1, 1, 'admin', '2022-07-22 11:01:36', NULL, NULL, 1, NULL, NULL, '0', 'In the translation');
|
||||
INSERT INTO `laws_weilai`.`sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `is_tag_dict`, `is_read_only`, `attribute_type`, `del_flag`, `en_name`) VALUES ('1550315193285689345', '1550314971079852034', '翻译完成', 'Translation done', '翻译完成', 2, 1, 'admin', '2022-07-22 11:02:00', NULL, NULL, 1, NULL, NULL, '0', 'Translation done');
|
||||
|
||||
-- 文档翻译表-增加字段 编号、标题
|
||||
-- 文档翻译表-增加字段 编号、标题 2022-7-25 已同步生产环境
|
||||
ALTER TABLE `laws_weilai`.`doc_translation`
|
||||
ADD COLUMN `serial_number` varchar(255) NULL COMMENT '编号' AFTER `buss_document_library_id`,
|
||||
ADD COLUMN `title` varchar(255) NULL COMMENT '标题' AFTER `serial_number`;
|
||||
|
||||
+5
-1
@@ -1544,7 +1544,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
Map<String, String> msgMap = new HashMap<>();
|
||||
msgMap.put("nioNumber", paramsCollectManifestEO.getNioNumber());
|
||||
msgMap.put("state", paramsCollectManifestEO.getState());
|
||||
msgMap.put("state", "1");
|
||||
msgMap.put("type", "1");
|
||||
msgMapList.add(msgMap);
|
||||
}
|
||||
|
||||
@@ -1581,6 +1581,10 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
String content = connectBuilder.substring(0, connectBuilder.toString().length() - 1) + " and other parameter items, please enter the link to handle it.";
|
||||
|
||||
SysUser sysUser = sysUserService.getUserByName(sdt);
|
||||
if(sysUser == null){
|
||||
continue;
|
||||
}
|
||||
|
||||
String[] thirdIds = new String[1];
|
||||
thirdIds[0] = sysUser.getThirdId();
|
||||
String urlParamsStr = parseUrlParams(paramsManifestEO);
|
||||
|
||||
+1
-7
@@ -5,12 +5,9 @@ import java.util.List;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.jero.common.api.vo.Result;
|
||||
import com.jero.common.system.query.QueryGenerator;
|
||||
import com.jero.modules.docTranslation.entity.DocTranslationEO;
|
||||
import com.jero.modules.docTranslation.service.IDocTranslationEOService;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import com.jero.common.system.base.controller.JeroController;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -21,7 +18,6 @@ import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import com.jero.common.aspect.annotation.AutoLog;
|
||||
|
||||
|
||||
/**
|
||||
* @Description: 文档翻译表
|
||||
* @Author: jero-boot
|
||||
@@ -53,9 +49,7 @@ public class DocTranslationEOController extends JeroController<DocTranslationEO,
|
||||
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
||||
@RequestParam(name="cut", defaultValue="cn") String cut,
|
||||
HttpServletRequest req) {
|
||||
QueryWrapper<DocTranslationEO> queryWrapper = QueryGenerator.initQueryWrapper(docTranslationEO, req.getParameterMap());
|
||||
Page<DocTranslationEO> page = new Page<DocTranslationEO>(pageNo, pageSize);
|
||||
IPage<DocTranslationEO> pageList = docTranslationEOService.page(page, queryWrapper);
|
||||
IPage<DocTranslationEO> pageList = docTranslationEOService.queryPageList(docTranslationEO,pageNo,pageSize,cut,req);
|
||||
return Result.OK(cut,pageList);
|
||||
}
|
||||
|
||||
|
||||
+14
@@ -1,7 +1,10 @@
|
||||
package com.jero.modules.docTranslation.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.jero.modules.docTranslation.entity.DocTranslationEO;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -58,4 +61,15 @@ public interface IDocTranslationEOService extends IService<DocTranslationEO> {
|
||||
* @return
|
||||
*/
|
||||
List<DocTranslationEO> queryList();
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
* @param docTranslationEO
|
||||
* @param pageNo
|
||||
* @param pageSize
|
||||
* @param cut
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
IPage<DocTranslationEO> queryPageList(DocTranslationEO docTranslationEO, Integer pageNo, Integer pageSize, String cut, HttpServletRequest req);
|
||||
}
|
||||
|
||||
+29
@@ -1,5 +1,10 @@
|
||||
package com.jero.modules.docTranslation.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.jero.common.system.query.QueryGenerator;
|
||||
import com.jero.common.system.vo.LoginUser;
|
||||
import com.jero.modules.docTranslation.entity.DocTranslationEO;
|
||||
import com.jero.modules.docTranslation.enums.ReleaseConditionEnum;
|
||||
import com.jero.modules.docTranslation.enums.TranslationResultEnum;
|
||||
@@ -7,6 +12,8 @@ import com.jero.modules.docTranslation.mapper.DocTranslationEOMapper;
|
||||
import com.jero.modules.docTranslation.service.IDocTranslationEOService;
|
||||
import com.jero.modules.docTranslation.utils.TranslationDocumentUtils;
|
||||
import com.jero.modules.oss.entity.OSSFile;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.apache.shiro.SecurityUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.*;
|
||||
@@ -15,6 +22,8 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.transaction.annotation.Propagation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* @Description: 文档翻译表
|
||||
* @Author: jero-boot
|
||||
@@ -103,4 +112,24 @@ public class DocTranslationEOServiceImpl extends ServiceImpl<DocTranslationEOMap
|
||||
public List<DocTranslationEO> queryList() {
|
||||
return list();
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPage<DocTranslationEO> queryPageList(DocTranslationEO docTranslationEO, Integer pageNo, Integer pageSize, String cut, HttpServletRequest req) {
|
||||
Page<DocTranslationEO> page = new Page<DocTranslationEO>(pageNo, pageSize);
|
||||
|
||||
QueryWrapper<DocTranslationEO> queryWrapper = QueryGenerator.initQueryWrapper(docTranslationEO, req.getParameterMap());
|
||||
// 获取当前登录人
|
||||
LoginUser currentUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
/**
|
||||
* 数据权限:自己创建的、或发布情况为“已发布”的数据
|
||||
*/
|
||||
queryWrapper.lambda().and(query -> {
|
||||
query.eq(DocTranslationEO::getCreateBy,currentUser.getUsername());
|
||||
query.or(o -> {
|
||||
o.eq(DocTranslationEO::getReleaseCondition,ReleaseConditionEnum.PUBLISHED.getValue());
|
||||
});
|
||||
});
|
||||
IPage<DocTranslationEO> result = this.page(page, queryWrapper);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1173,4 +1173,17 @@ module.exports = {
|
||||
convertFailed:'Convert Failed',
|
||||
standardData:'Standard Data',
|
||||
Theorganization:'The Organization',
|
||||
Addingfolder:'Adding a folder',
|
||||
Addingsubfolders:'Adding Subfolders',
|
||||
Editfolder:'Edit Folder',
|
||||
Deletefolders:'Delete Folders',
|
||||
Foldername:'Folder Name',
|
||||
Folderpermissions:'Folder Permissions',
|
||||
Folderorder:'Folder Order',
|
||||
Downloadprivileges:'Download Privileges',
|
||||
Openpersonnel:'Open Personnel',
|
||||
originalText:'Original Text',
|
||||
translatedText:'Translated Text',
|
||||
Administrativeprivileges:'Administrativ Pprivileges',
|
||||
Checkthepermissions:'Check The Permissions',
|
||||
}
|
||||
@@ -1177,4 +1177,17 @@ module.exports = {
|
||||
convertFailed:'转换失败',
|
||||
standardData:'标准数据',
|
||||
Theorganization:'组织机构',
|
||||
Addingfolder:'新增文件夹',
|
||||
Addingsubfolders:'新增子文件夹',
|
||||
Editfolder:'编辑文件夹',
|
||||
Deletefolders:'删除文件夹',
|
||||
Foldername:'文件夹名称',
|
||||
Folderpermissions:'文件夹权限',
|
||||
Folderorder:'文件夹顺序',
|
||||
Downloadprivileges:'下载权限',
|
||||
Openpersonnel:'开放人员',
|
||||
originalText:'原文',
|
||||
translatedText:'译文',
|
||||
Administrativeprivileges:'管理权限',
|
||||
Checkthepermissions:'查看权限',
|
||||
}
|
||||
@@ -99,6 +99,7 @@
|
||||
this.$route.path == '/TaskPlanList' ||
|
||||
this.$route.path == '/documentDataComparison' ||
|
||||
this.$route.path == '/comparisonResults' ||
|
||||
this.$route.path == '/documentTranslationResults' ||
|
||||
this.$route.path == '/initiateDocumentComparison' ||
|
||||
this.$route.path == '/evaluationProcess' ||
|
||||
this.$route.path == '/evaluationResultsClause' ||
|
||||
|
||||
@@ -387,6 +387,11 @@ export const constantRouterMap = [
|
||||
name: 'initiateDocumentComparison',
|
||||
component: () => import(/* webpackChunkName: "user" */ '@/views/documentTools/documentComparison/components/initiateComparison')
|
||||
},
|
||||
{
|
||||
path: '/documentTranslationResults',
|
||||
name: 'documentTranslationResults',
|
||||
component: () => import(/* webpackChunkName: "user" */ '@/views/documentTools/documentTranslation/components/documentTranslationResults')
|
||||
},
|
||||
{
|
||||
path: '/documentDataComparison',
|
||||
name: 'documentDataComparison',
|
||||
|
||||
+2
-2
@@ -73,7 +73,7 @@
|
||||
class="box-input-One"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
allowClear
|
||||
v-model="formInline.translationLanguage">
|
||||
v-model="formInline.sourceLanguage">
|
||||
<a-select-option v-for="(item, key) in LanguageList"
|
||||
:key="key"
|
||||
:value="item.value">
|
||||
@@ -91,7 +91,7 @@
|
||||
class="box-input-One"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
allowClear
|
||||
v-model="formInline.translationLanguageOne">
|
||||
v-model="formInline.targetLanguage">
|
||||
<a-select-option v-for="(item, key) in LanguageList"
|
||||
:key="key"
|
||||
:value="item.value">
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
<span class="title-text-text"
|
||||
:title="$t('file')">{{$t('file')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="file">
|
||||
<a-form-model-item class="itemModel" prop="sourceFileId">
|
||||
<a-button type="primary" class="button-text"
|
||||
@click="clickButtonToUpload('file')">
|
||||
{{ (formInline.file === 'null' || formInline.file === '' ||
|
||||
formInline.file == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
||||
@click="clickButtonToUpload('sourceFileId')">
|
||||
{{ (formInline.sourceFileId === 'null' || formInline.sourceFileId === '' ||
|
||||
formInline.sourceFileId == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
||||
}}
|
||||
</a-button>
|
||||
</a-form-model-item>
|
||||
@@ -37,7 +37,7 @@
|
||||
<a-form-model-item class="itemModel" prop="standard">
|
||||
<a-input class="box-input"
|
||||
readonly
|
||||
v-model="formInline.standard"
|
||||
v-model="formInline.serialNumber"
|
||||
@click.native="standardClick"
|
||||
:placeholder="$t('PleaseSelect')+$t('standard')"/>
|
||||
</a-form-model-item>
|
||||
@@ -54,7 +54,7 @@
|
||||
class="box-input"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
allowClear
|
||||
v-model="formInline.translationResults">
|
||||
v-model="formInline.textStatus">
|
||||
<a-select-option v-for="(item, key) in translationResultsList"
|
||||
:key="key"
|
||||
:value="item.value">
|
||||
@@ -77,7 +77,7 @@
|
||||
class="box-input"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
allowClear
|
||||
v-model="formInline.translationLanguage">
|
||||
v-model="formInline.sourceLanguage">
|
||||
<a-select-option v-for="(item, key) in LanguageList"
|
||||
:key="key"
|
||||
:value="item.value">
|
||||
@@ -95,7 +95,7 @@
|
||||
class="box-input"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
allowClear
|
||||
v-model="formInline.translationLanguageOne">
|
||||
v-model="formInline.targetLanguage">
|
||||
<a-select-option v-for="(item, key) in LanguageList"
|
||||
:key="key"
|
||||
:value="item.value">
|
||||
@@ -133,7 +133,7 @@
|
||||
confirmLoading: false,
|
||||
formInline: {},
|
||||
rules: {
|
||||
file: [
|
||||
sourceFileId: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('file') + this.$t('cannotEmpty'),
|
||||
|
||||
+234
@@ -0,0 +1,234 @@
|
||||
<template>
|
||||
<div class="doc-detail">
|
||||
<div class="doc-detail-wrap">
|
||||
<div class="doc-detail-header" style="position: fixed;top: 0">
|
||||
<div class="doc-detail-title">
|
||||
<span style="line-height: 66px;display: inline-block;float: left" @click="Fallback">
|
||||
<a-icon type="arrow-left" style="margin-right: 6px;"/>
|
||||
</span>
|
||||
<span> {{$t('DocumentTranslation')}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding-top: 68px;background: #fff">
|
||||
<div class="detail-content">
|
||||
<div class="detail-content-left">
|
||||
<div class="detail-text-top">
|
||||
{{$t('originalText')}}
|
||||
</div>
|
||||
<div class="detail-text">
|
||||
汽车用LED前照灯
|
||||
|
||||
1 范围
|
||||
|
||||
本标准规定了汽车用LED光源/模块或含有LED光源/模块的前照灯配光性能、光色、温度循环等试验方法和检验规则等,
|
||||
本标准适用于M、N类汽车使用的LED前照灯、或主要由LED光源或LED模块形成远光或近光的LED前照灯。
|
||||
|
||||
2 规范性引用文件
|
||||
|
||||
下列文件中的条款,通过本标准的引用而成为本标准的条款,凡是注日期的引用文件,其随后所有的修改单(不包括勘误的内容)或修订版均不适用于本标准,然而,鼓励根据本标准达成协议的各方研究是否可使用这些文件的最新版本。凡是不注日期的引用文件,其最新版本适用于本标准.
|
||||
GB 4599—2007 汽车用灯丝灯泡前照灯
|
||||
GB 4785 汽车及挂车外部照明和光信号装置的安装规定
|
||||
GB/T 7922 照明光源颜色的测量方法
|
||||
GB 15766.1 道路机动车辆灯丝灯泡 尺寸、光电性能要求
|
||||
|
||||
3 术语和定义
|
||||
|
||||
GB 4599—2007和GB 4785中确立的,以及下列术语和定义适用于本标准占
|
||||
3. 1
|
||||
目标光通量: objective luminous flux
|
||||
可更换光源或光源模块光通量的设计值。
|
||||
3.2
|
||||
光源失效 failure of light source
|
||||
LED或LED模块在正常使用条件下,一个或多个LED失去发光功能、变暗、色度超标、或出现闪烁的现象。
|
||||
3.3
|
||||
LED 模块 LED module
|
||||
仅含有LED的光源模块。
|
||||
|
||||
4 前照灯的不同型式
|
||||
|
||||
在以下主要方面有差异的前照灯:
|
||||
——商品名称或商标;
|
||||
——光学系统的特性;
|
||||
——通过反射、折射、吸收和/或工作时的变形,改变光学效果的部件;
|
||||
——提供的光束种类(近光,远光或远、近光);
|
||||
——配光镜及其涂层的材料;
|
||||
|
||||
|
||||
——LED光源/模块类型和参数(电压、功率、光通量、色度、显色性九
|
||||
5 要求
|
||||
5.1 一般要求
|
||||
5.1. 1 LED前照灯应设计和制造成在正常使用条件下,即使受到振动,仍能保证满足使用要求和符合本标准规定。
|
||||
5.1.2 LED前照灯应具有良好的散热性,防止LED光源热堆积,LED前照灯即使在低温凝冻的环境下仍能正常工作,
|
||||
5.1.3 LED前照灯应具有良好的电磁兼容性能。
|
||||
5.1.4 当前照灯装有LED光源或LED模块时其性能均应满足本标准要求;当LED前照灯中装有灯丝灯泡或HID光源实现远光或近光功能时,其配光性能和检测应分别满足其相应标准的要求,
|
||||
5.1.5 前照灯应具有光束调整装置,当近光灯和远光灯形成一组合体,并各自装有LED光源/模块、灯丝灯泡(或灯光组)时,调整装置应能对它们分别进行调整,这些要求不适用于远光灯和近光灯不能单独调节的前照灯,
|
||||
</div>
|
||||
</div>
|
||||
<div class="detail-content-right">
|
||||
<div class="detail-text-top">
|
||||
{{$t('translatedText')}}
|
||||
</div>
|
||||
<div class="detail-text">
|
||||
LED headlamp for automobile
|
||||
one Range
|
||||
This standard specifies the test methods and inspection rules for light distribution performance, light
|
||||
color, temperature cycle, etc. of automotive LED light source / module or headlamp containing LED light
|
||||
source / module,
|
||||
This standard is applicable to LED headlamps used by M and N vehicles, or LED headlamps that mainly form
|
||||
high beam or low beam by LED light source or LED module.
|
||||
two Normative references
|
||||
The provisions in the following documents become the provisions of this standard through the reference of
|
||||
this standard. For dated references, all subsequent amendments (excluding the contents of Corrigendum) or
|
||||
revisions are not applicable to this standard. However, parties to agreements based on this standard are
|
||||
encouraged to study whether the latest versions of these documents can be used. For undated references,
|
||||
the latest edition is applicable to this standard
|
||||
GB 4599—2007 Automotive filament bulb headlamps
|
||||
GB 4785 Provisions for the installation of exterior lighting and light signalling devices for automobiles
|
||||
and trailers
|
||||
GB/T 7922 Methods of measuring the color of lighting sources
|
||||
GB 15766.1 Requirements for dimensions and photoelectric performance of filament bulbs for road motor
|
||||
vehicles
|
||||
three Terms and definitions
|
||||
The terms and definitions established in GB 4599-2007 and GB 4785 and the following terms and definitions
|
||||
are applicable to this standard
|
||||
3. 1
|
||||
Objective luminous flux
|
||||
Design value of luminous flux of replaceable light source or light source module.
|
||||
three point two
|
||||
Failure of light source
|
||||
Under normal use conditions of LED or LED module, one or more LEDs lose light-emitting function, darken,
|
||||
chromaticity exceeds the standard, or flicker.
|
||||
three point three
|
||||
LED module
|
||||
Light source module with led only.
|
||||
four Different types of headlamps
|
||||
Headlamps that differ in the following main respects:
|
||||
——Trade name or trademark;
|
||||
——Characteristics of optical system;
|
||||
——Components that change the optical effect through reflection, refraction, absorption and / or
|
||||
deformation during operation;
|
||||
——Type of beam provided (low beam, high beam or high beam and low beam);
|
||||
——Materials of lens and its coating;
|
||||
——LED light source / module type and parameters (voltage, power, luminous flux, chromaticity, color
|
||||
rendering IX
|
||||
five requirement
|
||||
five point one general requirements
|
||||
5.1. one The LED headlamp shall be designed and manufactured to ensure that it can meet the use
|
||||
requirements and comply with the provisions of this standard even if it is vibrated under normal
|
||||
conditions of use.
|
||||
5.1.2 The LED headlamp shall have good heat dissipation to prevent thermal accumulation of LED light
|
||||
source. The LED headlamp can work normally even in the low-temperature freezing environment,
|
||||
5.1.3 LED headlamp shall have good electromagnetic compatibility performance.
|
||||
5.1.4 When the headlamp is equipped with LED light source or LED module, its performance shall meet the
|
||||
requirements of this standard; When the LED headlamp is equipped with filament bulb or HID light source to
|
||||
realize the function of high beam or low beam, its Photometric Performance and detection shall meet the
|
||||
requirements of corresponding standards respectively,
|
||||
5.1.5 The headlamp shall have a beam adjustment device. When the dipped beam and the high beam form a
|
||||
combination and each is equipped with an LED light source / module and a filament bulb (or light group),
|
||||
the adjustment device shall be able to adjust them respectively. These requirements do not apply to
|
||||
headlamps where the high beam and the low beam cannot be adjusted separately,
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'documentTranslationResults',
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
Fallback() {
|
||||
this.$router.push({
|
||||
path: '/documentTranslation'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
|
||||
.doc-detail {
|
||||
background: #fff;
|
||||
height: 100%;
|
||||
|
||||
.doc-detail-wrap {
|
||||
.doc-detail-header {
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
height: 68px;
|
||||
line-height: 68px;
|
||||
padding: 0 0 0 32px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-bottom: 2px #eff1f3 solid;
|
||||
background: #fff;
|
||||
|
||||
.doc-detail-title {
|
||||
display: inline-block;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
line-height: 68px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.detail-content {
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.detail-content-left {
|
||||
width: calc(50% - 12px);
|
||||
height: calc(100vh - 130px);
|
||||
float: left;
|
||||
border: 1px solid #CED0D8;
|
||||
padding: 24px 32px;
|
||||
box-sizing: border-box;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.detail-content-right {
|
||||
float: left;
|
||||
width: calc(50% - 12px);
|
||||
padding: 24px 32px;
|
||||
margin-left: 24px;
|
||||
height: calc(100vh - 130px);
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #CED0D8;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.detail-text-top {
|
||||
height: 30px;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.detail-text {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
}
|
||||
|
||||
.page {
|
||||
text-align: right;
|
||||
margin-top: 20px;
|
||||
}
|
||||
</style>
|
||||
@@ -30,7 +30,7 @@
|
||||
class="box-input"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
allowClear
|
||||
v-model="queryParam.translationResults">
|
||||
v-model="queryParam.translationResult">
|
||||
<a-select-option v-for="(item, key) in translationResultsList"
|
||||
:key="key"
|
||||
:value="item.value">
|
||||
@@ -51,7 +51,7 @@
|
||||
class="box-input"
|
||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||
allowClear
|
||||
v-model="queryParam.flowStatus">
|
||||
v-model="queryParam.releaseCondition">
|
||||
<a-select-option v-for="(item, key) in gatherResultList"
|
||||
:key="key"
|
||||
:value="item.value">
|
||||
@@ -105,7 +105,7 @@
|
||||
<!-- -->
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
<a class="text-operation" @click="viewClick(record)">{{$t('view')}}</a>
|
||||
<a class="text-operation" @click="checkClick(record)">{{$t('check')}}</a>
|
||||
<!-- <a class="text-operation" @click="checkClick(record)">{{$t('check')}}</a>-->
|
||||
<a class="text-operation"
|
||||
@click="subscribe(record)">
|
||||
{{!record.state || record.state == 0 ? $t('release') :$t('withdraw')}}
|
||||
@@ -200,7 +200,7 @@
|
||||
align: 'center',
|
||||
width: 170,
|
||||
ellipsis: true,
|
||||
dataIndex: 'TextStatus'
|
||||
dataIndex: 'textStatus'
|
||||
},
|
||||
{
|
||||
title: this.$t('fileName'),
|
||||
@@ -212,13 +212,13 @@
|
||||
{
|
||||
title: this.$t('translationLanguage'),
|
||||
align: 'center',
|
||||
dataIndex: 'translationLanguage',
|
||||
dataIndex: 'targetLanguage',
|
||||
width: 170
|
||||
},
|
||||
{
|
||||
title: this.$t('translationResults'),
|
||||
align: 'center',
|
||||
dataIndex: 'translationResults',
|
||||
dataIndex: 'translationResult',
|
||||
width: 170
|
||||
},
|
||||
{
|
||||
@@ -226,14 +226,14 @@
|
||||
align: 'center',
|
||||
width: 170,
|
||||
ellipsis: true,
|
||||
dataIndex: 'conversionTime'
|
||||
dataIndex: 'translationTime'
|
||||
},
|
||||
{
|
||||
title: this.$t('releaseSituation'),
|
||||
align: 'center',
|
||||
width: 170,
|
||||
ellipsis: true,
|
||||
dataIndex: 'releaseSituation'
|
||||
dataIndex: 'releaseCondition'
|
||||
},
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
@@ -303,11 +303,14 @@
|
||||
this.selectedRowKeys = value
|
||||
},
|
||||
viewClick(row) {
|
||||
|
||||
},
|
||||
checkClick(row) {
|
||||
|
||||
let newUrl = this.$router.resolve({
|
||||
path: '/documentTranslationResults'
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
},
|
||||
// checkClick(row) {
|
||||
//
|
||||
// },
|
||||
downloadData() {
|
||||
|
||||
},
|
||||
@@ -320,7 +323,7 @@
|
||||
RetrieveFilesClick() {
|
||||
this.$refs.RetrieveFilesListRef.addModel()
|
||||
},
|
||||
BatchDelete(){
|
||||
BatchDelete() {
|
||||
|
||||
},
|
||||
deleteData(val) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<a-modal
|
||||
:title="title"
|
||||
:maskClosable="false"
|
||||
@@ -12,54 +13,75 @@
|
||||
<a-form>
|
||||
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text"
|
||||
:title="$t('parameterTemplate')">{{$t('parameterTemplate')}}</span>
|
||||
:title="$t('fileName')">{{$t('fileName')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="paramsTemplateName">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.paramsTemplateName"
|
||||
:placeholder="$t('PleaseEnter')+$t('parameterTemplate')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text" :title="$t('zoneOfApplication')">{{$t('zoneOfApplication')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="region">
|
||||
<j-dict-select-tag class="box-input" v-model="formInline.region"
|
||||
:disabled="disabled"
|
||||
:placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'region'"/>
|
||||
<a-form-model-item class="itemModel" prop="fileName">
|
||||
<a-button type="primary" class="button-text"
|
||||
@click="clickButtonToUpload('fileName')">
|
||||
{{ (formInline['fileName'] === 'null' || formInline['fileName'] === '' ||
|
||||
formInline['fileName'] == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
||||
}}
|
||||
</a-button>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('contentDescription')">{{$t('contentDescription')}}</span>
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text" :title="$t('fileDeclaration')">{{$t('fileDeclaration')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="description">
|
||||
<a-form-model-item class="itemModel" prop="region">
|
||||
<a-input class="box-input add-input"
|
||||
type="textarea"
|
||||
:disabled="disabled"
|
||||
v-model="formInline.description"
|
||||
:placeholder="$t('PleaseEnter')+$t('contentDescription')"/>
|
||||
:placeholder="$t('PleaseEnter')+$t('fileDeclaration')"
|
||||
v-model="formInline.description"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<!-- <a-row :gutter="24">-->
|
||||
<!-- <a-col :span="24">-->
|
||||
<!-- <div class="box-title-text">-->
|
||||
<!-- <div class="title-text">-->
|
||||
<!-- <span class="title-text-text"-->
|
||||
<!-- :title="$t('Openpersonnel')">{{$t('Openpersonnel')}}</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <a-form-model-item class="itemModel" prop="description">-->
|
||||
<!-- <PersonnelSelection-->
|
||||
<!-- :query="{db_field_name:'Openpersonnel',db_field_txt:$t('Openpersonnel')}"-->
|
||||
<!-- :personneQuery="formInline"-->
|
||||
<!-- @change="PersonnelSelectionChange"-->
|
||||
<!-- v-model="formInline.Openpersonnel"/>-->
|
||||
<!-- </a-form-model-item>-->
|
||||
<!-- </div>-->
|
||||
<!-- </a-col>-->
|
||||
<!-- </a-row>-->
|
||||
<!-- <a-row :gutter="24">-->
|
||||
<!-- <a-col :span="24">-->
|
||||
<!-- <div class="box-title-text">-->
|
||||
<!-- <div class="title-text">-->
|
||||
<!-- <span class="title-text-text"-->
|
||||
<!-- :title="$t('Downloadprivileges')">{{$t('Downloadprivileges')}}</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <a-form-model-item class="itemModel" prop="description">-->
|
||||
<!-- <PersonnelSelection-->
|
||||
<!-- :query="{db_field_name:'Downloadprivileges',db_field_txt:$t('Downloadprivileges')}"-->
|
||||
<!-- :personneQuery="formInline"-->
|
||||
<!-- @change="PersonnelSelectionChange"-->
|
||||
<!-- v-model="formInline.lawEngineerName"/>-->
|
||||
<!-- </a-form-model-item>-->
|
||||
<!-- </div>-->
|
||||
<!-- </a-col>-->
|
||||
<!-- </a-row>-->
|
||||
</a-form-model>
|
||||
</a-form>
|
||||
</a-spin>
|
||||
@@ -68,16 +90,21 @@
|
||||
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button>
|
||||
</div>
|
||||
</a-modal>
|
||||
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import PersonnelSelection from '@/components/PersonnelSelection/index'
|
||||
import { getAction, postAction, downloadFile, putAction } from '@/api/manage'
|
||||
import uploadFile from '@/components/uploadFile/file'
|
||||
|
||||
export default {
|
||||
name: 'addModel',
|
||||
components: {
|
||||
PersonnelSelection
|
||||
PersonnelSelection,
|
||||
uploadFile
|
||||
},
|
||||
props: ['url'],
|
||||
data() {
|
||||
@@ -186,6 +213,30 @@ export default {
|
||||
projectNameChange(value){
|
||||
console.log(value)
|
||||
},
|
||||
/** 上传文件的回调 */
|
||||
uploadSuccess(data) {
|
||||
let attIdList = []
|
||||
if (data && data.length > 0) {
|
||||
data.map(item => {
|
||||
attIdList.push(item.id || data.name)
|
||||
})
|
||||
}
|
||||
/** 赋值给当前对应的表单文件 */
|
||||
this.formInline[this.uploadName] = attIdList.join(',')
|
||||
this.formInline = { ...this.formInline }
|
||||
},
|
||||
clickButtonToUpload(item) {
|
||||
this.$refs.uploadFile.perentHandleFunc()
|
||||
this.$refs.uploadFile.visible = true
|
||||
this.uploadName = item
|
||||
getAction('sys/common/getFileInfos', { id: this.formInline[item] }).then((res) => {
|
||||
if (res.success) {
|
||||
this.$refs.uploadFile.perentHandleFunc(res.result)
|
||||
} else {
|
||||
this.$refs.uploadFile.perentHandleFunc()
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -44,17 +44,18 @@
|
||||
<template #overlay>
|
||||
<a-menu
|
||||
@click="({ key: menuKey }) => onContextMenuClick(treeKey, menuKey, record)">
|
||||
<a-menu-item key="1" @click="orgAdd" v-has="'split:sarFileSplitMenu:add'">{{$t('newNode')}}
|
||||
<a-menu-item key="1" @click="orgAdd" v-has="'split:sarFileSplitMenu:add'">{{$t('Addingfolder')}}
|
||||
</a-menu-item>
|
||||
<a-menu-item key="4" @click="orgAdds" v-if="deleteNode"
|
||||
v-has="'split:sarFileSplitMenu:delete'">{{$t('Addingsubfolders')}}
|
||||
</a-menu-item>
|
||||
<a-menu-item key="2" @click="orgEdit" v-has="'split:sarFileSplitMenu:update'">
|
||||
{{$t('modifyNode')}}
|
||||
{{$t('Editfolder')}}
|
||||
</a-menu-item>
|
||||
<a-menu-item key="3" @click="orgDelete"
|
||||
v-has="'split:sarFileSplitMenu:delete'">{{$t('deleteNode')}}
|
||||
</a-menu-item>
|
||||
<a-menu-item key="4" @click="orgDelete" v-if="deleteNode"
|
||||
v-has="'split:sarFileSplitMenu:delete'">{{$t('add')}}
|
||||
v-has="'split:sarFileSplitMenu:delete'">{{$t('Deletefolders')}}
|
||||
</a-menu-item>
|
||||
|
||||
</a-menu>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
@@ -90,7 +91,7 @@
|
||||
<div class="title-text" :title="$t('uploadTime')">
|
||||
<span>{{ $t('uploadTime') }}</span>
|
||||
</div>
|
||||
<a-date-picker class="box-input"
|
||||
<a-range-picker
|
||||
style='width: 264px'
|
||||
:placeholder="$t('PleaseSelect')+$t('uploadTime')"
|
||||
@change="onChange"
|
||||
@@ -143,7 +144,7 @@
|
||||
</a>
|
||||
</span>
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
<a class="text-operation" @click="handlelist(record)">{{$t('view')}}</a>
|
||||
<!-- <a class="text-operation" @click="handlelist(record)">{{$t('view')}}</a>-->
|
||||
<a class="text-operation" @click="download(record)">{{$t('download')}}</a>
|
||||
<a class="text-operation" @click="handleEdit(record)">{{$t('edit')}}</a>
|
||||
<a class="text-operation" @click="batchDel(record)">{{$t('delete')}}</a>
|
||||
@@ -170,6 +171,7 @@
|
||||
<a-modal
|
||||
class="add-menus"
|
||||
:title="menuTitle"
|
||||
:width="600"
|
||||
:visible="menuRightVisible"
|
||||
:confirm-loading="confirmLoading"
|
||||
@cancel="handleCancelMenuRight"
|
||||
@@ -184,16 +186,28 @@
|
||||
:label-col="labelCol"
|
||||
:wrapper-col="wrapperCol"
|
||||
>
|
||||
<a-form-model-item :label="$t('clauseNo')" prop="name">
|
||||
<a-input v-model="form.name" :placeholder="$t('PleaseEnter')+$t('clauseNo')"/>
|
||||
<a-form-model-item :label="$t('Foldername')" prop="name">
|
||||
<a-input class="box-input add-input" v-model="form.name" :placeholder="$t('PleaseEnter')+$t('Foldername')"/>
|
||||
</a-form-model-item>
|
||||
<a-form-model-item :label="$t('clauseName')" prop="itemName">
|
||||
<a-input v-model="form.itemName" :placeholder="$t('PleaseEnter')+$t('clauseName')"/>
|
||||
<a-form-model-item :label="$t('Administrativeprivileges')" prop="itemName">
|
||||
<PersonnelSelection class="box-input add-input"
|
||||
:personneQuery="form"
|
||||
:query="{db_field_name:'Administrativeprivileges',db_field_txt:$t('Administrativeprivileges')}"
|
||||
@change="PersonnelSelectionChange"
|
||||
v-model="form.Administrativeprivileges"/>
|
||||
</a-form-model-item>
|
||||
<a-form-model-item :label="$t('serialNumber')" prop="displaySeq">
|
||||
<a-input-number v-model="form.displaySeq" :min="1" :max="99999"
|
||||
:placeholder="$t('PleaseEnter')+$t('serialNumber')" :formatter="limitNumber"
|
||||
:parser="limitNumber" style="width: 100%"/>
|
||||
<a-form-model-item :label="$t('Checkthepermissions')" prop="itemName">
|
||||
<PersonnelSelection
|
||||
class="box-input add-input"
|
||||
:personneQuery="form"
|
||||
:query="{db_field_name:'Checkthepermissions',db_field_txt:$t('Checkthepermissions')}"
|
||||
@change="PersonnelSelectionChange"
|
||||
v-model="form.Checkthepermissions"/>
|
||||
</a-form-model-item>
|
||||
<a-form-model-item :label="$t('Folderorder')" prop="displaySeq">
|
||||
<a-input-number v-model="form.displaySeq" :min="1" :max="99999" class="box-input add-input"
|
||||
:placeholder="$t('PleaseEnter')+$t('Folderorder')" :formatter="limitNumber"
|
||||
:parser="limitNumber" />
|
||||
<!-- <a-input-number v-model="rowCount" :min="1" :placeholder="$t('pleaseEnter')+$t('numberRows')" :formatter="limitNumber" :parser="limitNumber" />-->
|
||||
</a-form-model-item>
|
||||
</a-form-model>
|
||||
@@ -220,13 +234,14 @@ import Vue from 'vue'
|
||||
import moment from 'moment'
|
||||
import eventBUs from '@/common/event'
|
||||
import { mapGetters } from 'vuex'
|
||||
import PersonnelSelection from '@/components/PersonnelSelection/index'
|
||||
|
||||
export default {
|
||||
name: 'SplitDetail',
|
||||
components: {
|
||||
addModel,
|
||||
handleModel,
|
||||
// exportTree,
|
||||
PersonnelSelection,
|
||||
globalAdvancedQuery
|
||||
// ImportFile
|
||||
},
|
||||
@@ -242,6 +257,7 @@ export default {
|
||||
},
|
||||
pageSize: 10,
|
||||
pageNo: 1,
|
||||
disabled:false,
|
||||
total: 0,
|
||||
tableData: [],
|
||||
selectedRowKeys: [],
|
||||
@@ -393,6 +409,10 @@ export default {
|
||||
this.contentVisible = true
|
||||
this.contentValue = val
|
||||
},
|
||||
PersonnelSelectionChange(value, id) {
|
||||
this.form[value] = id
|
||||
this.form = { ...this.form }
|
||||
},
|
||||
//关闭条款内容弹框
|
||||
handleCancel() {
|
||||
this.contentVisible = false
|
||||
@@ -549,12 +569,18 @@ export default {
|
||||
},
|
||||
//树形新增
|
||||
orgAdd() {
|
||||
this.menuTitle = this.$t('add')
|
||||
this.menuTitle = this.$t('Addingfolder')
|
||||
this.isEdit = false
|
||||
this.form = {}
|
||||
this.menuRightVisible = true
|
||||
|
||||
},
|
||||
orgAdds(){
|
||||
this.menuTitle = this.$t('Addingsubfolders')
|
||||
this.isEdit = false
|
||||
this.form = {}
|
||||
this.menuRightVisible = true
|
||||
},
|
||||
//树形修改
|
||||
orgEdit() {
|
||||
this.menuTitle = this.$t('edit')
|
||||
@@ -930,7 +956,12 @@ export default {
|
||||
},
|
||||
// 上传文件
|
||||
handleuploadFile(e) {
|
||||
this.$refs.addModelRef.addModel()
|
||||
if (this.menuId) {
|
||||
this.$refs.addModelRef.addModel()
|
||||
} else {
|
||||
this.$message.warning(this.$t('selectDirectoryTerms'))
|
||||
}
|
||||
|
||||
},
|
||||
onSearch() {
|
||||
let self = this
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('certificationCategory')">
|
||||
<span class="Required">*</span>
|
||||
<span>{{$t('certificationCategory')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="certCategory">
|
||||
@@ -35,6 +36,7 @@
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('configure')">
|
||||
<span class="Required">*</span>
|
||||
<span>{{$t('configure')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="configIds">
|
||||
@@ -59,6 +61,7 @@
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text"
|
||||
:title="$t('WhetherMergeParameters')">{{$t('WhetherMergeParameters')}}</span>
|
||||
</div>
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
<!-- // R&H Manager manager-->
|
||||
<!-- // 系统管理员 admin-->
|
||||
<!-- // 游客 guest-->
|
||||
<a-popconfirm overlayClassName='popconfirm' placement="bottomRight" v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
||||
<a-popconfirm overlayClassName='popconfirm' placement="bottomRight" v-if='currentPersonRole == "homo"'>
|
||||
<template slot="title" id="popconfirm">
|
||||
<!-- 添加-->
|
||||
<div @click="handleAdd" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||
@@ -121,10 +121,9 @@
|
||||
<!-- {{$t('distributionAndCollection')}}-->
|
||||
<!-- </div>-->
|
||||
<!-- 导出-->
|
||||
<div @click="handleExport" class="operator-text-title"
|
||||
v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
||||
<div @click="handleExport" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||
<a-icon type="export"/>
|
||||
{{$t('export')}}
|
||||
{{$t('dataExport')}}
|
||||
</div>
|
||||
<!-- 一键下发收集 -->
|
||||
<div @click="defOneclickCollection" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||
@@ -171,6 +170,11 @@
|
||||
<a-icon type="copy"/>
|
||||
{{$t('Assignedby')}}
|
||||
</div>
|
||||
<!-- 导出-->
|
||||
<div @click="handleExport" class="operator-text" v-if='currentPersonRole == "sdt"'>
|
||||
<a-icon type="export"/>
|
||||
{{$t('dataExport')}}
|
||||
</div>
|
||||
<!-- 引用参数-->
|
||||
<div @click="referenceparameter" class="operator-text" v-if='currentPersonRole == "dre" '>
|
||||
<a-icon type="plus"/>
|
||||
@@ -204,7 +208,7 @@
|
||||
v-if="!this.$route.query.it"
|
||||
@click="roleSwitchingClick">
|
||||
<a-icon type="select"/>
|
||||
{{ $t('roleSwitching') }}
|
||||
{{ $t('roleSwitching') }} ({{ $t(this.rolename)}})
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 100%">
|
||||
@@ -584,6 +588,7 @@
|
||||
configureareaVisible: false, // 配置的彈框
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
rolename:'',
|
||||
total: 0,
|
||||
selectedRowKeysArray: '',
|
||||
templatetitle: '',
|
||||
@@ -643,7 +648,7 @@
|
||||
mounted() {
|
||||
this.GetgetLoginUserType()
|
||||
console.log(this.currentPersonRole)
|
||||
// this.LoginUserType()
|
||||
this.LoginUserType()
|
||||
setTimeout(() => {
|
||||
if (this.currentPersonRole == 'dre') {
|
||||
this.handlePreservation()
|
||||
@@ -690,6 +695,11 @@
|
||||
this.visibleRoleSwitching = false
|
||||
this.confirmLoadingRoleSwitching = false
|
||||
localStorage.setItem('currentPersonRole', JSON.stringify(this.formInlineRoleSwitching.roleSwitchingCode))
|
||||
this.RoleType.forEach((item,index) => {
|
||||
if(item.value == this.currentPersonRole){
|
||||
this.rolename = item.label
|
||||
}
|
||||
})
|
||||
this.selectedRowKeysValue = []
|
||||
} else {
|
||||
this.confirmLoadingRoleSwitching = false
|
||||
@@ -1026,6 +1036,11 @@
|
||||
}
|
||||
this.RoleType = val
|
||||
this.formInlineRoleSwitching.roleSwitchingCode = currentPersonRole || userType || val[0].value
|
||||
val.forEach((item,index) => {
|
||||
if(item.value == this.currentPersonRole){
|
||||
this.rolename = item.label
|
||||
}
|
||||
})
|
||||
this.formInlineRoleSwitching = { ...this.formInlineRoleSwitching }
|
||||
},
|
||||
// 表格所选中得行内容
|
||||
@@ -1103,7 +1118,7 @@
|
||||
},
|
||||
getFreeze(callback) {
|
||||
let _this = this
|
||||
let param = { paramsManifestId: this.paramsManifest.id, configFlag: 1 }
|
||||
let param = { paramsManifestId: this.$route.query.id, configFlag: 1 }
|
||||
axios({
|
||||
url: '/jero-boot/params/collectManifest/getConfigLableList',
|
||||
method: 'post',
|
||||
@@ -1659,7 +1674,6 @@
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.operator-text-title {
|
||||
cursor: pointer;
|
||||
margin-right: 22px;
|
||||
@@ -1808,4 +1822,9 @@
|
||||
.text-wraning{
|
||||
word-break: break-word;
|
||||
}
|
||||
</style>
|
||||
<style lang='less'>
|
||||
.ant-popover-message-title{
|
||||
margin-bottom: -30px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user