合并分支 'fix_20230508' 到 'master'
Fix 20230508 查看合并请求 laws-nio/laws-weilai!323
This commit is contained in:
+2
-2
@@ -128,8 +128,8 @@ public class SysUserController {
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "用户管理-分页查询")
|
||||
@RequiresPermissions("sys:user:list")
|
||||
@PermissionData(pageComponent = "system/UserList")
|
||||
// @RequiresPermissions("sys:user:list")
|
||||
// @PermissionData(pageComponent = "system/UserList")
|
||||
@RequestMapping(value = "/page", method = RequestMethod.GET)
|
||||
public Result<IPage<SysUser>> queryPageList(SysUser user, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, HttpServletRequest req) {
|
||||
|
||||
+16
@@ -226,6 +226,7 @@ public class ParamsManifestEOServiceImpl extends ServiceImpl<ParamsManifestEOMap
|
||||
target.setControlValues(source.getControlValues());
|
||||
target.setControlVerify(source.getControlVerify());
|
||||
target.setFileTemplateConnectId(source.getFileTemplateConnectId());
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!isHave){
|
||||
@@ -248,6 +249,21 @@ public class ParamsManifestEOServiceImpl extends ServiceImpl<ParamsManifestEOMap
|
||||
}
|
||||
}
|
||||
paramsCollectManifestEOService.saveOrUpdateBatch(paramsCollectManifestEOList);
|
||||
|
||||
List<String> delList = new ArrayList<>();
|
||||
for (ParamsCollectManifestEO target : paramsCollectManifestEOList) {
|
||||
boolean isHave = false;
|
||||
for (ParamsInfoPublishEO source : paramsInfoPublishEOList) {
|
||||
if (target.getNioNumber().equals(source.getNioNumber())) {
|
||||
isHave = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!isHave){
|
||||
delList.add(target.getId());
|
||||
}
|
||||
}
|
||||
paramsCollectManifestEOService.deleteByIds(delList);
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
return false;
|
||||
|
||||
+4
@@ -259,6 +259,10 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
|
||||
String projectId = UUID.randomUUID().toString().replace("-", "");
|
||||
//主表中添加数据
|
||||
ProjectLibraryBase projectLibraryBaseTemp = this.getById(id);
|
||||
projectLibraryBaseTemp.setCreateBy(null);
|
||||
projectLibraryBaseTemp.setCreateTime(null);
|
||||
projectLibraryBaseTemp.setUpdateBy(null);
|
||||
projectLibraryBaseTemp.setUpdateTime(null);
|
||||
projectLibraryBaseTemp.setId(projectId);
|
||||
projectLibraryBaseTemp.setParentId(id);
|
||||
projectLibraryBaseTemp.setProjectVersion(projectLibraryBase.getProjectVersion());
|
||||
|
||||
@@ -255,6 +255,13 @@ export default {
|
||||
ellipsis: true,
|
||||
width: 170
|
||||
},
|
||||
{
|
||||
title: this.$t('taskname'),
|
||||
align: 'left',
|
||||
dataIndex: 'rwmc',
|
||||
ellipsis: true,
|
||||
width: 170
|
||||
},
|
||||
{
|
||||
title: this.$t('noticebatch'),
|
||||
align: 'left',
|
||||
|
||||
+42
-21
@@ -105,15 +105,24 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="left" height="50px">{{$t('upgradefailureorinterruption')}}</td>
|
||||
<td height="50px" style='position: relative'>
|
||||
<j-multi-select-tag class="box-input1"
|
||||
v-model="form.aqjz"
|
||||
style='margin-top: 2px'
|
||||
:disabled="disable"
|
||||
dictCode="upgrade_failed"
|
||||
:placeholder="$t('PleaseSelect')"
|
||||
:type="'select'"
|
||||
:triggerChange="false"/>
|
||||
<td :height="this.flag == true ? '100px' : '50px'" style='position: relative'>
|
||||
<div>
|
||||
<j-multi-select-tag class="box-input1"
|
||||
v-model="form.aqjz"
|
||||
style='margin-top: 2px'
|
||||
:disabled="disable"
|
||||
dictCode="upgrade_failed"
|
||||
:placeholder="$t('PleaseSelect')"
|
||||
:type="'select'"
|
||||
@changeQuery='changeQuery'
|
||||
:triggerChange="false"/>
|
||||
</div>
|
||||
<div v-if='flag'>
|
||||
<a-input class="box-input2"
|
||||
v-model="form.wbk"
|
||||
:title="form.wbk ? form.wbk : $t('PleaseEnter')"
|
||||
:placeholder="$t('PleaseEnter')"></a-input>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -190,6 +199,7 @@ export default {
|
||||
exportData: '/ota/otaBaSjSjyxpg/exportData',
|
||||
importZipUrl: '/ota/otaBaSjSjyxpg/importData?otaId=' + localStorage.getItem('otaId'),//导入
|
||||
},
|
||||
flag:false,
|
||||
loading: false,
|
||||
disable:false,
|
||||
columns: [
|
||||
@@ -379,18 +389,14 @@ this.$forceUpdate()
|
||||
if(res.result.zxsj==null){
|
||||
res.result.zxsj=undefined
|
||||
}
|
||||
this.form=res.result==null ? {
|
||||
sjmd:'',
|
||||
// fhgd:1,
|
||||
// zdjsxg:2,
|
||||
// sfyxaq:2,
|
||||
// yhqr:1,
|
||||
// aqkkx:1,
|
||||
// zxsj:2,
|
||||
// aqjz:'2',
|
||||
// sjbcs:'3,4'
|
||||
} : res.result
|
||||
this.form=res.result==null ? { sjmd:'' } : res.result
|
||||
}
|
||||
console.log(this.form.aqjz)
|
||||
if(this.form.aqjz == '2'){
|
||||
this.flag = true
|
||||
}else{
|
||||
this.flag = false
|
||||
}
|
||||
})
|
||||
},
|
||||
save(){
|
||||
@@ -417,6 +423,13 @@ this.$forceUpdate()
|
||||
this.save()
|
||||
this.$emit('safetyPrecautionsdown')
|
||||
},
|
||||
changeQuery(val) {
|
||||
if(val.indexOf('将车辆置于安全状态') != -1 || val.indexOf('Put the vehicle in a safe position') != -1){
|
||||
this.flag = true
|
||||
}else{
|
||||
this.flag = false
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -446,13 +459,21 @@ this.$forceUpdate()
|
||||
margin-left: 40px;
|
||||
}
|
||||
.box-input1 {
|
||||
display: inline-block;
|
||||
//display: inline-block;
|
||||
width: calc(100% - 80px);
|
||||
position: absolute;
|
||||
height: 38px;
|
||||
margin-left: 40px;
|
||||
top: 4px;
|
||||
}
|
||||
.box-input2 {
|
||||
//display: inline-block;
|
||||
width: calc(100% - 80px);
|
||||
position: absolute;
|
||||
height: 38px;
|
||||
margin-left: 40px;
|
||||
top: 50px;
|
||||
}
|
||||
::v-deep .ant-table-row-cell-ellipsis .ant-table-column-title {
|
||||
white-space: pre-wrap!important;
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<a-input
|
||||
class="box-input"
|
||||
:placeholder="$t('PleaseEnter')+$t('contentsearch')"
|
||||
v-model='queryParam.realname' />
|
||||
v-model='queryParam.context' />
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="12" :sm="8">
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<a-input
|
||||
class="box-input"
|
||||
:placeholder="$t('PleaseEnter')+$t('contentsearch')"
|
||||
v-model='queryParam.realname' />
|
||||
v-model='queryParam.context' />
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="12" :sm="8">
|
||||
|
||||
Reference in New Issue
Block a user