Commit 9202502f by “wufan”

fctcan修改

parent 74d98822
...@@ -6,7 +6,7 @@ import Utils from "~/utils" ...@@ -6,7 +6,7 @@ import Utils from "~/utils"
let checkObj = { let checkObj = {
"fcdgrp.apl.pts.extkey" :null, "fcdgrp.apl.pts.extkey" :null,
"fcdgrp.apl.pts.nam" :null, "fcdgrp.apl.pts.nam" :null,
// "fcdgrp.rec.ownref" :null, "fcdgrp.rec.ownref" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -147,8 +147,9 @@ ...@@ -147,8 +147,9 @@
<c-istream-table <c-istream-table
:list="model.cshstm.rows || []" :list="model.cshstm.rows || []"
:columns="columns" :columns="columns"
v-on:chooseRowEvent="chooseRowEvent" :showSelection="true"
v-if="model.gleflg" v-on:multipleSelect="multipleSelect"
></c-istream-table> ></c-istream-table>
</c-col> </c-col>
</div> </div>
...@@ -187,18 +188,23 @@ export default { ...@@ -187,18 +188,23 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async chooseRowEvent(row) { async multipleSelect(selection) {
const selIds = [row.IDX + 1]; //rowno选中行 console.log(selection);
const selDst = "cshstm" //列表对应后台模型中的stream if (selection) {
let params = { selDst: selDst, selIds: selIds }; let selIds = selection.map(x=>x+1);
let rtnmsg = await this.executeRule("cshstm", params) let params = {selDst:"cshstm",selIds}
if(rtnmsg.respCode == SUCCESS) { const rtnmsg = await this.executeRule("cshstm",params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
} }
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
},
}, },
methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment