Commit e987e33ae5b357300c56b9ba2e8f9172f66b2e16
1 parent
29fec6b9
预览表单
Showing
2 changed files
with
4 additions
and
1 deletions
src/views/baseSpecialAction/Form.vue
| ... | ... | @@ -99,6 +99,9 @@ |
| 99 | 99 | <el-option v-for="item in BaseList" :key="item.id" :label="item.fullName" :value="item.id"> |
| 100 | 100 | </el-option> |
| 101 | 101 | </el-select> |
| 102 | + <div v-if="dataForm.relationId" style="display: inline-block; margin-right: 14px;"> | |
| 103 | + <FormDialog :row="{formId: dataForm.relationId}" :isDetail="true">预览表单</FormDialog> | |
| 104 | + </div> | |
| 102 | 105 | <el-button size="mini" type="text" @click="dialogVisible = true">没有找到表单?点击设计表单</el-button> |
| 103 | 106 | </el-form-item> |
| 104 | 107 | </el-col> | ... | ... |
src/views/baseSpecialAction/infoForm.vue
| ... | ... | @@ -32,7 +32,7 @@ |
| 32 | 32 | </el-table-column> |
| 33 | 33 | <el-table-column label="操作" fixed="right" > |
| 34 | 34 | <template slot-scope="scope"> |
| 35 | - <FormDialog :row="scope.row" :isDetail="true" /> | |
| 35 | + <FormDialog :row="scope.row" :isDetail="true" :disabled="scope.row.state != '已填写'">详情</FormDialog> | |
| 36 | 36 | </template> |
| 37 | 37 | </el-table-column> |
| 38 | 38 | </NCC-table> | ... | ... |