Merge remote-tracking branch 'origin/master'
| | |
| | | }) |
| | | if(this.radio === 0){ |
| | | if(this.selectRow.length<=0){ |
| | | this.$message.warning('请选择要导出的模板') |
| | | this.ids=this.tableData.map(item => item.oid).join(',') |
| | | exportCode({codeClassifyOid:this.codeClassifyOid,...this.exportArr,limit:-1}).then(res=>{ |
| | | // console.log('res',res) |
| | | if(res){ |
| | | func.downloadFileByBlob(res); |
| | | this.escHandler() |
| | | } |
| | | }) |
| | | }else { |
| | | //已选择多选 |
| | | const selectList=[] |
| | |
| | | <template> |
| | | <div> |
| | | <div style="display: flex;flex-wrap: wrap;" v-if="this.crudArrayFlag" class="app"> |
| | | <div style="display: flex;flex-wrap: wrap; display: inline-block" v-if="this.crudArrayFlag" class="app" > |
| | | <el-button-group> |
| | | <!--新增--> |
| | | <el-button v-if="attrEditVisible == false && attrFlagChiledren==false && editOpenFlag && (!checkStatus || crudLCStatus=='Editing' )" size="small" type="primary" icon="el-icon-plus" plain @click="busineHandle">添加 {{ msg }}</el-button> |
| | |
| | | <div> |
| | | <avue-form v-model="loneTreeNewForm" :option="option" v-if="flag == 'renonly'"> |
| | | </avue-form> |
| | | <avue-form v-model="loneTreeNewForm" :option="this.options" @submit="submits" v-else-if="flag == 'edit'"> |
| | | <avue-form v-model="loneTreeNewForm" :option="this.options" @submit="submits" v-else-if="flag == 'edit'"> |
| | | </avue-form> |
| | | <div> |
| | | <!-- 编码规则--> |
| | |
| | | }, |
| | | rules: { |
| | | id: [ |
| | | { required: true, message: '请输入名称', trigger: 'blur' }, |
| | | { required: true, message: '请输入编号', trigger: 'blur' }, |
| | | ], |
| | | name:[ |
| | | { required: true, message: '请输入编号', trigger: 'blur' }, |
| | | { required: true, message: '请输入名称', trigger: 'blur' }, |
| | | ], |
| | | btmTypeName:[ |
| | | { required: true, message: '请选择业务类型', trigger: 'blur' }, |
| | |
| | | startData: [], |
| | | form: {}, |
| | | option: { |
| | | height: "auto", |
| | | height: 340, |
| | | border: true, |
| | | align: 'center', |
| | | menu:!this.checkStatus || this.crudLCStatus == 'Editing', |
| | |
| | | index: true, |
| | | searchMenuSpan: 8, |
| | | searchBtn: false, |
| | | refreshBtn:false, |
| | | emptyBtn: false, |
| | | columnBtn: false, |
| | | editBtn:!this.checkStatus || this.crudLCStatus == 'Editing', |
| | |
| | | ], |
| | | option: { |
| | | ...options, |
| | | height: 383, |
| | | column: [ |
| | | { label: '模板编号', prop: 'modelKey' }, |
| | | { label: '模板名称', prop: 'modelName' }, |
| | |
| | | width: 100, |
| | | value:0, |
| | | disabled:this.BooleanFlag , |
| | | hide:true, |
| | | dicData: [{ |
| | | label: '开启', |
| | | value: 0 |