s724520 发表于 2022-8-25 15:49:40

固定资产管理没办法在打包的app看到

固定资产管理app上看不见,办公设备这个能看到,请教大佬是哪块没配置好吗?顺便在问下资产管理的查询页面怎么新增元素呢


论坛管理员 发表于 2022-8-25 15:58:06

固定资产管理目前没有移动端
查询条件这里是使用的门户页面开发,您可以去修改门户增加查询条件

s724520 发表于 2022-8-25 16:34:19

论坛管理员 发表于 2022-8-25 15:58
固定资产管理目前没有移动端
查询条件这里是使用的门户页面开发,您可以去修改门户增加查询条件 ...

嗯嗯 门户按钮这些已经增加了 查询的条件是查的哪个表的数据呢 我这边配置出来查询没有效果

xadmin 发表于 2022-8-26 09:50:54

s724520 发表于 2022-8-25 16:34
嗯嗯 门户按钮这些已经增加了 查询的条件是查的哪个表的数据呢 我这边配置出来查询没有效果 ...

看一下查询按钮的点击事件就可以知道,查询的是视图数据。

s724520 发表于 2022-8-26 11:15:40

xadmin 发表于 2022-8-26 09:50
看一下查询按钮的点击事件就可以知道,查询的是视图数据。

大佬,是不是这里,看着没有数据,我新加的订单编号在视图资产列表还有按编号资产列表都添加了相关字段,大佬能帮助下是具体哪个表里的吗 :lol blob:https://www.o2oa.net/1b60601f-6700-4a02-8496-7efe990d03dc

论坛管理员 发表于 2022-8-29 09:25:21


s724520 发表于 2022-9-20 10:48:59

本帖最后由 s724520 于 2022-9-20 10:55 编辑

论坛管理员 发表于 2022-8-29 09:25

大佬,在麻烦一下 ,相应代码已增加,查询还是有问题,付上截图劳烦大佬看看。
感觉像是path不对,但是不太清楚在哪里确定path
增加代码:
var view = this.form.get("view");
var filterList = [];
if(this.form.get("zcbh").getData()){
    filterList.push({
      "logic": "and",
      "path": "bh",
      "comparison": "like",
      "value": this.form.get("zcbh").getData(),
      "formatType": "textValue",
      "type": "restrict",
      "title": "",
      "code": {"code":"return \""+this.form.get("zcbh").getData()+"\";","html":"return \""+this.form.get("zcbh").getData()+"\";"},
      "otherValue": ""
    });
}
if(this.form.get("zcmc").getData()){
    filterList.push({
      "logic": "and",
      "path": "zcmc",
      "comparison": "like",
      "value": this.form.get("zcmc").getData(),
      "formatType": "textValue",
      "type": "restrict",
      "title": "",
      "code": {"code":"return \""+this.form.get("zcmc").getData()+"\";","html":"return \""+this.form.get("zcmc").getData()+"\";"},
      "otherValue": ""
    });
}
if(this.form.get("zclx").getData()){
    filterList.push({
      "logic": "and",
      "path": "lb",
      "comparison": "like",
      "value": this.form.get("zclx").getData(),
      "formatType": "textValue",
      "type": "restrict",
      "title": "",
      "code": {"code":"return \""+this.form.get("zclx").getData()+"\";","html":"return \""+this.form.get("zclx").getData()+"\";"},
      "otherValue": ""
    });
}
if(this.form.get("qzsj").getData()){
    filterList.push({
      "logic": "and",
      "path": "lb",
      "comparison": "like",
      "value": this.form.get("qzsj").getData(),
      "formatType": "textValue",
      "type": "restrict",
      "title": "",
      "code": {"code":"return \""+this.form.get("qzsj").getData()+"\";","html":"return \""+this.form.get("qzsj").getData()+"\";"},
      "otherValue": ""
    });
}
if(this.form.get("dqsj").getData()){
    filterList.push({
      "logic": "and",
      "path": "lb",
      "comparison": "like",
      "value": this.form.get("dqsj").getData(),
      "formatType": "textValue",
      "type": "restrict",
      "title": "",
      "code": {"code":"return \""+this.form.get("dqsj").getData()+"\";","html":"return \""+this.form.get("dqsj").getData()+"\";"},
      "otherValue": ""
    });
}
if(this.form.get("ddbh").getData()){
    filterList.push({
      "logic": "and",
      "path": "lb",
      "comparison": "like",
      "value": this.form.get("ddbh").getData(),
      "formatType": "textValue",
      "type": "restrict",
      "title": "",
      "code": {"code":"return \""+this.form.get("ddbh").getData()+"\";","html":"return \""+this.form.get("ddbh").getData()+"\";"},
      "otherValue": ""
    });
}
view.json.loadView = "yes";
view.json.filterList = filterList;
debugger;
this.form.get("view").reload();

首页视图字段:


资产列表视图字段:


还请大佬有空指导一下


s724520 发表于 2022-9-20 11:09:39

论坛管理员 发表于 2022-8-29 09:25


搞定了。大佬不用管了。打扰了
页: [1]
查看完整版本: 固定资产管理没办法在打包的app看到