YYC
2023-08-15 046a97925c84b5f8c8c16349a57638722fead578
设备管理优化
已修改2个文件
12 ■■■■■ 文件已修改
igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
igds-manager/src/main/java/com/ld/igds/oa/view/OfficeAutoPR.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml
@@ -269,7 +269,8 @@
            <Property name="iconClass">fa fa-search</Property>
          </Button>
          <Button layoutConstraint="left">
            <ClientEvent name="onClick">view.get(&quot;#dsParam&quot;).flushAsync();</ClientEvent>
            <ClientEvent name="onClick">view.get(&quot;#dsParam&quot;).flushAsync();&#xD;
view.get(&quot;#dsParam&quot;).insert({});</ClientEvent>
            <Property name="caption">重置</Property>
            <Property name="iconClass">fa fa-refresh</Property>
            <Property name="exClassName">btn-default</Property>
@@ -527,7 +528,8 @@
                <Property name="iconClass">fa fa-search</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">view.get(&quot;#dsParamCheck&quot;).flushAsync();</ClientEvent>
                <ClientEvent name="onClick">view.get(&quot;#dsParamCheck&quot;).flushAsync();&#xD;
view.get(&quot;#dsParamCheck&quot;).insert({});</ClientEvent>
                <Property name="caption">重置</Property>
                <Property name="iconClass">fa fa-refresh</Property>
                <Property name="exClassName">btn-default</Property>
igds-manager/src/main/java/com/ld/igds/oa/view/OfficeAutoPR.java
@@ -210,10 +210,12 @@
    @Expose
    public String delArchives(OAArchives data) throws Exception {
        List<FileInfo> list = data.getFileData();
        if (list.isEmpty()) {
        if (!list.isEmpty()) {
            String fileId = list.get(0).getFileId();
            Date createTime = list.get(0).getCreateTime();
            if (null == createTime) createTime = new Date();
            if (null == createTime) {
                createTime = new Date();
            }
            File file = new File(fileService.getCommonFilePath(createTime), fileId);