| | |
| | | <el-input |
| | | style="width:85%" |
| | | v-model=" editForm.name" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('dataManage.styleObj.name')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('dataManage.styleObj.name')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item :label="$t('common.templateType')"> |
| | |
| | | @change="selFileCodeChange" |
| | | v-model="editForm.code" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetree')+$t('dataManage.common.templateType')" |
| | | |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | |
| | | :accept="selectFileType" |
| | | style="display: none" |
| | | @change="geteditFile(1)" |
| | | |
| | | /> |
| | | <el-button |
| | | style="margin-left: 6px;" |
| | |
| | | <el-input |
| | | style="width:85%" |
| | | v-model="editForm.bak" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('common.bak')" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('common.bak')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | .catch((_) => { }); |
| | | }, |
| | | codeData(row, column) { |
| | | let data = row[column.property]; |
| | | if (data == null) { |
| | | return data; |
| | | |
| | | var code = row.code; |
| | | let val = this.options.filter(res => { |
| | | if (res.value == code) { |
| | | return res |
| | | } |
| | | }) |
| | | if (val.length > 0) { |
| | | return val[0].label |
| | | } else { |
| | | return code |
| | | } |
| | | var val; |
| | | if (row.code.indexOf("countSizes") != -1) { |
| | | val = "数据量统计"; |
| | | } else if (row.code.indexOf("countServices") != -1) { |
| | | val = "服务调用量统计"; |
| | | } else if (row.code.indexOf("countOperates") != -1) { |
| | | val = "用户流量统计"; |
| | | } |
| | | return val; |
| | | |
| | | }, |
| | | //查看 |
| | | showDetail(index, row) { |