|
@@ -21,6 +21,14 @@
|
|
|
<div>起:{{ scope.row.kaiShiShiJian }}</div>
|
|
<div>起:{{ scope.row.kaiShiShiJian }}</div>
|
|
|
<div>止:{{ scope.row.jieShuShiJian }}</div>
|
|
<div>止:{{ scope.row.jieShuShiJian }}</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template slot="xingNengZhiBiaSearch">
|
|
|
|
|
+ <ibps-link-data
|
|
|
|
|
+ v-model="xingNengZhiBiaoValue"
|
|
|
|
|
+ template-key="xnyzxnzbzly"
|
|
|
|
|
+ placeholder="请选择"
|
|
|
|
|
+ style="width: 250px"
|
|
|
|
|
+ />
|
|
|
|
|
+ </template>
|
|
|
</ibps-crud>
|
|
</ibps-crud>
|
|
|
<ExperimentalView
|
|
<ExperimentalView
|
|
|
v-if="showConfig"
|
|
v-if="showConfig"
|
|
@@ -37,10 +45,12 @@
|
|
|
import { queryExperimental, removeExperimental } from '@/api/business/pv'
|
|
import { queryExperimental, removeExperimental } from '@/api/business/pv'
|
|
|
import ActionUtils from '@/utils/action'
|
|
import ActionUtils from '@/utils/action'
|
|
|
import FixHeight from '@/mixins/height'
|
|
import FixHeight from '@/mixins/height'
|
|
|
|
|
+import IbpsLinkData from '@/business/platform/data/templaterender/link-data'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
- ExperimentalView: () => import('./experimentalView')
|
|
|
|
|
|
|
+ ExperimentalView: () => import('./experimentalView'),
|
|
|
|
|
+ 'ibps-link-data': IbpsLinkData
|
|
|
},
|
|
},
|
|
|
mixins: [FixHeight],
|
|
mixins: [FixHeight],
|
|
|
data() {
|
|
data() {
|
|
@@ -63,15 +73,15 @@ export default {
|
|
|
params: {},
|
|
params: {},
|
|
|
targetOption: [],
|
|
targetOption: [],
|
|
|
methodOption: [],
|
|
methodOption: [],
|
|
|
|
|
+ xingNengZhiBiaoValue: '',
|
|
|
listConfig: {
|
|
listConfig: {
|
|
|
toolbars: [{ key: 'search' }, { key: 'remove' }],
|
|
toolbars: [{ key: 'search' }, { key: 'remove' }],
|
|
|
searchForm: {
|
|
searchForm: {
|
|
|
itemWidth: 250,
|
|
itemWidth: 250,
|
|
|
forms: [
|
|
forms: [
|
|
|
- // { prop: 'Q^name_^SL', label: '性能指标', fieldType: 'select', options: this.targetOption },
|
|
|
|
|
- // { prop: 'Q^fang_an_lei_xing_^SL', label: '方案类型', fieldType: 'select', options: this.methodOption },
|
|
|
|
|
{ prop: 'Q^shi_yan_xiang_mu_^SL', label: '实验项目' },
|
|
{ prop: 'Q^shi_yan_xiang_mu_^SL', label: '实验项目' },
|
|
|
- { prop: 'Q^xing_neng_zhi_bia^SL', label: '性能指标' },
|
|
|
|
|
|
|
+ //{ prop: 'Q^xing_neng_zhi_bia^SL', label: '性能指标' },
|
|
|
|
|
+ { prop: 'Q^xing_neng_zhi_bia^SL', label: '性能指标', fieldType: 'slot', slotName: 'xingNengZhiBiaSearch' },
|
|
|
{ prop: 'Q^fang_an_lei_xing_^SL', label: '方案类型' },
|
|
{ prop: 'Q^fang_an_lei_xing_^SL', label: '方案类型' },
|
|
|
{ prop: 'Q^shi_yan_fang_fa_^SL', label: '实验方法' },
|
|
{ prop: 'Q^shi_yan_fang_fa_^SL', label: '实验方法' },
|
|
|
{ prop: 'Q^yang_ben_lei_xing^SL', label: '样本类型' },
|
|
{ prop: 'Q^yang_ben_lei_xing^SL', label: '样本类型' },
|
|
@@ -171,8 +181,10 @@ export default {
|
|
|
* 获取格式化参数
|
|
* 获取格式化参数
|
|
|
*/
|
|
*/
|
|
|
getSearchFormData() {
|
|
getSearchFormData() {
|
|
|
|
|
+ const searchParam = this.$refs['crud'] ? this.$refs['crud'].getSearcFormData() : {}
|
|
|
|
|
+ searchParam['Q^xing_neng_zhi_bia^SL'] = this.xingNengZhiBiaoValue
|
|
|
return ActionUtils.formatParams(
|
|
return ActionUtils.formatParams(
|
|
|
- this.$refs['crud'] ? this.$refs['crud'].getSearcFormData() : {},
|
|
|
|
|
|
|
+ searchParam,
|
|
|
this.pagination,
|
|
this.pagination,
|
|
|
this.sorts
|
|
this.sorts
|
|
|
)
|
|
)
|