Commit 46c8c186 by liuxin

待复核Action码表

parent 3aa8512f
......@@ -394,6 +394,19 @@
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24">
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" :paginationShow="false" style="width:100%">
<el-table-column label="Action" width="400px">
<template slot-scope="scope">
<!-- <span>{{JSON.stringify(scope.row)}}</span> -->
<el-select v-model="action[scope.row.IDX]" style="100%" disabled>
<el-option
v-for="item in codes.flg"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</template>
</el-table-column>
<el-table-column
fixed="right"
prop="display"
......@@ -522,7 +535,7 @@ export default {
columns: [
'1 2:1 "User" 200',
'2 3:1 "Date / Time" 200',
'3 5:1 "Action" 400',
// '3 5:1 "Action" 400',
'4 1:1 "Type" 200'
],
data: [],
......@@ -540,7 +553,9 @@ export default {
],
data: [],
},
codes: { infdsp: CodeTable.infdsp },
codes: { infdsp: CodeTable.infdsp,
flg : CodeTable.flg },
action:[],
}
},
mounted() {
......@@ -553,6 +568,13 @@ export default {
this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows;
console.log(this.SignaturesData.data)
for (let i = 0; i < this.SignaturesData.data.length; i++) {
const d = this.SignaturesData.data[i];
const items = d.split("\t");
this.action[i] = items[items.length - 2];
}
console.log(this.action)
},
exit(){
this.$store.dispatch("TagsView/delView", this.$route)
......
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