src/views/quality/processInspect/index.vue
@@ -2,7 +2,7 @@
   <div class="content-main">
      <div class="rawPage">
            <basic-container>
                <ttable
                <ttable
                :table="table"
                @handleSelectionChange="handleSelectionChange"
                :prelang="prelang"
@@ -176,7 +176,7 @@
        computed: {
            ...mapGetters(['permissions'])
        },
      created() {
      created() {
            if(this.permissions.quality_processInspect_add){
                this.table.toolbar.push({
                        text: '新增',
@@ -223,10 +223,15 @@
                    this.$message.error("该角色没有操作权限")
                    return
                }
                let isAdd = true
                if(!row) {
                    isAdd = false
                }
            this.$router.push({
               name: 'processInspectForm',
               query: { id: row == null ? null : row.id },
                    params: { resultVal : row == null ? null : row.result }
                    params: { resultVal : row == null ? null : row.result },
                    isAdd: isAdd
                })
         },
            formatResult(row, column, cellValue){
@@ -329,4 +334,4 @@
   .rawPage .content-body {
      flex: 1;
   }
</style>
</style>