element-plus升级至2.4.3

master
yujialong 7 months ago
parent 4967b00c9b
commit 9f41401a10
  1. 144
      package-lock.json
  2. 2
      package.json
  3. 3
      src/components/Panel/index.vue
  4. 4
      src/styles/index.scss
  5. 9
      src/views/product/afterLoan/1029/Index.vue
  6. 9
      src/views/product/afterLoan/1030/Index.vue
  7. 9
      src/views/product/afterLoan/1031/Index.vue
  8. 9
      src/views/product/afterLoan/1032/Index.vue
  9. 9
      src/views/product/afterLoan/1033/Index.vue
  10. 8
      src/views/product/bank/Config.vue
  11. 15
      src/views/product/bank/List.vue
  12. 6
      src/views/product/fund/List.vue
  13. 6
      src/views/product/insurance/List.vue
  14. 9
      src/views/product/interestRate/772/Index.vue
  15. 9
      src/views/product/interestRate/935/Index.vue
  16. 9
      src/views/product/interestRate/936/Index.vue
  17. 9
      src/views/product/strategy/150/Index.vue
  18. 9
      src/views/product/strategy/151/Index.vue
  19. 9
      src/views/product/strategy/152/Index.vue
  20. 9
      src/views/product/strategy/153/Index.vue
  21. 9
      src/views/product/strategy/154/Index.vue
  22. 9
      src/views/product/strategy/155/Index.vue
  23. 9
      src/views/product/strategy/156/Index.vue
  24. 4
      src/views/product/strategy/512/Detail.vue
  25. 9
      src/views/product/strategy/512/Index.vue
  26. 70
      src/views/product/strategy/513/Detail.vue
  27. 9
      src/views/product/strategy/513/Index.vue

144
package-lock.json generated

