vue升级成3.2.34

master
yujialong 7 months ago
parent 68a17fad68
commit e7b21ece0b
  1. 196
      package-lock.json
  2. 2
      package.json
  3. 2
      src/views/product/afterLoan/1029/Index.vue
  4. 2
      src/views/product/afterLoan/1030/Index.vue
  5. 2
      src/views/product/afterLoan/1031/Index.vue
  6. 2
      src/views/product/afterLoan/1032/Index.vue
  7. 2
      src/views/product/afterLoan/1033/Index.vue
  8. 34
      src/views/product/bank/Add.vue
  9. 2
      src/views/product/bank/Config.vue
  10. 2
      src/views/product/bank/Info.vue
  11. 2
      src/views/product/interestRate/772/Index.vue
  12. 2
      src/views/product/interestRate/935/Index.vue
  13. 2
      src/views/product/interestRate/936/Detail.vue
  14. 2
      src/views/product/interestRate/936/Index.vue
  15. 2
      src/views/product/strategy/150/Index.vue
  16. 2
      src/views/product/strategy/151/Index.vue
  17. 2
      src/views/product/strategy/152/Index.vue
  18. 2
      src/views/product/strategy/153/Index.vue
  19. 2
      src/views/product/strategy/154/Index.vue
  20. 2
      src/views/product/strategy/155/Index.vue
  21. 2
      src/views/product/strategy/156/Index.vue
  22. 2
      src/views/product/strategy/512/Index.vue
  23. 2
      src/views/product/strategy/513/Index.vue

196
package-lock.json generated

