[update] 修改标准选择组件,删除文档库,修改个人中心和企标中标准号跳转

This commit is contained in:
lideqin
2023-09-14 15:17:09 +08:00
parent a1e4a12ff6
commit 05a0c929d6
20 changed files with 52 additions and 2178 deletions
+3 -2
View File
@@ -247,6 +247,7 @@
</template>
<script>
import '@assets/less/common.less'
import JDictSelectTag from '../dict/JDictSelectTag'
import JMultiSelectTag from '../dict/JMultiSelectTag'
import UploadFile from '../UploadFile'
@@ -463,7 +464,7 @@ export default {
},
// 标准选择变化
standardSelectionChange (value, id) {
this.formInline[value + '_id'] = id
this.formInline[value + '_by'] = id
this.formInline = { ...this.formInline }
},
// 选择用户得到用户名
@@ -499,7 +500,7 @@ export default {
</script>
<style scoped lang="less">
@import '~@assets/less/common.less';
/deep/ .ant-form-item-children {
width: 100%;
@@ -8,7 +8,7 @@
{{this.$t('standardSelect.standardSelection')}}
</a-button>
</div>
<standard-selection-modal ref="standardSelectionModal" v-bind="$attrs" @input="modalInput" @change="modalChange"></standard-selection-modal>
<standard-selection-modal ref="standardSelectionModal" v-bind="$attrs" :query="query" @input="modalInput" @change="modalChange"></standard-selection-modal>
</div>
</template>
@@ -19,7 +19,7 @@ export default {
name: 'StandardSelection',
components: { StandardSelectionModal },
props: {
type: {
query: {
type: Object,
default: () => {
return {}
@@ -28,12 +28,6 @@ export default {
value: {
type: String,
default: ''
},
standard: {
type: String,
default: () => {
return {}
}
}
},
computed: {
@@ -55,6 +49,7 @@ export default {
},
// 输入框输入监听
indexClick (event) {
console.log(event.target.value)
this.$emit('input', event.target.value)
},
modalInput (value) {
@@ -16,7 +16,7 @@
<a-form-item :label="$t('standardSelect.source')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag style="width: 100%" v-model="queryParam.source"
:placeholder="$t('pleaseSelect')+$t('standardSelect.source')"
:triggerChange="false" :dictCode="standard_source"/>
:triggerChange="false" dictCode="standard_source"/>
</a-form-item>
</a-col>
<a-col :sm="8">
@@ -59,14 +59,14 @@ export default {
name: 'StandardSelectionModal',
components: { JDictSelectTag },
props: {
type: {
query: {
type: Object,
default: () => {
return {}
}
},
standard: {
type: String,
type: Object,
default: () => {
return {}
}
@@ -120,10 +120,7 @@ export default {
width: 480
}
],
dataList: [],
url: {
searchList: 'document/bussDocumentLibraryEO/queryCondition' // 搜索字段
}
dataList: []
}
},
methods: {