doctor-admin-components 1.0.13-beta.48 → 1.0.13-beta.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "doctor-admin-components",
3
3
  "version1": "1.0.11",
4
- "version": "1.0.13-beta.48",
4
+ "version": "1.0.13-beta.49",
5
5
  "private": false,
6
6
  "main1": "lib/index.umd.min.js",
7
7
  "main": "packages/index.js",
@@ -998,13 +998,13 @@ export default {
998
998
  submitShipment() {
999
999
  this.$refs['form'].validate((valid) => {
1000
1000
  if (valid) {
1001
+ let loadingInstance = Loading.service({
1002
+ text: '请稍候',
1003
+ spinner: 'el-icon-loading',
1004
+ background: 'rgba(0, 0, 0, 0.7)',
1005
+ customClass: 'custom-loading-class'
1006
+ })
1001
1007
  if (this.form.shipmentId == null) {
1002
- let loadingInstance = Loading.service({
1003
- text: '请稍候',
1004
- spinner: 'el-icon-loading',
1005
- background: 'rgba(0, 0, 0, 0.7)',
1006
- customClass: 'custom-loading-class'
1007
- })
1008
1008
  addWithContainer(this.form).then((response) => {
1009
1009
  if (response.code == 200) {
1010
1010
  this.open = false
@@ -1028,6 +1028,8 @@ export default {
1028
1028
  })
1029
1029
  } else {
1030
1030
  updateWithContainer(this.form).then((res) => {
1031
+ loadingInstance.close()
1032
+ this.open = false
1031
1033
  this.$modal.msgSuccess('修改成功')
1032
1034
  this.$emit('refresh')
1033
1035
  })
@@ -1130,6 +1132,8 @@ export default {
1130
1132
  loadingInstance.close()
1131
1133
  })
1132
1134
  } else {
1135
+ loadingInstance.close()
1136
+ this.open = false
1133
1137
  this.$emit('openGenerateLive', { ...this.form, quoteType: this.contract.quoteType })
1134
1138
  }
1135
1139
  }
@@ -1,14 +1,14 @@
1
1
  <!--
2
2
  * @Author: zhangpengwei 15038779532@163.com
3
3
  * @Date: 2023-07-20 14:47:50
4
- * @LastEditors: zhangpengwei 15038779532@163.com
5
- * @LastEditTime: 2023-07-20 17:34:04
4
+ * @LastEditors: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
5
+ * @LastEditTime: 2024-04-12 11:10:46
6
6
  * @FilePath: /zpw-com-test/src/doctorscrap-components/test.vue
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
8
  -->
9
9
  <template>
10
10
  <div>
11
- <button @click.stop="jump">click</button>
11
+ <button @click.stop="jump"> click</button>
12
12
  </div>
13
13
  </template>
14
14