修改自定义url绑定值&&登录添加中文密码错误提示&&
| | |
| | | // return; |
| | | // } |
| | | // 如果添加了节点且节点没有被更改过 |
| | | |
| | | if (e.action === "add" && e.model.type === "node") { |
| | | if (!e.model.change) { |
| | | this.$refs.flowChart.propsAPI.remove(e.item); // 移除原有的节点 |
| | |
| | | loading.close(); |
| | | return; |
| | | } |
| | | |
| | | if (data.obj.failCode === 'userPwdNotEqual') { |
| | | this.$message.error('密码错误,请重新输入!'); |
| | | loading.close(); |
| | | return; |
| | | } |
| | | this.$message.error(data.msg); |
| | | |
| | | if (data.obj.mustChangePassword) { |
| | |
| | | }); |
| | | return false; |
| | | } |
| | | } |
| | | ; |
| | | }; |
| | | |
| | | this.$router.push({path: this.tagWel.value}); |
| | | loading.close(); |
| | |
| | | </el-container> |
| | | |
| | | <!-- 添加自定义组件 --> |
| | | |
| | | <el-dialog |
| | | v-dialogDrag |
| | | v-loading="customLoading" |
| | |
| | | ], |
| | | form: {}, |
| | | topForm: { |
| | | itemQtName:'', |
| | | itemQtName: '', |
| | | columnNumber: 8, |
| | | showColumn: '3', |
| | | viName: '', |
| | |
| | | // 选项删除 |
| | | optionDeleteClickHandler(val) { |
| | | if (val === 'dialog') { |
| | | this.customForm.itemKeyValueList.splice(this.customOptionRow.index,1); |
| | | this.customForm.itemKeyValueList.splice(this.customOptionRow.index, 1); |
| | | } else { |
| | | this.form.itemKeyValueList.splice(this.optionRow.index,1); |
| | | this.form.itemKeyValueList.splice(this.optionRow.index, 1); |
| | | } |
| | | }, |
| | | |
| | |
| | | //} |
| | | |
| | | </style> |
| | | |
| | |
| | | |
| | | if (this.searchTargerChangeFlag) { |
| | | // 切换清空模板类型 |
| | | const list = ['showType', 'linkType', 'templateId', 'SubUILayout', 'queryTemplateName', 'searchObjType', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']; |
| | | const list = ['showType', 'linkType', 'templateId', 'SubUILayout', 'queryTemplateName', 'searchObjType', 'bsDataModel', 'csDataModel']; |
| | | list.forEach(item => { |
| | | this.form[item] = ''; |
| | | }) |
| | |
| | | dicUrl: '/api/uiManagerController/getBtmDatasByPage?page=1&limit=-1', |
| | | filterable: true, |
| | | change: (val) => { |
| | | console.log('showTypeChangeFlag',this.showTypeChangeFlag) |
| | | if (val.value) { |
| | | let params = { |
| | | 'conditionMap[selectBtmType]': this.form.searchTarger === '1' ? this.form.showType : this.form.linkType |
| | | 'conditionMap[selectBtmType]': this.form.searchTarger === '1' ? val.value : this.form.linkType |
| | | } |
| | | getPortalVIDatasByPage(1, -1, params).then(res => { |
| | | this.templateIdList = res.data.data; |
| | |
| | | }, |
| | | { |
| | | label: 'B/S自定义查询', |
| | | prop: 'bsCustQueryCLsOrUrl', |
| | | prop: 'bsDataModel', |
| | | display: false, |
| | | labelWidth: 115, |
| | | span: 12 |
| | | }, |
| | | { |
| | | label: 'C/S自定义查询', |
| | | prop: 'csCustQueryCLsOrUrl', |
| | | prop: 'csDataModel', |
| | | display: false, |
| | | labelWidth: 115, |
| | | span: 12 |
| | |
| | | // 模板类型为表格 |
| | | templateTypeTable(val) { |
| | | if (!val) return; |
| | | this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); |
| | | this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsDataModel', 'csDataModel']); |
| | | }, |
| | | |
| | | // 模板类型为自定义模板 |
| | |
| | | // 模板类型为树表 |
| | | templateTypeTreeTable(val) { |
| | | if (!val) return; |
| | | this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'expandCols', 'expandMode', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); |
| | | this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'expandCols', 'expandMode', 'bsDataModel', 'csDataModel']); |
| | | }, |
| | | |
| | | // 模板类型为表单 |
| | | templateTypeForm(val) { |
| | | if (!val) return; |
| | | this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); |
| | | this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsDataModel', 'csDataModel']); |
| | | }, |
| | | |
| | | // 模板类型为树 |
| | |
| | | if (!val) return; |
| | | const searchTarger = this.option.column.find(item => item.prop === 'searchTarger'); // 获取搜索类型配置项 |
| | | searchTarger.display = false; // 不展示搜索类型 |
| | | this.updateDisplay(val, ['showType', 'queryTemplateName', 'rootContent', 'showAbs', 'showLinkAbs', 'separator', 'expandMode', 'linkType', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); |
| | | this.updateDisplay(val, ['showType', 'queryTemplateName', 'rootContent', 'showAbs', 'showLinkAbs', 'separator', 'expandMode', 'linkType', 'bsDataModel', 'csDataModel']); |
| | | }, |
| | | |
| | | // 模板类型为UI定义 |
| | |
| | | if (!val) return; |
| | | const searchTarger = this.option.column.find(item => item.prop === 'searchTarger'); // 获取搜索类型配置项 |
| | | searchTarger.display = false; // 不展示搜索类型 |
| | | this.updateDisplay(val, ['showType', 'SubUILayout', 'searchType', 'searchObjType', 'queryTemplateName', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); |
| | | this.updateDisplay(val, ['showType', 'SubUILayout', 'searchType', 'searchObjType', 'queryTemplateName', 'bsDataModel', 'csDataModel']); |
| | | }, |
| | | |
| | | // 查找数组中对象索引 |