Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
@@ -855,18 +855,17 @@ CREATE TABLE `laws_weilai`.`country_national_flag` (
|
|||||||
`national_flag_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '国旗url',
|
`national_flag_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '国旗url',
|
||||||
PRIMARY KEY (`id`) USING BTREE
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '国家与国旗中间表' ROW_FORMAT = Dynamic;
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '国家与国旗中间表' ROW_FORMAT = Dynamic;
|
||||||
-- 初始化数据 2022-08-09
|
-- 初始化数据 2022-08-10
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('11', NULL, NULL, NULL, NULL, NULL, '澳大利亚', 'Australia', NULL, '澳大利亚.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('1', NULL, NULL, NULL, NULL, NULL, '欧盟', 'EU', NULL, '/jero-boot/nationalFlag/EU.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('12', NULL, NULL, NULL, NULL, NULL, '新西兰', 'New Zealand', NULL, '新西兰.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('10', NULL, NULL, NULL, NULL, NULL, '美国', 'US', NULL, '/jero-boot/nationalFlag/US.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('13', NULL, NULL, NULL, NULL, NULL, '英国', 'UK', NULL, '英国.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('11', NULL, NULL, NULL, NULL, NULL, '澳大利亚', 'Australia', NULL, '/jero-boot/nationalFlag/Australia.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('2', NULL, NULL, NULL, NULL, NULL, '中国', 'China', NULL, '中国.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('12', NULL, NULL, NULL, NULL, NULL, '新西兰', 'New Zealand', NULL, '/jero-boot/nationalFlag/NewZealand.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('3', NULL, NULL, NULL, NULL, NULL, '中国香港', 'Hong Kong China', NULL, '中国香港.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('13', NULL, NULL, NULL, NULL, NULL, '英国', 'UK', NULL, '/jero-boot/nationalFlag/UK.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('4', NULL, NULL, NULL, NULL, NULL, '韩国', 'South Korea', NULL, '韩国.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('2', NULL, NULL, NULL, NULL, NULL, '中国', 'China', NULL, '/jero-boot/nationalFlag/China.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('5', NULL, NULL, NULL, NULL, NULL, '日本', 'Japan', NULL, '日本.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('3', NULL, NULL, NULL, NULL, NULL, '中国香港', 'Hong Kong China', NULL, '/jero-boot/nationalFlag/China.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('6', NULL, NULL, NULL, NULL, NULL, '新加坡', 'Singapore', NULL, '新加坡.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('4', NULL, NULL, NULL, NULL, NULL, '韩国', 'South Korea', NULL, '/jero-boot/nationalFlag/SouthKorea.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('7', NULL, NULL, NULL, NULL, NULL, '马来西亚', 'Malaysia', NULL, '马来西亚.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('5', NULL, NULL, NULL, NULL, NULL, '日本', 'Japan', NULL, '/jero-boot/nationalFlag/Japan.png');
|
||||||
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('6', NULL, NULL, NULL, NULL, NULL, '新加坡', 'Singapore', NULL, '/jero-boot/nationalFlag/Singapore.png');
|
||||||
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('7', NULL, NULL, NULL, NULL, NULL, '马来西亚', 'Malaysia', NULL, '/jero-boot/nationalFlag/Malaysia.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('8', NULL, NULL, NULL, NULL, NULL, '海湾地区', 'GCC', NULL, '海湾地区.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('8', NULL, NULL, NULL, NULL, NULL, '海湾地区', 'GCC', NULL, '海湾地区.jpg');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('9', NULL, NULL, NULL, NULL, NULL, '阿联酋', 'UAE', NULL, '阿联酋.jpg');
|
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('9', NULL, NULL, NULL, NULL, NULL, '阿联酋', 'UAE', NULL, '/jero-boot/nationalFlag/UAE.png');
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('1', NULL, NULL, NULL, NULL, NULL, '欧盟', 'EU', NULL, '欧盟.jpg');
|
|
||||||
INSERT INTO `laws_weilai`.`country_national_flag` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `sys_org_code`, `country_name_cn`, `country_name_en`, `national_flag_id`, `national_flag_url`) VALUES ('10', NULL, NULL, NULL, NULL, NULL, '美国', 'US', NULL, '美国.jpg');
|
|
||||||
|
|
||||||
|
|||||||
@@ -293,7 +293,11 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
//文档动态信息添加
|
//文档动态信息添加
|
||||||
if(StringUtils.isNotBlank(sbTemp)){
|
if(StringUtils.isNotBlank(sbTemp)){
|
||||||
HomeDocumentDynamicEO homeDocumentDynamicEO = new HomeDocumentDynamicEO();
|
HomeDocumentDynamicEO homeDocumentDynamicEO = new HomeDocumentDynamicEO();
|
||||||
String msgContent = "The " + StringUtils.join(serialNumberListTemp,",") + " has been deleted from the document library.";
|
String msgEndStr = " has been deleted from the document library.";
|
||||||
|
if (serialNumberListTemp.size() > 1) {
|
||||||
|
msgEndStr = " have been deleted from the document library.";
|
||||||
|
}
|
||||||
|
String msgContent = "The standard " + StringUtils.join(serialNumberListTemp,",") + msgEndStr;
|
||||||
homeDocumentDynamicEO.setMsgContent(msgContent);
|
homeDocumentDynamicEO.setMsgContent(msgContent);
|
||||||
homeDocumentDynamicEO.setMsgContentInfo(msgContent);
|
homeDocumentDynamicEO.setMsgContentInfo(msgContent);
|
||||||
homeDocumentDynamicEOService.save(homeDocumentDynamicEO);
|
homeDocumentDynamicEOService.save(homeDocumentDynamicEO);
|
||||||
@@ -2596,11 +2600,11 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
StringBuilder msgContentSb = new StringBuilder();
|
StringBuilder msgContentSb = new StringBuilder();
|
||||||
StringBuilder msgContentInfoSb = new StringBuilder();
|
StringBuilder msgContentInfoSb = new StringBuilder();
|
||||||
//适用车型
|
//适用车型
|
||||||
StringBuilder msgContentSbCarType = new StringBuilder("Vehicle Type of the " + category + " " + serialNumber + " " + titleEn);
|
StringBuilder msgContentSbCarType = new StringBuilder("Vehicle Type of the standard " + category + " " + serialNumber + " " + titleEn);
|
||||||
StringBuilder msgContentInfoSbCarType = new StringBuilder("Vehicle Type of the " + category + " " + href);
|
StringBuilder msgContentInfoSbCarType = new StringBuilder("Vehicle Type of the standard " + category + " " + href);
|
||||||
//状态
|
//状态
|
||||||
StringBuilder msgContentSbStatus = new StringBuilder("The Status of the " + category + " " + serialNumber + " " + titleEn);
|
StringBuilder msgContentSbStatus = new StringBuilder("The Status of the standard " + category + " " + serialNumber + " " + titleEn);
|
||||||
StringBuilder msgContentInfoSbStatus = new StringBuilder("The Status of the " + category + " " + href);
|
StringBuilder msgContentInfoSbStatus = new StringBuilder("The Status of the standard " + category + " " + href);
|
||||||
|
|
||||||
|
|
||||||
List<String> fileIdLIstTemp = new ArrayList<>();
|
List<String> fileIdLIstTemp = new ArrayList<>();
|
||||||
@@ -2634,8 +2638,8 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
}
|
}
|
||||||
//
|
//
|
||||||
if(StringUtils.isBlank(value)){
|
if(StringUtils.isBlank(value)){
|
||||||
msgContentSbStatus.append(" has been modified to be null ,");
|
msgContentSbStatus.append(" has been modified to be null,");
|
||||||
msgContentInfoSbStatus.append(" has been modified to be null ,");
|
msgContentInfoSbStatus.append(" has been modified to be null,");
|
||||||
msgContentSb.append(msgContentSbStatus);
|
msgContentSb.append(msgContentSbStatus);
|
||||||
msgContentInfoSb.append(msgContentInfoSbStatus);
|
msgContentInfoSb.append(msgContentInfoSbStatus);
|
||||||
}else{
|
}else{
|
||||||
@@ -2670,8 +2674,8 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
value = substring;
|
value = substring;
|
||||||
}
|
}
|
||||||
if(StringUtils.isBlank(value)){
|
if(StringUtils.isBlank(value)){
|
||||||
msgContentSbCarType.append(" has been modified to be null ,");
|
msgContentSbCarType.append(" has been modified to be null,");
|
||||||
msgContentInfoSbCarType.append(" has been modified to be null ,");
|
msgContentInfoSbCarType.append(" has been modified to be null,");
|
||||||
msgContentSb.append(msgContentSbCarType);
|
msgContentSb.append(msgContentSbCarType);
|
||||||
msgContentInfoSb.append(msgContentInfoSbCarType);
|
msgContentInfoSb.append(msgContentInfoSbCarType);
|
||||||
}else{
|
}else{
|
||||||
@@ -2691,8 +2695,8 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
msgContentInfoSb.append(contentInfoFile);
|
msgContentInfoSb.append(contentInfoFile);
|
||||||
}
|
}
|
||||||
if(count > 0){
|
if(count > 0){
|
||||||
String msgContent = msgContentSb.substring(0, msgContentSb.length() - 1);
|
String msgContent = msgContentSb.substring(0, msgContentSb.length() - 1) + ".";
|
||||||
String msgContentInfo = msgContentInfoSb.substring(0, msgContentInfoSb.length() - 1);
|
String msgContentInfo = msgContentInfoSb.substring(0, msgContentInfoSb.length() - 1) + ".";
|
||||||
HomeDocumentDynamicEO homeDocumentDynamicEO = new HomeDocumentDynamicEO();
|
HomeDocumentDynamicEO homeDocumentDynamicEO = new HomeDocumentDynamicEO();
|
||||||
homeDocumentDynamicEO.setMsgContent(msgContent);
|
homeDocumentDynamicEO.setMsgContent(msgContent);
|
||||||
homeDocumentDynamicEO.setMsgContentInfo(msgContentInfo);
|
homeDocumentDynamicEO.setMsgContentInfo(msgContentInfo);
|
||||||
|
|||||||
@@ -138,17 +138,17 @@ public class InventoryAffirmJob implements Job {
|
|||||||
|
|
||||||
/*String msgContentCN = "您" + projectLibraryBase.getProjectName() + "(项目名称)法规清单的任务确认剩余处理时间还有3天,请及时查看处理";*/
|
/*String msgContentCN = "您" + projectLibraryBase.getProjectName() + "(项目名称)法规清单的任务确认剩余处理时间还有3天,请及时查看处理";*/
|
||||||
// XXX .
|
// XXX .
|
||||||
String msgContentEN = "The remaining processing time for the regulation list confirmation for "
|
String msgContentEN = "The remaining processing time for the regulation task confirmation for "
|
||||||
+ projectNameInfoEO.getProjectName() + "-"
|
+ projectNameInfoEO.getProjectName() + "-"
|
||||||
+ projectYearNameInfoEO.getYearName()+ " "
|
+ projectYearNameInfoEO.getYearName()+ " "
|
||||||
+ projectLibraryBase.getTargetMarket()
|
+ projectLibraryBase.getTargetMarket()
|
||||||
+ " are 3 days. Please check and handle it in time.";
|
+ " are 3 days. Please check and address it in a timely manner.";
|
||||||
String msgTitle = projectNameInfoEO.getProjectName() + "-" + projectYearNameInfoEO.getYearName()+ " " + projectLibraryBase.getTargetMarket()
|
String msgTitle = projectNameInfoEO.getProjectName() + "-" + projectYearNameInfoEO.getYearName()+ " " + projectLibraryBase.getTargetMarket()
|
||||||
+ ": You have a regulation list confirmation task to complete";
|
+ ": You have a regulation task confirmation to complete";
|
||||||
|
|
||||||
FeishuMsgVo feishuMsgVo = new FeishuMsgVo();
|
FeishuMsgVo feishuMsgVo = new FeishuMsgVo();
|
||||||
feishuMsgVo.setContent("Hello! The remaining processing time for the task are 3 days. Please check and address it in a timely manner.");
|
feishuMsgVo.setContent("Hello! The remaining processing time for the task are 3 days. Please check and address it in a timely manner.");
|
||||||
feishuMsgVo.setTaskType("Regulation List Confirmation");
|
feishuMsgVo.setTaskType("Regulation Task Confirmation");
|
||||||
feishuMsgVo.setProject(projectNameInfoEO.getProjectName() + "-" + projectYearNameInfoEO.getYearName() + " " + projectLibraryBase.getTargetMarket());
|
feishuMsgVo.setProject(projectNameInfoEO.getProjectName() + "-" + projectYearNameInfoEO.getYearName() + " " + projectLibraryBase.getTargetMarket());
|
||||||
|
|
||||||
//飞书跳转链接
|
//飞书跳转链接
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ spring:
|
|||||||
mvc:
|
mvc:
|
||||||
static-path-pattern: /**
|
static-path-pattern: /**
|
||||||
resource:
|
resource:
|
||||||
static-locations: classpath:/static/,classpath:/public/,classpath:/home/
|
static-locations: classpath:/static/,classpath:/public/,classpath:/home,/classpath:/nationalFlag/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
||||||
datasource:
|
datasource:
|
||||||
|
|||||||
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 305 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 198 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 127 KiB |
@@ -37,55 +37,26 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-box">
|
<div class="content-box">
|
||||||
<div class="content-box-box" @click="contentClick()">
|
<div class="content-box-box" v-for="(item,index) in conList" :key="index" @click="contentClick(item)">
|
||||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
||||||
<span class="content-box-box-text">
|
<span class="content-box-box-text">
|
||||||
中国
|
{{item.applyMarket_dictText}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-box-box">
|
|
||||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
|
||||||
<span class="content-box-box-text">
|
|
||||||
中国
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="content-box-box">
|
|
||||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
|
||||||
<span class="content-box-box-text">
|
|
||||||
中国
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="content-box-box">
|
|
||||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
|
||||||
<span class="content-box-box-text">
|
|
||||||
中国
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="content-box-box">
|
|
||||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
|
||||||
<span class="content-box-box-text">
|
|
||||||
中国
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="content-box-box">
|
|
||||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
|
||||||
<span class="content-box-box-text">
|
|
||||||
中国
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="page">
|
|
||||||
<a-pagination
|
|
||||||
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
|
||||||
show-quick-jumper
|
|
||||||
show-size-changer
|
|
||||||
:page-size.sync="pageSize"
|
|
||||||
:total="total"
|
|
||||||
:current="pageNo"
|
|
||||||
@change="pageOnChange"
|
|
||||||
@showSizeChange="SizeChange"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="page">
|
||||||
|
<a-pagination
|
||||||
|
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||||
|
show-quick-jumper
|
||||||
|
show-size-changer
|
||||||
|
:page-size.sync="pageSize"
|
||||||
|
:total="total"
|
||||||
|
:current="pageNo"
|
||||||
|
@change="pageOnChange"
|
||||||
|
@showSizeChange="SizeChange"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<JLoading :loading="loading">{{$t('dataLoading')}}</JLoading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -101,11 +72,16 @@
|
|||||||
applyMarketList: [],
|
applyMarketList: [],
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
total: 0,
|
total: 0,
|
||||||
pageNo: 1
|
pageNo: 1,
|
||||||
|
loading: false,
|
||||||
|
url: {
|
||||||
|
getInfoList: '/problemKnowledgeBase/countryCardManageReleaseEO/page'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getApplyMarketList()
|
this.getApplyMarketList()
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getApplyMarketList() {
|
getApplyMarketList() {
|
||||||
@@ -118,10 +94,15 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
|
this.pageNo = 1
|
||||||
|
this.getApplyMarketList()
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
searchReset() {
|
searchReset() {
|
||||||
|
this.pageNo = 1
|
||||||
|
this.getApplyMarketList()
|
||||||
|
this.queryParam = {}
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
pageOnChange(page, pageSize) {
|
pageOnChange(page, pageSize) {
|
||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
@@ -135,14 +116,19 @@
|
|||||||
getList() {
|
getList() {
|
||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize
|
pageSize: this.pageSize,
|
||||||
|
releaseStatus: 'Have released',
|
||||||
|
...this.queryParam
|
||||||
}
|
}
|
||||||
postAction(this.url.getInfoList, query).then((res) => {
|
this.loading = true
|
||||||
|
getAction(this.url.getInfoList, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.conList = res.result.records
|
this.conList = res.result.records
|
||||||
this.total = res.result.total
|
this.total = res.result.total
|
||||||
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
this.conList = []
|
this.conList = []
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -153,10 +139,13 @@
|
|||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
contentClick() {
|
contentClick(row) {
|
||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
path: '/countryCardView',
|
path: '/countryCardView',
|
||||||
query: {}
|
query: {
|
||||||
|
applyMarket: row.applyMarket,
|
||||||
|
id: row.id,
|
||||||
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
}
|
}
|
||||||
@@ -208,6 +197,7 @@
|
|||||||
|
|
||||||
.content-box {
|
.content-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-box-box {
|
.content-box-box {
|
||||||
|
|||||||
@@ -26,16 +26,19 @@
|
|||||||
<div style="width: 100%" v-for="(item1,index) in 14" class="content-box-top">
|
<div style="width: 100%" v-for="(item1,index) in 14" class="content-box-top">
|
||||||
<div v-for="(item2,index2) in 16" style="width: 340px;display: inline-block" class="content-box-left">
|
<div v-for="(item2,index2) in 16" style="width: 340px;display: inline-block" class="content-box-left">
|
||||||
<div class="content-box-box-top" v-if="index == 0">
|
<div class="content-box-box-top" v-if="index == 0">
|
||||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
<img class="content-box-box-img" style="display: inline-block;width: auto" v-if="index2 == 0">
|
||||||
<span class="content-box-box-text">
|
<img src="../../../../assets/mobileHome.png" v-else class="content-box-box-img" alt="">
|
||||||
|
<span v-if="index2 == 0" class="content-box-box-text"></span>
|
||||||
|
<span v-else class="content-box-box-text">
|
||||||
中国
|
中国
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="content-box-box" v-else>
|
<div class="content-box-box" v-else>
|
||||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
||||||
<span class="content-box-box-text">
|
<span class="content-box-box-text">
|
||||||
中国
|
中国
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -63,7 +66,9 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
clientWidth: '',
|
clientWidth: '',
|
||||||
isTrue: false
|
isTrue: false,
|
||||||
|
dataList: [],
|
||||||
|
list: '/problemKnowledgeBase/countryCardManageReleaseEO/queryCountryCardManageReleaseByApplyMarkets'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -72,6 +77,7 @@
|
|||||||
this.clientWidth = 340 * 14 + 'px'
|
this.clientWidth = 340 * 14 + 'px'
|
||||||
this.isTrue = true
|
this.isTrue = true
|
||||||
})
|
})
|
||||||
|
this.queryCountry()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
displayInformationClick() {
|
displayInformationClick() {
|
||||||
@@ -80,8 +86,19 @@
|
|||||||
newlyAddedClick() {
|
newlyAddedClick() {
|
||||||
this.$refs.countryCardViewAddRef.add()
|
this.$refs.countryCardViewAddRef.add()
|
||||||
},
|
},
|
||||||
countryCardViewAddForm() {
|
countryCardViewAddForm(val) {
|
||||||
|
|
||||||
|
},
|
||||||
|
queryCountry() {
|
||||||
|
let applyMarkets = this.$route.query.applyMarket
|
||||||
|
let query = {
|
||||||
|
applyMarkets: applyMarkets
|
||||||
|
}
|
||||||
|
postAction(this.list, query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,14 +14,15 @@
|
|||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="Required">*</span>
|
|
||||||
<span class="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('applicableMarket')">{{$t('applicableMarket')}}</span>
|
:title="$t('applicableMarket')">{{$t('applicableMarket')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="applicableMarket">
|
<a-form-model-item class="itemModel" prop="applicableMarket">
|
||||||
<a-input class="box-input"
|
<j-dict-select-tag class="box-input" v-model="formInline.applyMarket"
|
||||||
v-model="formInline.applicableMarket"
|
:disabled="true"
|
||||||
:placeholder="$t('PleaseEnter')+$t('applicableMarket')"/>
|
:placeholder="$t('PleaseSelect')+$t('applicableMarket')"
|
||||||
|
:type="'select'"
|
||||||
|
:triggerChange="false" :dictCode="'region'"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -34,15 +35,24 @@
|
|||||||
<span class="title-text-text" :title="$t('comparisonMarket')+(index+1)">{{$t('comparisonMarket')+(index+1)}}</span>
|
<span class="title-text-text" :title="$t('comparisonMarket')+(index+1)">{{$t('comparisonMarket')+(index+1)}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" style="width: calc(100% - 220px)" prop="comparisonMarket">
|
<a-form-model-item class="itemModel" style="width: calc(100% - 220px)" prop="comparisonMarket">
|
||||||
<a-input class="box-input"
|
<a-select :placeholder="$t('PleaseSelect')+$t('applicableMarket')"
|
||||||
v-model="formInline.comparisonMarket"
|
:disabled="false"
|
||||||
:placeholder="$t('PleaseEnter')+$t('comparisonMarket')"/>
|
@change="applyMarketChange"
|
||||||
|
v-model="item.applyMarket">
|
||||||
|
<a-select-option v-for="(item, key) in item.applyMarketList"
|
||||||
|
:key="key"
|
||||||
|
:value="item.applyMarket">
|
||||||
|
<span style="display: inline-block;width: 100%" :title=" item.applyMarket_dictText ">
|
||||||
|
{{ item.applyMarket_dictText}}
|
||||||
|
</span>
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
|
|
||||||
<a-icon class="icon-size"
|
<a-icon class="icon-size"
|
||||||
style="margin-left: 8px"
|
style="margin-left: 8px"
|
||||||
@click="addData"
|
@click="addData"
|
||||||
v-if="(formInline.dataList.length-1) == index"
|
v-if="(formInline.dataList.length-1) == index && formInline.dataList.length < 5"
|
||||||
type="plus-circle"/>
|
type="plus-circle"/>
|
||||||
<a-icon class="icon-size"
|
<a-icon class="icon-size"
|
||||||
@click="deleteData"
|
@click="deleteData"
|
||||||
@@ -65,6 +75,10 @@
|
|||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
formInline: {},
|
formInline: {},
|
||||||
|
applyMarketList: [],
|
||||||
|
url: {
|
||||||
|
getInfoList: '/problemKnowledgeBase/countryCardManageReleaseEO/list'
|
||||||
|
},
|
||||||
rules: {
|
rules: {
|
||||||
personChargeName: [
|
personChargeName: [
|
||||||
{
|
{
|
||||||
@@ -101,9 +115,11 @@
|
|||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.formInline = {}
|
this.formInline = {}
|
||||||
|
this.formInline.applyMarket = this.$route.query.applyMarket
|
||||||
this.formInline.dataList = [{
|
this.formInline.dataList = [{
|
||||||
relatedSection: ''
|
relatedSection: ''
|
||||||
}]
|
}]
|
||||||
|
this.getList()
|
||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
this.$refs.ruleForm.clearValidate()
|
this.$refs.ruleForm.clearValidate()
|
||||||
})
|
})
|
||||||
@@ -124,18 +140,71 @@
|
|||||||
},
|
},
|
||||||
addData() {
|
addData() {
|
||||||
this.formInline.dataList.push({
|
this.formInline.dataList.push({
|
||||||
relatedSection: ''
|
applyMarket: ''
|
||||||
})
|
})
|
||||||
|
this.consolidateData()
|
||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
},
|
},
|
||||||
deleteData() {
|
deleteData() {
|
||||||
this.formInline.dataList.pop()
|
this.formInline.dataList.pop()
|
||||||
|
this.consolidateData()
|
||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
|
},
|
||||||
|
getList() {
|
||||||
|
let query = {
|
||||||
|
releaseStatus: 'Have released'
|
||||||
|
}
|
||||||
|
getAction(this.url.getInfoList, query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.applyMarketList = res.result
|
||||||
|
this.consolidateData()
|
||||||
|
} else {
|
||||||
|
this.applyMarketList = []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
consolidateData() {
|
||||||
|
let content = []
|
||||||
|
content.push(this.$route.query.applyMarket)
|
||||||
|
content = content.join(',')
|
||||||
|
this.applyMarketList = this.applyMarketList.filter(res => {
|
||||||
|
return !content.includes(res.applyMarket)
|
||||||
|
})
|
||||||
|
let contentIndex = []
|
||||||
|
if (this.formInline.dataList && this.formInline.dataList.length > 0) {
|
||||||
|
this.formInline.dataList.forEach(res => {
|
||||||
|
contentIndex.push(res.applyMarket)
|
||||||
|
res.applyMarketList = []
|
||||||
|
this.applyMarketList.forEach(val => {
|
||||||
|
res.applyMarketList.push(val)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
contentIndex = contentIndex.join(',')
|
||||||
|
for (let i = 0; i < this.formInline.dataList.length; i++) {
|
||||||
|
for (let j = 0; j < this.formInline.dataList[i].applyMarketList.length; j++) {
|
||||||
|
if (contentIndex.includes(this.formInline.dataList[i].applyMarketList[j].applyMarket)
|
||||||
|
&& this.formInline.dataList[i].applyMarket != this.formInline.dataList[i].applyMarketList[j].applyMarket) {
|
||||||
|
console.log(111)
|
||||||
|
console.log(j)
|
||||||
|
this.formInline.dataList[i].applyMarketList.splice(j, 1)
|
||||||
|
j--
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
|
},
|
||||||
|
applyMarketChange() {
|
||||||
|
this.consolidateData()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.ant-select-disabled {
|
||||||
|
color: rgba(0, 0, 0, 0.65) !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.box-title-text {
|
.box-title-text {
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<div style="margin-bottom: 60px">
|
<div style="margin-bottom: 60px">
|
||||||
<a-table
|
<a-table
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:scroll="{x: '100%',y:'calc(100vh - 300px)'}"
|
:scroll="{x: '100%',y:'calc(100vh - 200px)'}"
|
||||||
:data-source="dataList"
|
:data-source="dataList"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:loading="loading">
|
:loading="loading">
|
||||||
@@ -20,18 +20,6 @@
|
|||||||
<a-checkbox :value="text"></a-checkbox>
|
<a-checkbox :value="text"></a-checkbox>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
<div class="page" v-if="dataList.length > 0">
|
|
||||||
<a-pagination
|
|
||||||
:show-total="total => $t('total')+`${total}`+$t('strip')"
|
|
||||||
show-quick-jumper
|
|
||||||
show-size-changer
|
|
||||||
:page-size.sync="pageSize"
|
|
||||||
:total="total"
|
|
||||||
:current="pageNo"
|
|
||||||
@change="onChange"
|
|
||||||
@showSizeChange="SizeChange"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="drawer-bootom-button">
|
<div class="drawer-bootom-button">
|
||||||
<a-button style="margin-right: .8rem" @click="handleCancel">{{$t('cancel')}}</a-button>
|
<a-button style="margin-right: .8rem" @click="handleCancel">{{$t('cancel')}}</a-button>
|
||||||
@@ -49,21 +37,18 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
url: {
|
url: {
|
||||||
list: '',
|
list: '/problemKnowledgeBase/countryCardTempEO/list',
|
||||||
deleteOne: ''
|
deleteOne: ''
|
||||||
},
|
},
|
||||||
visible: false,
|
visible: false,
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
dataList: [{}],
|
dataList: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
pageNo: 1,
|
confirmLoading: false,
|
||||||
pageSize: 10,
|
|
||||||
confirmLoading:false,
|
|
||||||
total: 0,
|
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('LabelName'),
|
title: this.$t('LabelName'),
|
||||||
dataIndex: 'LabelName',
|
dataIndex: 'lableName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
@@ -82,40 +67,26 @@
|
|||||||
methods: {
|
methods: {
|
||||||
getData() {
|
getData() {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
|
this.replacePage()
|
||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
handleSubmit(){
|
handleSubmit() {
|
||||||
|
|
||||||
},
|
|
||||||
onChange(page, pageSize) {
|
|
||||||
this.pageNo = page
|
|
||||||
this.replacePage()
|
|
||||||
},
|
|
||||||
SizeChange(page, pageSize) {
|
|
||||||
this.pageNo = 1
|
|
||||||
this.pageSize = pageSize
|
|
||||||
this.replacePage()
|
|
||||||
},
|
},
|
||||||
replacePage() {
|
replacePage() {
|
||||||
let query = {
|
|
||||||
pageNo: this.pageNo,
|
|
||||||
pageSize: this.pageSize
|
|
||||||
}
|
|
||||||
this.loading = true
|
this.loading = true
|
||||||
postAction(this.url.list, query).then((res) => {
|
getAction(this.url.list, {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataList = res.result.records || []
|
this.dataList = res.result || []
|
||||||
this.total = res.result.total
|
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.total = 0
|
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -50,8 +50,9 @@
|
|||||||
<span class="text-header-text" style="cursor: pointer" v-html="item.title"></span>
|
<span class="text-header-text" style="cursor: pointer" v-html="item.title"></span>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-content" v-html="item.content">
|
<div class="text-content">
|
||||||
</div>
|
{{item.content}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@@ -308,6 +309,8 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
|
|||||||