Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
+3
-1
@@ -48,7 +48,9 @@
|
|||||||
<if test="paramsCollectManifestEO.paramsManifestId !=null and paramsCollectManifestEO.paramsManifestId !=''">
|
<if test="paramsCollectManifestEO.paramsManifestId !=null and paramsCollectManifestEO.paramsManifestId !=''">
|
||||||
AND params_manifest_id = #{paramsCollectManifestEO.paramsManifestId}
|
AND params_manifest_id = #{paramsCollectManifestEO.paramsManifestId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="paramsCollectManifestEO.state !=null and paramsCollectManifestEO.state !=''">
|
||||||
|
AND state = #{paramsCollectManifestEO.state}
|
||||||
|
</if>
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</sql>
|
</sql>
|
||||||
|
|||||||
@@ -294,8 +294,15 @@
|
|||||||
onClickSee(val) {
|
onClickSee(val) {
|
||||||
let _this = this
|
let _this = this
|
||||||
this.areaVisibleView = true
|
this.areaVisibleView = true
|
||||||
|
let url = ''
|
||||||
|
if (this.$route.query.it === undefined) {
|
||||||
|
url = `/jero-boot/params/config/getById?id=${val.db_field_name}`
|
||||||
|
} else {
|
||||||
|
// 历史版本
|
||||||
|
url = `/jero-boot/params/collectManifestHistory/getConfigById?id=${val.db_field_name}`
|
||||||
|
}
|
||||||
axios({
|
axios({
|
||||||
url: `/jero-boot/params/config/getById?id=${val.db_field_name}`,
|
url: url,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
transformRequest: [function(data) {
|
transformRequest: [function(data) {
|
||||||
let ret = ''
|
let ret = ''
|
||||||
@@ -312,8 +319,9 @@
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
this.configDetail = res.data.result
|
this.configDetail = res.data.result || {}
|
||||||
} else {
|
} else {
|
||||||
|
this.configDetail = {}
|
||||||
_this.$message.warning(res.data.result)
|
_this.$message.warning(res.data.result)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
+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