对接法规技术评估
This commit is contained in:
+44
-4
@@ -6,14 +6,42 @@
|
|||||||
:data-source="dataList"
|
:data-source="dataList"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:loading="loading">
|
: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>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import PersonnelSelection from '@/components/PersonnelSelection/index'
|
||||||
export default {
|
export default {
|
||||||
name: 'TermInformation',
|
name: 'TermInformation',
|
||||||
|
components:{
|
||||||
|
PersonnelSelection
|
||||||
|
},
|
||||||
|
props:['gatherResultList'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
columns: [
|
columns: [
|
||||||
@@ -55,16 +83,28 @@
|
|||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
dataList: [],
|
dataList: [{}],
|
||||||
loading: false
|
loading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {}
|
methods: {
|
||||||
|
deleteData() {
|
||||||
|
|
||||||
|
},
|
||||||
|
PersonnelSelectionChange(value, id) {
|
||||||
|
this.formInline[value] = id
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.box-input {
|
||||||
|
display: inline-block;
|
||||||
|
width: 70%;
|
||||||
|
height: 38px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
+1
-1
@@ -155,7 +155,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
<TermInformation v-if="isTrue"/>
|
<TermInformation :gatherResultList="gatherResultList" v-if="isTrue"/>
|
||||||
<footerProcess
|
<footerProcess
|
||||||
@submit="submit"
|
@submit="submit"
|
||||||
:isSubmit="true"
|
:isSubmit="true"
|
||||||
|
|||||||
Reference in New Issue
Block a user