@ -616,16 +616,16 @@
}
},
"@vue/compiler-sfc": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.25.tgz",
"integrity": "sha512-PminuOYIcFI7UZn+mdy2OPbogyAb0IHkVuqwmLDJiSRFhc/QAXQnO9KdS4nez3bQ9XlQmoAveQzcZuekHzdb5w==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.34.tgz",
"integrity": "sha512-I+vT4soKJtdsoREBDYAcz56+yGpZ5T3GUigvBFgC2yTeTtBtREOPzYw8kZyMuD2ZlryPYBkbV8D9xxcvU0j/aw==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.25",
"@vue/compiler-dom": "3.2.25",
"@vue/compiler-ssr": "3.2.25",
"@vue/reactivity-transform": "3.2.25",
"@vue/shared": "3.2.25",
"@vue/compiler-core": "3.2.34",
"@vue/compiler-dom": "3.2.34",
"@vue/compiler-ssr": "3.2.34",
"@vue/reactivity-transform": "3.2.34",
"@vue/shared": "3.2.34",
"estree-walker": "^2.0.2",
"magic-string": "^0.25.7",
"postcss": "^8.1.10",
@ -633,65 +633,65 @@
},
"dependencies": {
"@vue/compiler-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.25.tgz",
"integrity": "sha512-FlffKezIqztTCTyG0klkYRwhdyL6b1PTTCIerPb4p2R9qQaczccTX5g9ysi9w6tpLQ48a1WiXnFDJhWD7XoqwA==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.34.tgz",
"integrity": "sha512-Y53lv04ZhDfqflhk4yEgBZrCL1RipbxqmqJFfl1PRkjOzt0bvJpf1sCNN81QNfXohVwFGf+Hng2ztwLwOZgbuA==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.25",
"@vue/shared": "3.2.34",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
}
},
"@vue/compiler-dom": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.25.tgz",
"integrity": "sha512-4JrburkRg4VWbc8AKpzKFWbNY4MDXshqjFl53+vINq7zaw3Z7aSqnLv0EkKh8B8ynf/MYsAdygGutyVbEWYxOw==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.34.tgz",
"integrity": "sha512-MFLUYDgy0aES9x1goU/pgxpzgT9IZOndO8qwQVSyVfUvl/CywEBtfBi5+8fsiBDhoGIT7g8qcsUUF1NYViU2vQ==",
"requires": {
"@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.25"
"@vue/compiler-core": "3.2.34",
"@vue/shared": "3.2.34"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.34.tgz",
"integrity": "sha512-zhEeB8TrFmTXmTXmu/wcjEhgrjO4xqdDQrCdPhjX7NxfoLqoBVKguOm8qyihWNLbP+41svYY4za9mqXyqFLzNg=="
}
}
},
"@vue/compiler-ssr": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.25.tgz",
"integrity": "sha512-+BAl8U5D3JkGR6086PFx1BQQ5km3z9fT88hy/7lzf8i3vEDdPQodadnX2t6tndFjIux05MEKg43DeocOojT0mw==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.34.tgz",
"integrity": "sha512-zyaMdGJhxoA34ibWsXF7VH1PO5yrNB1MZg/ByRfXGM8JefGQaz+PpHvBy/5OI0ehEyhAyCb7279JdhYHacMZbw==",
"requires": {
"@vue/compiler-dom": "3.2.25",
"@vue/shared": "3.2.25"
"@vue/compiler-dom": "3.2.34",
"@vue/shared": "3.2.34"
},
"dependencies": {
"@vue/compiler-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.25.tgz",
"integrity": "sha512-FlffKezIqztTCTyG0klkYRwhdyL6b1PTTCIerPb4p2R9qQaczccTX5g9ysi9w6tpLQ48a1WiXnFDJhWD7XoqwA==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.34.tgz",
"integrity": "sha512-Y53lv04ZhDfqflhk4yEgBZrCL1RipbxqmqJFfl1PRkjOzt0bvJpf1sCNN81QNfXohVwFGf+Hng2ztwLwOZgbuA==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.25",
"@vue/shared": "3.2.34",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
}
},
"@vue/compiler-dom": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.25.tgz",
"integrity": "sha512-4JrburkRg4VWbc8AKpzKFWbNY4MDXshqjFl53+vINq7zaw3Z7aSqnLv0EkKh8B8ynf/MYsAdygGutyVbEWYxOw==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.34.tgz",
"integrity": "sha512-MFLUYDgy0aES9x1goU/pgxpzgT9IZOndO8qwQVSyVfUvl/CywEBtfBi5+8fsiBDhoGIT7g8qcsUUF1NYViU2vQ==",
"requires": {
"@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.25"
"@vue/compiler-core": "3.2.34",
"@vue/shared": "3.2.34"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.34.tgz",
"integrity": "sha512-zhEeB8TrFmTXmTXmu/wcjEhgrjO4xqdDQrCdPhjX7NxfoLqoBVKguOm8qyihWNLbP+41svYY4za9mqXyqFLzNg=="
}
}
},
@ -728,89 +728,89 @@
}
},
"@vue/reactivity-transform": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.25.tgz",
"integrity": "sha512-fOiW67PUalicMfMr4Sc9l8mUtkN7ZD+G1/zJV8blzQ8GEZSeRcJm11gqve6Ps623ju5YORu7V/Q1gZoOJ9WO4g==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.34.tgz",
"integrity": "sha512-OtsrL4/i6Md279pMhZ8wRijeDhPSdnXrH9wmqAcKDhVcp1L2kSWlgVVLa1jGIyyFYE806YiJNJiGBvXPGXMzxw==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.25",
"@vue/compiler-core": "3.2.34",
"@vue/shared": "3.2.34",
"estree-walker": "^2.0.2",
"magic-string": "^0.25.7"
},
"dependencies": {
"@vue/compiler-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.25.tgz",
"integrity": "sha512-FlffKezIqztTCTyG0klkYRwhdyL6b1PTTCIerPb4p2R9qQaczccTX5g9ysi9w6tpLQ48a1WiXnFDJhWD7XoqwA==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.34.tgz",
"integrity": "sha512-Y53lv04ZhDfqflhk4yEgBZrCL1RipbxqmqJFfl1PRkjOzt0bvJpf1sCNN81QNfXohVwFGf+Hng2ztwLwOZgbuA==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.25",
"@vue/shared": "3.2.34",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.34.tgz",
"integrity": "sha512-zhEeB8TrFmTXmTXmu/wcjEhgrjO4xqdDQrCdPhjX7NxfoLqoBVKguOm8qyihWNLbP+41svYY4za9mqXyqFLzNg=="
}
}
},
"@vue/runtime-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.25.tgz",
"integrity": "sha512-2+fo5+lofT4xr8W2rtjyz+AM+UB1U/UNLH6ISFdHWNWuveSWxF+vkCQaATmhp6O3XA7QJAbHoRqIZor20EWSfQ==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.34.tgz",
"integrity": "sha512-GtaHqYiuEb56OA0cbMh20UPpDiXGRX+NS1buKif4OL341JJ3NtmNOIchCzknaN76oN6KqrLiO82/+TEZXl2Xtw==",
"requires": {
"@vue/reactivity": "3.2.25",
"@vue/shared": "3.2.25"
"@vue/reactivity": "3.2.34",
"@vue/shared": "3.2.34"
},
"dependencies": {
"@vue/reactivity": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.25.tgz",
"integrity": "sha512-Dxc/u/dxoneIDqyfmuwPVBR0G3OQJqe3Dtz4z3NGt+CGj4UuOZQfN5raJPmp6xGYgrtC6PAWoCgHhyrgr1qCtg==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.34.tgz",
"integrity": "sha512-xbRIOPqxdNOr0zS47moRS6zf4BKd0z+55R85UJlo4r5ezqCktk6fYy1atY4tGzo7Maqh6QoKw3LtIKvpz8d7WA==",
"requires": {
"@vue/shared": "3.2.25"
"@vue/shared": "3.2.34"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.34.tgz",
"integrity": "sha512-zhEeB8TrFmTXmTXmu/wcjEhgrjO4xqdDQrCdPhjX7NxfoLqoBVKguOm8qyihWNLbP+41svYY4za9mqXyqFLzNg=="
}
}
},
"@vue/runtime-dom": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.25.tgz",
"integrity": "sha512-3gGeyHnygn4yG6bssRKhQIxnE8vgB8FtYUUwoYoA/Pm0vZ+bGPoZax4TbtZD9eW9rvs8CY8boNp4t/sJaPJrRQ==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.34.tgz",
"integrity": "sha512-uqizbaJqmNH3O4TRr+8cM1tid5ODWHyQYZ3CLWcjn3dLkf0N7wvNuhUELQUZU/wQLvVMhJUQNrmOqckHLm6Xpw==",
"requires": {
"@vue/runtime-core": "3.2.25",
"@vue/shared": "3.2.25",
"@vue/runtime-core": "3.2.34",
"@vue/shared": "3.2.34",
"csstype": "^2.6.8"
},
"dependencies": {
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.34.tgz",
"integrity": "sha512-zhEeB8TrFmTXmTXmu/wcjEhgrjO4xqdDQrCdPhjX7NxfoLqoBVKguOm8qyihWNLbP+41svYY4za9mqXyqFLzNg=="
}
}
},
"@vue/server-renderer": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.25.tgz",
"integrity": "sha512-qFRmcyeyyhWbnTPn6cbCZ4bjeuPLSkUpFa98p4LEJtFBFbxjGnrHXHOjYxCY3Lznmxe0kMM3qG4t3GnjcXP12w==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.34.tgz",
"integrity": "sha512-PMnBAq1BexPFXBxuLngp4lQvc0XQD1CBDIHtEsG0pRusGWVJddBUKlR/EnnSvGaJ34YmKkAl9kdvczOz0kddew==",
"requires": {
"@vue/compiler-ssr": "3.2.25",
"@vue/shared": "3.2.25"
"@vue/compiler-ssr": "3.2.34",
"@vue/shared": "3.2.34"
},
"dependencies": {
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.34.tgz",
"integrity": "sha512-zhEeB8TrFmTXmTXmu/wcjEhgrjO4xqdDQrCdPhjX7NxfoLqoBVKguOm8qyihWNLbP+41svYY4za9mqXyqFLzNg=="
}
}
},
@ -5800,41 +5800,41 @@
}
},
"vue": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.2.25.tgz",
"integrity": "sha512-jU3t7fyQDHoCWCqhmRrnSmYZvHC35tOJTP704di7HGfq5EcFA1cU/1ZPjUV1eCxJev65Khjyfni+vk9oa+eTtw==",
"requires": {
"@vue/compiler-dom": "3.2.25",
"@vue/compiler-sfc": "3.2.25",
"@vue/runtime-dom": "3.2.25",
"@vue/server-renderer": "3.2.25",
"@vue/shared": "3.2.25"
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.2.34.tgz",
"integrity": "sha512-gXRg5v8OSmGT4ZiQ/X/Pcz6Fr2igHQx/wvRH/pLnt0VvjfGGqrwhnwjYZilLP4HBcO211rMD9PpU6lfWfIv3wg==",
"requires": {
"@vue/compiler-dom": "3.2.34",
"@vue/compiler-sfc": "3.2.34",
"@vue/runtime-dom": "3.2.34",
"@vue/server-renderer": "3.2.34",
"@vue/shared": "3.2.34"
},
"dependencies": {
"@vue/compiler-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.25.tgz",
"integrity": "sha512-FlffKezIqztTCTyG0klkYRwhdyL6b1PTTCIerPb4p2R9qQaczccTX5g9ysi9w6tpLQ48a1WiXnFDJhWD7XoqwA==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.34.tgz",
"integrity": "sha512-Y53lv04ZhDfqflhk4yEgBZrCL1RipbxqmqJFfl1PRkjOzt0bvJpf1sCNN81QNfXohVwFGf+Hng2ztwLwOZgbuA==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.25",
"@vue/shared": "3.2.34",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
}
},
"@vue/compiler-dom": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.25.tgz",
"integrity": "sha512-4JrburkRg4VWbc8AKpzKFWbNY4MDXshqjFl53+vINq7zaw3Z7aSqnLv0EkKh8B8ynf/MYsAdygGutyVbEWYxOw==",
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.34.tgz",
"integrity": "sha512-MFLUYDgy0aES9x1goU/pgxpzgT9IZOndO8qwQVSyVfUvl/CywEBtfBi5+8fsiBDhoGIT7g8qcsUUF1NYViU2vQ==",
"requires": {
"@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.25"
"@vue/compiler-core": "3.2.34",
"@vue/shared": "3.2.34"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
"version": "3.2.34",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.34.tgz",
"integrity": "sha512-zhEeB8TrFmTXmTXmu/wcjEhgrjO4xqdDQrCdPhjX7NxfoLqoBVKguOm8qyihWNLbP+41svYY4za9mqXyqFLzNg=="
}
}
},

