| | |
| | | :placeholder="key_select.text" |
| | | > |
| | | <el-option |
| | | v-for="(key_option, index_option) in filters.get(key_select.key)" |
| | | v-for="(key_option) in filters.get(key_select.key)" |
| | | :key="key_option.key" |
| | | :value="key_option.value" |
| | | :label="key_option.label" |
| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | if (this.defaultFile == undefined || this.defaultFile == null) { |
| | | this.defaultFile = []; |
| | | } |
| | | if (this.subtask) { |
| | | this.getAllImgList(); |
| | | } |
| | |
| | | if (this.readonly) { |
| | | return; |
| | | } |
| | | img.isSelect = !Boolean(img.isSelect); |
| | | img.isSelect = !img.isSelect; |
| | | }, |
| | | sendSelectedImg(isOk) { |
| | | let result = []; |
| | | if (!Boolean(isOk)) { |
| | | if (!isOk) { |
| | | this.$emit('selectByAnyPhonoEvent', result); |
| | | } |
| | | for (const item of this.imgUrlList) { |
| | |
| | | } |
| | | |
| | | .btns { |
| | | height: 10%; |
| | | /* height: 10%; */ |
| | | } |
| | | /* |
| | | .img_types { |
| | |
| | | } */ |
| | | |
| | | .imgs { |
| | | height: 370px; |
| | | height: 650px; |
| | | width: 90%; |
| | | min-height: 100px !important; |
| | | /* border-style:solid; |
| | |
| | | padding: 5px; |
| | | } |
| | | |
| | | .el-dialog__body { |
| | | ::v-deep .el-dialog__body { |
| | | height: 60vh; |
| | | padding: 10px calc(var(--el-dialog-padding-primary) + 10px) !important; |
| | | } |
| | | </style> |