|
@@ -658,19 +658,25 @@ const closed = () => {
|
|
|
const problemCascaderRef = ref();
|
|
|
const changeProblems = () => {
|
|
|
let currentNode = problemCascaderRef.value.getCheckedNodes();
|
|
|
- console.log(currentNode,'1')
|
|
|
- if (currentNode[0].parent?.value === '2000') {
|
|
|
- // 专利code为2000
|
|
|
- state.isPatent = true;
|
|
|
- } else {
|
|
|
- state.isPatent = false;
|
|
|
- }
|
|
|
+ console.log(currentNode, 'changeProblems');
|
|
|
if (state.acceptType == 5) {
|
|
|
//举报
|
|
|
state.expandForm.reportClassify = currentNode[0].label;
|
|
|
+ if (currentNode[0].parent?.value === '26') {
|
|
|
+ // 专利code为2000
|
|
|
+ state.isPatent = true;
|
|
|
+ } else {
|
|
|
+ state.isPatent = false;
|
|
|
+ }
|
|
|
} else if (state.acceptType == 6) {
|
|
|
// 投诉
|
|
|
state.expandForm.complainClassify = currentNode[0].label;
|
|
|
+ if (currentNode[0].parent?.value === '2000') {
|
|
|
+ // 专利code为2000
|
|
|
+ state.isPatent = true;
|
|
|
+ } else {
|
|
|
+ state.isPatent = false;
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
// 选择市场主体类型
|