| | |
| | | orgList: [], |
| | | title: "", |
| | | open: false, |
| | | apiKey: '3ceaxd5ckw4te35xj38vj3p5rmmeyv0x8pq2yrr92rwdiqzp', // 替换为您的 TinyMCE API 密钥 |
| | | apiKey: '3ceaxd5ckw4te35xj38vj3p5rmmeyv0x8pq2yrr92rwdiqzp', |
| | | editorInit: { |
| | | height: 200, |
| | | menubar: false, |
| | |
| | | orderNum: null, |
| | | }, |
| | | form: { |
| | | introduction: '<p>请输入医院简介...</p>', // 默认值 |
| | | introduction: '', // 默认值 |
| | | }, |
| | | rules: { |
| | | hospAreaName: [ |
| | |
| | | updateByName: null, |
| | | imgbase64: null, |
| | | deleted: null, |
| | | introduction: '<p>请输入医院简介...</p>', // 重置时恢复默认值 |
| | | introduction: '', // 重置时恢复默认值 |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | |
| | | this.submitFormchanck(); |
| | | } |
| | | }, |
| | | submitFormchanck() { |
| | | this.loading = true; |
| | | getfindTj(this.form).then((response) => { |
| | | if (response.data != []) { |
| | | this.tableData = response.data; |
| | | this.tableData.forEach((item1) => { |
| | | this.tjnumber = item1.tjNumber; |
| | | }); |
| | | if (this.tableData.length != 0) { |
| | | this.$nextTick(() => { |
| | | this.$refs.multipleTable.toggleRowSelection( |
| | | this.tableData[0], |
| | | true |
| | | ); |
| | | }); |
| | | } else { |
| | | this.$refs.multipleTable.clearSelection(); |
| | | } |
| | | this.tableData.forEach((item) => { |
| | | if (item.isAdditionCollectFees === "N") { |
| | | item.isAdditionCollectFees = "否"; |
| | | } else { |
| | | item.isAdditionCollectFees = "是"; |
| | | } |
| | | if (item.tjType === "2") { |
| | | item.tjType = "个人"; |
| | | } else { |
| | | item.tjType = "团队"; |
| | | } |
| | | if (item.sex === "0") { |
| | | item.sex = "男"; |
| | | } else if (item.sex === "1") { |
| | | item.sex = "女"; |
| | | } else { |
| | | item.sex = "未知"; |
| | | } |
| | | submitFormchanck() { |
| | | this.loading = true; |
| | | getfindTj(this.form) |
| | | .then((response) => { |
| | | if (response.data != []) { |
| | | this.tableData = response.data; |
| | | this.tableData.forEach((item1) => { |
| | | this.tjnumber = item1.tjNumber; |
| | | }); |
| | | if (this.tableData.length != 0) { |
| | | this.$nextTick(() => { |
| | | this.$refs.multipleTable.toggleRowSelection( |
| | | this.tableData[0], |
| | | true |
| | | ); |
| | | }); |
| | | } else { |
| | | this.tableData = []; |
| | | this.disabled = 1; |
| | | this.$refs.multipleTable.clearSelection(); |
| | | } |
| | | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | this.tableData.forEach((item) => { |
| | | if (item.isAdditionCollectFees === "N") { |
| | | item.isAdditionCollectFees = "否"; |
| | | } else { |
| | | item.isAdditionCollectFees = "是"; |
| | | } |
| | | if (item.tjType === "2") { |
| | | item.tjType = "个人"; |
| | | } else { |
| | | item.tjType = "团队"; |
| | | } |
| | | if (item.sex === "0") { |
| | | item.sex = "男"; |
| | | } else if (item.sex === "1") { |
| | | item.sex = "女"; |
| | | } else { |
| | | item.sex = "未知"; |
| | | } |
| | | }); |
| | | } else { |
| | | this.tableData = []; |
| | | this.disabled = 1; |
| | | } |
| | | this.loading = false; |
| | | }) |
| | | .catch((error) => { |
| | | console.error("Error:", error); |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | //重置按钮 |
| | | resetQuery() { |
| | | this.$tab.refreshPage(); |
| | |
| | | } |
| | | }, |
| | | /** 搜索操作 */ |
| | | handle() { |
| | | this.loading = true; |
| | | getTjRefundList2(this.form).then((response) => { |
| | | if( response.data){ |
| | | this.customerList = response.data; |
| | | handle() { |
| | | this.loading = true; |
| | | getTjRefundList2(this.form) |
| | | .then((response) => { |
| | | if (response.data) { |
| | | this.customerList = response.data; |
| | | this.customerList.forEach((item1) => { |
| | | this.tjnumber = item1.tjNumber; |
| | | }); |
| | |
| | | }); |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | | console.error("错误:", error); |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | //重置按钮 |
| | | resetQuery() { |