@ -24,7 +24,7 @@
"nprogress": "^0.2.0",
"path-to-regexp": "^6.2.0",
"tinymce": "^5.9.2",
"vue": "^3.2.25",
"vue": "^3.2.34",
"vue-i18n": "^9.2.0-beta.30",
"vue-router": "^4.0.12",
"vuedraggable": "^4.1.0"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '五级分类策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '贷后检查策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '贷后评分策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '贷后预警策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '贷后催收策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -36,7 +36,7 @@
required>
<div class="flex-1">
<!-- 企业 -->
<template v-if="form.productType">
<template v-if="productType">
<div class="flex items-center">
<span class="mr-3 text-[#333] text-sm">企业类型</span>
<el-select v-model="form.productObject"
@ -151,7 +151,7 @@
<div class="flex-1">
<p class="field-name">选择本产品贷款资金的用途</p>
<el-radio-group v-model="form.loanPurpose">
<template v-if="form.productType">
<template v-if="productType">
<el-radio v-for="(item, i) in config.find((e) => e.name === '企业产品-贷款用途')?.subject?.itemList"
:key="i"
:label="item.itemId">{{ item.options }}</el-radio>
@ -315,7 +315,7 @@
label="产品详情"
name="tab2">
<div class="h-[calc(100vh-170px)] pr-1 overflow-auto">
<info v-model:tab="curTab" />
<info />
</div>
</el-tab-pane>
</el-tabs>
@ -357,7 +357,7 @@ interface RuleForm {
modeRepayment?: number[];
otherPurposesOfLoan: string;
productObject?: number;
productType: number;
productType?: number;
providentFundAndSocialSecurity: number | string;
whetherToSupportEarlyRepayment: boolean;
creditSelectedStatus?: number;
@ -369,12 +369,14 @@ interface RuleForm {
const router = useRouter();
const route = useRoute();
const id = computed(() => route.query.id);
const productType = +route.query.type;
const curTab = ref<string>(route.query.show ? 'tab2' : 'tab1');
const config = ref<any[]>([]);
const info = ref<Record<string, any>>(null);
const formRef = ref<FormInstance>();
const userName = ref<string>();
let form = reactive<RuleForm>({
...getIds(),
productDefinition: '',
@ -398,7 +400,7 @@ let form = reactive<RuleForm>({
modeRepayment: [],
otherPurposesOfLoan: '',
productObject: '',
productType: computed(() => +route.query.type),
productType: '',
providentFundAndSocialSecurity: '',
whetherToSupportEarlyRepayment: false,
creditSelectedStatus: '',
@ -415,7 +417,7 @@ const rules = reactive<FormRules<RuleForm>>({
//
const getConfig = async () => {
const { process } = await getProcessInformationBasedOnRoles(form.productType === 1 ? 45 : 44);
const { process } = await getProcessInformationBasedOnRoles(productType === 1 ? 45 : 44);
config.value = process;
};
//
@ -444,7 +446,11 @@ const getDetail = async () => {
n.guaranteeTypeId && e.bankGuaranteeTypeIds.push(n.guaranteeTypeId);
});
}
form = Object.assign(form, e);
for (const i in e) {
if (e.hasOwnProperty(i)) {
form[i] = e[i];
}
}
}
} finally {
}
@ -463,8 +469,8 @@ watch(
//
const addRecord = async (data: Record<string, any>) => {
getStat(299);
const isEnterprise = data.productType === 1;
const preIds = `1,${Cookies.get('sand-level')},41,${data.productType ? 45 : 44}`; // 1id/44/45
const isEnterprise = productType === 1;
const preIds = `1,${Cookies.get('sand-level')},41,${productType ? 45 : 44}`; // 1id/44/45
const lcRule: Array<Record<string, any>> = [
handleId(48, 1, data.productDefinition, preIds + ',48', 3),
handleId(49, 2, data.productName, preIds + ',49', 3),
@ -525,12 +531,11 @@ const submit = async (formEl: FormInstance | undefined) => {
if (valid) {
try {
const param = JSON.parse(JSON.stringify(form));
//
if (param.productType) {
if (productType) {
if (!param.productObject) return ElMessage.error('请选择企业类型');
}
if ((!param.productType && param.ageSelectedState === 795) || param.productType) {
if ((!param.productType && param.ageSelectedState === 795) || productType) {
if (!param.minimumAge) return ElMessage.error('请输入最小年龄');
if (!param.maximumAge) return ElMessage.error('请输入最大年龄');
if (isIllegalNum(param.minimumAge) || isIllegalNum(param.maximumAge)) return ElMessage.error('请输入合理的年龄');
@ -538,7 +543,7 @@ const submit = async (formEl: FormInstance | undefined) => {
}
//
if (!param.productType) {
if (!productType) {
if (param.degreeSelectedStatus === 795 && !param.educationalRequirements.length) return ElMessage.error('请选择学历要求');
if (param.workingLifeSelectedState === 795 && !param.currentWorkingLife.length) return ElMessage.error('请选择工作年限');
}
@ -548,7 +553,7 @@ const submit = async (formEl: FormInstance | undefined) => {
if (isIllegalNum(param.minimumTermOfLoan) || isIllegalNum(param.maximumTermOfLoan) || +param.minimumTermOfLoan > +param.maximumTermOfLoan)
return ElMessage.error('请输入合理的贷款期限');
if (!param.productType && param.ageSelectedState !== 795) {
if (!productType && param.ageSelectedState !== 795) {
param.minimumAge = '';
param.maximumAge = '';
}
@ -591,6 +596,7 @@ const submit = async (formEl: FormInstance | undefined) => {
}
});
param.addBankProductsGuarantyStyleReqList = graIds;
param.productType = productType;
let res;
if (id.value) {
param.id = id.value;

@ -625,7 +625,7 @@
<el-drawer v-model="visible"
:title="curPreviewTitle"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<component v-if="loadedComponents[activeComponent]"
:is="loadedComponents[activeComponent]"
v-model:row="curRow"

@ -201,7 +201,7 @@
<el-drawer v-model="visible"
:title="curPreviewTitle"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<component v-if="loadedComponents[activeComponent]"
:is="loadedComponents[activeComponent]"
v-model:row="curRow"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.id ? '编辑' : '新增') + '个人额度模型'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.id ? '编辑' : '新增') + '个人利率模型'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -146,7 +146,7 @@ const form = ref<Record<string, any>>({
const formProcess = ref<Record<string, any>[]>([]);
const info = ref<Record<string, any>[]>([]);
//
const answer = ['', 667, 669, '', 665, '', 669, 668];
const answer = ['', 667, 666, '', 665, '', 669, 668];
const syncVisible = ref<boolean>(false);
const bankIds = ref<Record<string, any>[]>([]);
//

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.id ? '编辑' : '新增') + '企业利率模型'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '政务黑名单策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '征信黑名单策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '商采黑名单策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '行内黑名单策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -83,7 +83,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '企业黑名单策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -83,7 +83,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '反欺诈策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -83,7 +83,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.strategyId ? '编辑' : '新增') + '负面行业黑名单策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.id ? '编辑' : '新增') + '个人信用评分策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

@ -82,7 +82,7 @@
<el-drawer v-model="visible"
:title="(isDetail ? '查看' : curRow.id ? '编辑' : '新增') + '企业信用评分策略'"
size="100%"
custom-class="model-drawer">
class="model-drawer">
<Detail v-model:row="curRow"
:disabled="isDetail"
:key="i"

Loading…
Cancel
Save