|
@@ -28,6 +28,17 @@
|
|
>新增
|
|
>新增
|
|
</el-button>
|
|
</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :span="1.5" v-if="isRegister === '1'">
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ plain
|
|
|
|
+ icon="el-icon-plus"
|
|
|
|
+ size="mini"
|
|
|
|
+ @click="registerLiAn"
|
|
|
|
+ v-hasPermi="['lawenforcement:case:register']"
|
|
|
|
+ >立案
|
|
|
|
+ </el-button>
|
|
|
|
+ </el-col>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
@@ -485,7 +496,6 @@ export default {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
const hasPermission = checkPermi(['lawenforcement:record:revoke']);
|
|
const hasPermission = checkPermi(['lawenforcement:record:revoke']);
|
|
- console.log('用户是否有审批权限:', hasPermission);
|
|
|
|
this.hasApprovalPermission = hasPermission;
|
|
this.hasApprovalPermission = hasPermission;
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -742,6 +752,9 @@ export default {
|
|
},
|
|
},
|
|
/** 立案函数 */
|
|
/** 立案函数 */
|
|
registerLiAn(row) {
|
|
registerLiAn(row) {
|
|
|
|
+ if (undefined == row.id) {
|
|
|
|
+ row.id = "ZJ-" + Date.now()
|
|
|
|
+ }
|
|
this.$refs.register.registerLiAn(row.id, true)
|
|
this.$refs.register.registerLiAn(row.id, true)
|
|
},
|
|
},
|
|
/** 填报按钮事件 */
|
|
/** 填报按钮事件 */
|
|
@@ -758,8 +771,6 @@ export default {
|
|
recordStatus: 'lawenforcement_type_3'
|
|
recordStatus: 'lawenforcement_type_3'
|
|
}
|
|
}
|
|
setRecordStatus(o).then(res=>{
|
|
setRecordStatus(o).then(res=>{
|
|
- console.log(res)
|
|
|
|
-
|
|
|
|
this.getList();
|
|
this.getList();
|
|
this.$modal.msgSuccess("设置成功");
|
|
this.$modal.msgSuccess("设置成功");
|
|
})
|
|
})
|