|
@@ -172,7 +172,9 @@ export default {
|
|
|
this.cacheFormData = getSearch || [];
|
|
|
if (this.cacheFormData.length > 0) {
|
|
|
const tempSearch = this.cacheFormData[0];
|
|
|
- this.ruleForm.deptId = tempSearch.deptId;
|
|
|
+ this.ruleForm.deptId = tempSearch.deptId
|
|
|
+ ? Number(tempSearch.deptId)
|
|
|
+ : null;
|
|
|
this.ruleForm.priority = tempSearch.priority;
|
|
|
}
|
|
|
|