modified: src/views/basic/param/index.vue
modified: src/views/basic/template/index.vue
modified: src/views/common/param-mergeTemplate.vue
modified: src/views/plan/customerorder/index.vue
| | |
| | | <el-form-item class="btn-group"> |
| | | <el-button type="" @click="onSearch">查询</el-button> |
| | | <el-button type="primary" @click="addOrUpdateHandle">新增</el-button> |
| | | <el-button @click="showImportDialog">导入</el-button> |
| | | <el-button type="primary" @click="showImportDialog">导入</el-button> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | ...mapGetters(['permissions']) |
| | | }, |
| | | created() { |
| | | this.loading = true |
| | | this.getData() |
| | | this.getParamType() |
| | | }, |
| | | beforeUpdate() { |
| | | console.log("updated"); |
| | | this.rowSort() |
| | | this.rowCalc() |
| | | this.loading = false |
| | | }, |
| | | watch: {}, |
| | | // beforeUpdate() { |
| | | // console.log("updated"); |
| | | // this.rowSort() |
| | | // this.rowCalc() |
| | | // this.loading = false |
| | | // }, |
| | | watch: { |
| | | tableData:{ |
| | | handler(old,newval){ |
| | | this.loading = true |
| | | // this.tableData=JSON.parse(JSON.stringify(this.tableTreeData)) |
| | | this.rowSort() |
| | | this.rowCalc() |
| | | this.loading = false |
| | | }, |
| | | deep: true |
| | | } |
| | | }, |
| | | methods: { |
| | | //下载模板 |
| | | downloadTemplate() { |
| | |
| | | } from '@/api/basic/template' |
| | | import TableForm from './template-form' |
| | | import ttable from '@/views/common/ztt-table.vue' |
| | | import { getStore } from '@/util/store.js' |
| | | import ParamDialog from '@/views/common/param.vue' |
| | | import { mapGetters } from 'vuex' |
| | | import { |
| | |
| | | }, |
| | | addOrUpdateVisible: false, |
| | | paramTemplateOption: { |
| | | maxHeight: 450, |
| | | height: 450, |
| | | height: '65vh', |
| | | loadingText: "Loading...", |
| | | columnBtn: false, |
| | | index: true, |
| | |
| | | computed: { |
| | | ...mapGetters(['permissions']) |
| | | }, |
| | | created(){ |
| | | }, |
| | | watch:{ |
| | | }, |
| | | mounted() { |
| | | this.getParamType() |
| | | // this.rowDrop() |
| | |
| | | }, |
| | | }, |
| | | watch:{ |
| | | table(val) { |
| | | this.doLayout() |
| | | }, |
| | | tableTreeData:{ |
| | | handler(old,newval){ |
| | | this.loading = true |
| | |
| | | this.loading = false |
| | | }, |
| | | deep: true |
| | | } |
| | | }, |
| | | }, |
| | | created() { |
| | | this.loading = true |
| | |
| | | isShowQuery: false, |
| | | uploadInfo: { |
| | | // 是否展示上传EXCEL以及对应的url |
| | | isShow: false, |
| | | isShow: true, |
| | | url: '' |
| | | }, |
| | | prelang: 'operation', |