@ -52,9 +52,9 @@
} }
}, },
"@ctrl/tinycolor": { "@ctrl/tinycolor": {
"version": "3.4.0", "version": "3.6.1",
"resolved": "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.4.0.tgz", "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz",
"integrity": "sha512-JZButFdZ1+/xAfpguQHoabIXkcqRRKpMrWKBkpEZZyxfY9C1DpADFB8PEqGSTeFr135SaTRfKqGKx5xSCLI7ZQ==" "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA=="
}, },
"@element-plus/icons-vue": { "@element-plus/icons-vue": {
"version": "0.2.7", "version": "0.2.7",
@ -85,6 +85,28 @@
"integrity": "sha512-8HqW8EVqjnCmWXVpqAOZf+EGESdkR27odcMMMGefgKXtar00SoYNSryGv//TELI4T3QFsECo78p+0lmalk/CFA==", "integrity": "sha512-8HqW8EVqjnCmWXVpqAOZf+EGESdkR27odcMMMGefgKXtar00SoYNSryGv//TELI4T3QFsECo78p+0lmalk/CFA==",
"dev": true "dev": true
}, },
"@floating-ui/core": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.1.tgz",
"integrity": "sha512-42UH54oPZHPdRHdw6BgoBD6cg/eVTmVrFcgeRDM3jbO7uxSoipVcmcIGFcA5jmOHO5apcyvBhkSKES3fQJnu7A==",
"requires": {
"@floating-ui/utils": "^0.2.0"
}
},
"@floating-ui/dom": {
"version": "1.6.5",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.5.tgz",
"integrity": "sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==",
"requires": {
"@floating-ui/core": "^1.0.0",
"@floating-ui/utils": "^0.2.0"
}
},
"@floating-ui/utils": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz",
"integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw=="
},
"@intlify/bundle-utils": { "@intlify/bundle-utils": {
"version": "2.2.0", "version": "2.2.0",
"resolved": "https://registry.npmmirror.com/@intlify/bundle-utils/-/bundle-utils-2.2.0.tgz", "resolved": "https://registry.npmmirror.com/@intlify/bundle-utils/-/bundle-utils-2.2.0.tgz",
@ -207,9 +229,9 @@
} }
}, },
"@popperjs/core": { "@popperjs/core": {
"version": "2.11.2", "version": "npm:@sxzz/popperjs-es@2.11.7",
"resolved": "https://registry.npmmirror.com/@popperjs/core/-/core-2.11.2.tgz", "resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz",
"integrity": "sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==" "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ=="
}, },
"@rollup/pluginutils": { "@rollup/pluginutils": {
"version": "4.1.2", "version": "4.1.2",
@ -285,8 +307,15 @@
"@types/lodash": { "@types/lodash": {
"version": "4.14.178", "version": "4.14.178",
"resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.178.tgz", "resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.178.tgz",
"integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==", "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw=="
"dev": true },
"@types/lodash-es": {
"version": "4.17.12",
"resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz",
"integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==",
"requires": {
"@types/lodash": "*"
}
}, },
"@types/node": { "@types/node": {
"version": "17.0.17", "version": "17.0.17",
@ -315,6 +344,11 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"@types/web-bluetooth": {
"version": "0.0.16",
"resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz",
"integrity": "sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ=="
},
"@typescript-eslint/eslint-plugin": { "@typescript-eslint/eslint-plugin": {
"version": "4.33.0", "version": "4.33.0",
"resolved": "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz", "resolved": "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz",
@ -796,18 +830,25 @@
} }
}, },
"@vueuse/core": { "@vueuse/core": {
"version": "7.6.1", "version": "9.13.0",
"resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-7.6.1.tgz", "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-9.13.0.tgz",
"integrity": "sha512-492y7R9HRu6TXzcGBMVG5qg5o9CHjrWLfOHh+TEknJeLe3LIYHsIBi1IlUN5s/yP3OHlBynjrzMMUm4gEyBmQg==", "integrity": "sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==",
"requires": { "requires": {
"@vueuse/shared": "7.6.1", "@types/web-bluetooth": "^0.0.16",
"@vueuse/metadata": "9.13.0",
"@vueuse/shared": "9.13.0",
"vue-demi": "*" "vue-demi": "*"
} }
}, },
"@vueuse/metadata": {
"version": "9.13.0",
"resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-9.13.0.tgz",
"integrity": "sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ=="
},
"@vueuse/shared": { "@vueuse/shared": {
"version": "7.6.1", "version": "9.13.0",
"resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-7.6.1.tgz", "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-9.13.0.tgz",
"integrity": "sha512-VhURBjuyELYLW94TLqwyM+tUZ0uyWAOjp8zDnJts5wwyHZlGt/yabLbuEl70cKmt0zR9psVyAyHC+LTgRrA1Zw==", "integrity": "sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==",
"requires": { "requires": {
"vue-demi": "*" "vue-demi": "*"
} }
@ -1039,9 +1080,9 @@
"dev": true "dev": true
}, },
"async-validator": { "async-validator": {
"version": "4.0.7", "version": "4.2.5",
"resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-4.0.7.tgz", "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz",
"integrity": "sha512-Pj2IR7u8hmUEDOwB++su6baaRi+QvsgajuFB9j95foM1N2gy5HM4z60hfusIO0fBPG5uLAEl6yCJr1jNSVugEQ==" "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg=="
}, },
"autoprefixer": { "autoprefixer": {
"version": "10.4.2", "version": "10.4.2",
@ -1720,21 +1761,42 @@
"dev": true "dev": true
}, },
"element-plus": { "element-plus": {
"version": "2.0.2", "version": "2.4.3",
"resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.0.2.tgz", "resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.4.3.tgz",
"integrity": "sha512-URjC0HwwiqtlLxqTmHXQ31WXrdAq4ChWyyn52OcQs3PRsnMPfahGVq2AWnfzzlzlhVeI5lY3HQiuB1zDathS+g==", "integrity": "sha512-b3q26j+lM4SBqiyzw8HybybGnP2pk4MWgrnzzzYW5qKQUgV6EG1Zg7nMCfgCVccI8tNvZoTiUHb2mFaiB9qT8w==",
"requires": { "requires": {
"@ctrl/tinycolor": "^3.4.0", "@ctrl/tinycolor": "^3.4.1",
"@element-plus/icons-vue": "^0.2.6", "@element-plus/icons-vue": "^2.3.1",
"@popperjs/core": "^2.11.2", "@floating-ui/dom": "^1.0.1",
"@vueuse/core": "^7.6.0", "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7",
"async-validator": "^4.0.7", "@types/lodash": "^4.14.182",
"dayjs": "^1.10.7", "@types/lodash-es": "^4.17.6",
"@vueuse/core": "^9.1.0",
"async-validator": "^4.2.5",
"dayjs": "^1.11.3",
"escape-html": "^1.0.3",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"lodash-unified": "^1.0.1", "lodash-unified": "^1.0.2",
"memoize-one": "^6.0.0", "memoize-one": "^6.0.0",
"normalize-wheel-es": "^1.1.1" "normalize-wheel-es": "^1.2.0"
},
"dependencies": {
"@element-plus/icons-vue": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.3.1.tgz",
"integrity": "sha512-XxVUZv48RZAd87ucGS48jPf6pKu0yV5UCg9f4FFwtrYxXOwWuVJo6wOvSLKEoMQKjv8GsX/mhP6UsC1lRwbUWg=="
},
"@types/lodash": {
"version": "4.17.1",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.1.tgz",
"integrity": "sha512-X+2qazGS3jxLAIz5JDXDzglAF3KpijdhFxlf/V1+hEsOUc+HnWi81L/uv/EvGuV90WY+7mPGFCUDGfQC3Gj95Q=="
},
"dayjs": {
"version": "1.11.11",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz",
"integrity": "sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg=="
}
} }
}, },
"emmet": { "emmet": {
@ -3369,13 +3431,13 @@
}, },
"lodash-es": { "lodash-es": {
"version": "4.17.21", "version": "4.17.21",
"resolved": "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz", "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
"integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw=="
}, },
"lodash-unified": { "lodash-unified": {
"version": "1.0.1", "version": "1.0.3",
"resolved": "https://registry.npmmirror.com/lodash-unified/-/lodash-unified-1.0.1.tgz", "resolved": "https://registry.npmjs.org/lodash-unified/-/lodash-unified-1.0.3.tgz",
"integrity": "sha512-Py+twfpWn+2dFQWCuGcp21WiQRwZwnm1cyE3piSt/VtBVKVyxlR58WgOVRzXtmdmDRGJKH8F8GPaA29WK/yK8g==" "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ=="
}, },
"lodash.clonedeep": { "lodash.clonedeep": {
"version": "4.5.0", "version": "4.5.0",
@ -3513,7 +3575,7 @@
}, },
"memoize-one": { "memoize-one": {
"version": "6.0.0", "version": "6.0.0",
"resolved": "https://registry.npmmirror.com/memoize-one/-/memoize-one-6.0.0.tgz", "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz",
"integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==" "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw=="
}, },
"merge-descriptors": { "merge-descriptors": {
@ -3818,9 +3880,9 @@
"dev": true "dev": true
}, },
"normalize-wheel-es": { "normalize-wheel-es": {
"version": "1.1.1", "version": "1.2.0",
"resolved": "https://registry.npmmirror.com/normalize-wheel-es/-/normalize-wheel-es-1.1.1.tgz", "resolved": "https://registry.npmjs.org/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz",
"integrity": "sha512-157VNH4CngrcsvF8xOVOe22cwniIR3nxSltdctvQeHZj8JttEeOXffK28jucWfWBXs0QNetAumjc1GiInnwX4w==" "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw=="
}, },
"nprogress": { "nprogress": {
"version": "0.2.0", "version": "0.2.0",
@ -5777,9 +5839,9 @@
} }
}, },
"vue-demi": { "vue-demi": {
"version": "0.12.1", "version": "0.14.7",
"resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.12.1.tgz", "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz",
"integrity": "sha512-QL3ny+wX8c6Xm1/EZylbgzdoDolye+VpCXRhI2hug9dJTP3OUJ3lmiKN3CsVV3mOJKwFi0nsstbgob0vG7aoIw==" "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA=="
}, },
"vue-eslint-parser": { "vue-eslint-parser": {
"version": "7.11.0", "version": "7.11.0",

@ -17,7 +17,7 @@
"core-js": "^3.21.0", "core-js": "^3.21.0",
"cropperjs": "^1.5.12", "cropperjs": "^1.5.12",
"dayjs": "^1.10.7", "dayjs": "^1.10.7",
"element-plus": "^2.0.2", "element-plus": "^2.4.3",
"js-cookie": "^3.0.1", "js-cookie": "^3.0.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mavon-editor": "^2.10.4", "mavon-editor": "^2.10.4",

@ -991,7 +991,7 @@ onUnmounted(() => {
.el-input { .el-input {
padding: 10px 0; padding: 10px 0;
} }
.el-input--suffix .el-input__inner { .el-input--suffix .el-input__wrapper {
height: 40px !important; height: 40px !important;
padding-right: 50px; padding-right: 50px;
margin-left: 15px; margin-left: 15px;
@ -1003,6 +1003,7 @@ onUnmounted(() => {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
box-shadow: none;
} }
} }
.panel { .panel {

@ -125,7 +125,7 @@ body {
.el-input { .el-input {
@apply lg:text-xs; @apply lg:text-xs;
} }
.el-input__inner { .el-input__wrapper {
@apply px-2; @apply px-2;
} }
} }
@ -138,7 +138,7 @@ body {
} }
.el-select { .el-select {
@apply w-[170px]; @apply w-[170px];
.el-input__inner { .el-input__wrapper {
@apply pl-[41px] rounded-[18px] border-[#dfe9f8]; @apply pl-[41px] rounded-[18px] border-[#dfe9f8];
} }
} }

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -9,7 +9,6 @@
label-suffix=":" label-suffix=":"
class="form h-[calc(100vh-230px)] pr-1 overflow-auto" class="form h-[calc(100vh-230px)] pr-1 overflow-auto"
status-icon> status-icon>
<!-- <div class="h-[calc(100vh-170px)] pr-1 overflow-auto"> -->
<div class="step"> <div class="step">
<h6 class="step-name mb-7">办理账户</h6> <h6 class="step-name mb-7">办理账户</h6>
<el-form-item label="提供材料" <el-form-item label="提供材料"
@ -251,6 +250,13 @@
:key="i" :key="i"
:label="option.strategyName" :label="option.strategyName"
:value="option.strategyId" /> :value="option.strategyId" />
<!-- <template #footer>
<el-button text
bg
size="small">
Add an option
</el-button>
</template> -->
</el-select> </el-select>
<img v-if="form.bankRiskControlAllocationTacticsList[i].tacticsId" <img v-if="form.bankRiskControlAllocationTacticsList[i].tacticsId"

@ -97,28 +97,33 @@
min-width="110"> min-width="110">
<template #default="{ row }"> <template #default="{ row }">
<el-button v-if="row.showDetailsOrNot" <el-button v-if="row.showDetailsOrNot"
type="text" type="primary"
link
@click="toDetail(`/product/bank/detail`, row)" @click="toDetail(`/product/bank/detail`, row)"
size="small">产品详情</el-button> size="small">产品详情</el-button>
<el-button v-if="row.showElementsOrNot" <el-button v-if="row.showElementsOrNot"
type="text" type="primary"
link
size="small" size="small"
@click="toDetail(`/product/bank/add`, row)">配置要素</el-button> @click="toDetail(`/product/bank/add`, row)">配置要素</el-button>
<el-button v-if="row.showRiskControlOrNot" <el-button v-if="row.showRiskControlOrNot"
type="text" type="primary"
link
size="small" size="small"
@click="toDetail(`/product/bank/config`, row)">配置风控</el-button> @click="toDetail(`/product/bank/config`, row)">配置风控</el-button>
<el-popconfirm v-if="row.showDeleteOrNot" <el-popconfirm v-if="row.showDeleteOrNot"
title="您确定删除吗?" title="您确定删除吗?"
@confirm.stop="handleDelete(row.id)"> @confirm.stop="handleDelete(row.id)">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small" size="small"
@click.stop="stop">删除</el-button> @click.stop="stop">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>
<el-button v-if="row.showApprovalOrNot" <el-button v-if="row.showApprovalOrNot"
type="text" type="primary"
link
size="small" size="small"
@click="toDetail(`/product/bank/approve`, row)">审批</el-button> @click="toDetail(`/product/bank/approve`, row)">审批</el-button>
</template></el-table-column> </template></el-table-column>

@ -52,11 +52,13 @@
<el-popconfirm title="您确定删除吗?" <el-popconfirm title="您确定删除吗?"
@confirm.stop="handleDelete(row.id)"> @confirm.stop="handleDelete(row.id)">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>
<el-button type="text" <el-button type="primary"
link
@click="toDetail(`/product/fund/detail`, row.id)" @click="toDetail(`/product/fund/detail`, row.id)"
size="small">产品详情</el-button> size="small">产品详情</el-button>
</template></el-table-column> </template></el-table-column>

@ -79,12 +79,14 @@
<el-popconfirm title="您确定删除吗?" <el-popconfirm title="您确定删除吗?"
@confirm.stop="handleDelete(row.insuranceId)"> @confirm.stop="handleDelete(row.insuranceId)">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small" size="small"
@click.stop="stop">删除</el-button> @click.stop="stop">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>
<el-button type="text" <el-button type="primary"
link
@click="toDetail(`/product/insurance/detail`, row.insuranceId)" @click="toDetail(`/product/insurance/detail`, row.insuranceId)"
size="small">产品详情</el-button> size="small">产品详情</el-button>
</template></el-table-column> </template></el-table-column>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.id])"> @confirm.stop="handleDelete([row.id])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.id])"> @confirm.stop="handleDelete([row.id])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.id])"> @confirm.stop="handleDelete([row.id])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,18 +47,21 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,18 +47,21 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -47,18 +47,21 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.strategyId])"> @confirm.stop="handleDelete([row.strategyId])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -112,9 +112,9 @@ const bankIds = ref<Record<string, any>[]>([]);
// //
const getConfig = async () => { const getConfig = async () => {
const { process } = await getProcessInformationBasedOnRoles(148); const { process } = await getProcessInformationBasedOnRoles(512);
const result = []; const result = [];
process[0]?.recordChildren.slice(3).forEach((e, j) => { process.slice(3).forEach((e, j) => {
e?.recordChildren.forEach((n, i) => { e?.recordChildren.forEach((n, i) => {
if (i) { if (i) {
const cur = !form.scoringObject && detail.value[j]; const cur = !form.scoringObject && detail.value[j];

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.id])"> @confirm.stop="handleDelete([row.id])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

@ -173,9 +173,9 @@ const bankIds = ref<Record<string, any>[]>([]);
// //
const getConfig = async () => { const getConfig = async () => {
const { process } = await getProcessInformationBasedOnRoles(148); const { process } = await getProcessInformationBasedOnRoles(513);
const result = []; const result = [];
process[1]?.recordChildren.slice(3).forEach((e, j) => { process.slice(3).forEach((e, j) => {
result.push({ result.push({
answerId1: e.id, answerId1: e.id,
dimensionId: '', dimensionId: '',
@ -184,40 +184,38 @@ const getConfig = async () => {
top: 1, top: 1,
}); });
e?.recordChildren.forEach((n, i) => { e?.recordChildren.forEach((n, i) => {
if (i) { let temp = {
let temp = { answerId1: e.id,
answerId1: e.id, answerId2: n.id,
answerId2: n.id, innerId: n?.recordChildren[1]?.id,
innerId: n?.recordChildren[1]?.id, id: '',
id: '', dimensionId: '',
dimensionId: '', name: e.name,
name: e.name, sub: n.name,
sub: n.name, index: n?.recordChildren[1]?.name,
index: n?.recordChildren[1]?.name, subject: n?.recordChildren[1]?.subject,
subject: n?.recordChildren[1]?.subject, remark: n.remark,
remark: n.remark, isChoose: '',
isChoose: '', calculationFormula: '',
calculationFormula: '', score: '',
score: '', percentage: '',
percentage: '', span: i === 1 ? 1 : 0,
span: i === 1 ? 1 : 0, middle: 1, //
middle: 1, // recordChildren: n?.recordChildren,
recordChildren: n?.recordChildren, };
}; result.push(temp);
result.push(temp); if (e.id === 589 || e.id === 594) {
if (e.id === 589 || e.id === 594) { n?.recordChildren.forEach((m, o) => {
n?.recordChildren.forEach((m, o) => { if (o > 1) {
if (o > 1) { temp = JSON.parse(JSON.stringify(temp));
temp = JSON.parse(JSON.stringify(temp)); temp.innerId = m.id;
temp.innerId = m.id; temp.parent = i;
temp.parent = i; temp.index = m.name;
temp.index = m.name; temp.subject = m.subject;
temp.subject = m.subject; delete temp.middle;
delete temp.middle; result.push(temp);
result.push(temp); }
} });
});
}
} }
}); });
}); });

@ -47,17 +47,20 @@
<el-table-column label="操作" <el-table-column label="操作"
width="140"> width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row, true)" @click="toDetail(row, true)"
size="small">查看</el-button> size="small">查看</el-button>
<template v-if="!row.builtIn"> <template v-if="!row.builtIn">
<el-button type="text" <el-button type="primary"
link
@click="toDetail(row)" @click="toDetail(row)"
size="small">编辑</el-button> size="small">编辑</el-button>
<el-popconfirm title="确定删除这条策略吗?" <el-popconfirm title="确定删除这条策略吗?"
@confirm.stop="handleDelete([row.id])"> @confirm.stop="handleDelete([row.id])">
<template #reference> <template #reference>
<el-button type="text" <el-button type="primary"
link
size="small">删除</el-button> size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>

Loading…
Cancel
Save