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