| | |
| | | </div> |
| | | <el-dialog title="模板编制" :visible.sync="isShow" width="80%" :before-close="isClose"> |
| | | <div style="width: 100%;height: 80vh;overflow: auto;" v-if="isShow"> |
| | | <Excel :data="row.thing" :title="row.name" v-loading="loading"></Excel> |
| | | <Excel :data="row.thing" :execlTitle="row.name" v-loading="loading"></Excel> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | font: '编辑', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | field: ['createUserName', 'updateUserName','thing'] |
| | | field: ['createUserName', 'updateUserName'] |
| | | }, { |
| | | id: 'delete', |
| | | font: '删除', |
| | |
| | | closed(){ |
| | | this.loading = true |
| | | let data = luckysheet.toJson() |
| | | console.log(data); |
| | | this.$axios.post(this.$api.StandardTemplate.upStandardTemplate,{ |
| | | id: this.row.id, |
| | | thing: JSON.stringify(data), |