对接法规技术评估

This commit is contained in:
qq787203167
2022-07-12 17:11:17 +08:00
parent ea19496982
commit beeaf81023
2 changed files with 45 additions and 5 deletions
@@ -6,14 +6,42 @@
:data-source="dataList"
:pagination="false"
:loading="loading">
<span slot="evaluationMethod" slot-scope="text,result">
<a-tree-select
tree-node-filter-prop="title"
v-model="result.evaluationMethods"
:maxTagCount="1"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
class="box-input"
style="width: 80%;"
:tree-data="gatherResultList"
tree-checkable
:placeholder="$t('PleaseSelect')+$t('evaluationMethod')"
/>
</span>
<span slot="Assessor" slot-scope="text,result">
<PersonnelSelection class="box-input"
:personneQuery="result"
:query="{db_field_name:'evaluatorIds',db_field_txt:$t('Assessor')}"
:isInput="true"
@change="PersonnelSelectionChange"
v-model="result.evaluatorIdsName"/>
</span>
<span slot="operation" slot-scope="text,result">
<a @click="deleteData(result)">{{$t('delete')}}</a>
</span>
</a-table>
</div>
</template>
<script>
import PersonnelSelection from '@/components/PersonnelSelection/index'
export default {
name: 'TermInformation',
components:{
PersonnelSelection
},
props:['gatherResultList'],
data() {
return {
columns: [
@@ -55,16 +83,28 @@
scopedSlots: { customRender: 'operation' }
}
],
dataList: [],
dataList: [{}],
loading: false
}
},
mounted() {
},
methods: {}
methods: {
deleteData() {
},
PersonnelSelectionChange(value, id) {
this.formInline[value] = id
this.formInline = { ...this.formInline }
},
}
}
</script>
<style scoped>
.box-input {
display: inline-block;
width: 70%;
height: 38px;
}
</style>
@@ -155,7 +155,7 @@
</a-col>
</a-row>
</a-form-model>
<TermInformation v-if="isTrue"/>
<TermInformation :gatherResultList="gatherResultList" v-if="isTrue"/>
<footerProcess
@submit="submit"
:isSubmit="true"