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);
this.updateModel(rtnmsg.data) if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
}, },
methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="保证金注销"> <c-page title="保证金注销">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -17,19 +17,19 @@ ...@@ -17,19 +17,19 @@
<c-content> <c-content>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="结算" name="setpan"> <el-collapse-item title="结算" name="setpan">
<!-- 结算 --> <!-- 结算 -->
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</c-page> </c-page>
</div> </div>
</template> </template>
......
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