|
@@ -78,6 +78,17 @@
|
|
|
:disabled="true"
|
|
:disabled="true"
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template slot="operation" slot-scope="scope">
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ icon="ibps-icon-edit"
|
|
|
|
|
+ @click="handleEdit(scope.row, 'edit')"
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ scope.row.shiFouGuoShen === '已编制' ? '审核' : '审批' }}
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
</ibps-crud>
|
|
</ibps-crud>
|
|
|
<ExperimentalView
|
|
<ExperimentalView
|
|
|
v-if="showConfig"
|
|
v-if="showConfig"
|
|
@@ -151,7 +162,7 @@ export default {
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
|
userOption,
|
|
userOption,
|
|
|
- title: '快速评价审核',
|
|
|
|
|
|
|
+ title: '快速评价审核/审批',
|
|
|
pkKey: 'id', // 主键 如果主键不是pk需要传主键
|
|
pkKey: 'id', // 主键 如果主键不是pk需要传主键
|
|
|
loading: true,
|
|
loading: true,
|
|
|
height: document.clientHeight,
|
|
height: document.clientHeight,
|
|
@@ -184,11 +195,11 @@ export default {
|
|
|
prop: 'fangAnLeiXing',
|
|
prop: 'fangAnLeiXing',
|
|
|
label: '方案类型',
|
|
label: '方案类型',
|
|
|
tags: [],
|
|
tags: [],
|
|
|
- minWidth: 125
|
|
|
|
|
|
|
+ minWidth: 140
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- { prop: 'shiYanXiangMu', label: '实验项目', slotName: 'shiYanXiangMu', width: 120 },
|
|
|
|
|
- { prop: 'shiYanFangFa', label: '实验方法', slotName: 'shiYanFangFa', width: 180 },
|
|
|
|
|
|
|
+ { prop: 'shiYanXiangMu', label: '实验项目', slotName: 'shiYanXiangMu', minWidth: 140 },
|
|
|
|
|
+ { prop: 'shiYanFangFa', label: '实验方法', slotName: 'shiYanFangFa', minWidth: 140 },
|
|
|
{ prop: 'yangBenLeiXing', label: '样本类型', width: 100 },
|
|
{ prop: 'yangBenLeiXing', label: '样本类型', width: 100 },
|
|
|
{ prop: 'shiYanYiQi', label: '实验仪器', width: 120 },
|
|
{ prop: 'shiYanYiQi', label: '实验仪器', width: 120 },
|
|
|
{
|
|
{
|
|
@@ -211,21 +222,17 @@ export default {
|
|
|
dateFormat: 'yyyy-MM-dd HH:mm',
|
|
dateFormat: 'yyyy-MM-dd HH:mm',
|
|
|
sortable: 'custom',
|
|
sortable: 'custom',
|
|
|
width: 130
|
|
width: 130
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
- rowHandle: {
|
|
|
|
|
- effect: 'display',
|
|
|
|
|
- width: 90,
|
|
|
|
|
- actions: [
|
|
|
|
|
- {
|
|
|
|
|
- key: 'edit',
|
|
|
|
|
- label: '审核',
|
|
|
|
|
- type: 'primary',
|
|
|
|
|
- icon: 'ibps-icon-edit'
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'operation',
|
|
|
|
|
+ label: '操作',
|
|
|
|
|
+ slotName: 'operation',
|
|
|
|
|
+ width: 90,
|
|
|
|
|
+ fixed: 'right'
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- ]
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ ]
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|