{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/pop.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/pop.vue","mtime":1725957645728},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["\nexport default {\n props: [\"showdialog\",\"agreementTitle\",\"agreement\"],\n watch: {\n showdialog() {\n this.dialogFormVisible = this.showdialog;\n this.title = this.agreementTitle;\n },\n },\n components: {\n // selectTree //注册组件\n },\n data() {\n return { \n title: \"\",\n dialogFormVisible: this.showdialog,\n OperType: 0, //0 新增 1修改\n formList: {},\n params:{//搜索条件\n pageIndex:1,\n pageSize:10,\n keyword:'', \n total:0\n },\n rules: {\n \n },\n defaulDataParent:'',//上级部门默认回选数据\n defaulData:[],\n parentIdShow:true\n };\n },\n methods: { \n getTableRow(data, type) { \n let newRowData = JSON.parse(JSON.stringify(data)); //拷贝一份存储对象\n this.formList = newRowData; //拷贝一份存储对象引用不同地址\n this.OperType = type;\n console.log(this.formList.parentId)\n if (this.OperType == 0) { \n this.title = this.agreementTitle;\n \n } else {\n this.title = this.agreementTitle;\n \n }\n \n \n }, \n submitForm() { \n // let obj2={domainId:this.$route.query.domainId}\n // if (this.OperType == 0) {\n // //新增\n // }\n // this.$refs.ruleForm.validate((valid) => {\n // if (valid) {\n // if (this.OperType == 0) {\n // AddDepartmentsApi(this.formList,obj2).then((response) => {\n // //新增\n // if (response.status==200) {\n // let newobj = JSON.parse(JSON.stringify(this.formList));\n // this.$emit(\"refurlist\", newobj); //确定后发送$emit绑定父数据\n // this.cancelForm();\n // }\n // });\n // } else {\n // EditDepartmentsApi(this.formList,obj2).then((response) => {\n // //修改\n // if (response.status==200) {\n // let newobj = JSON.parse(JSON.stringify(this.formList));\n // this.$emit(\"refurlist\", newobj); //确定后发送$emit绑定父数据\n // this.cancelForm();\n // }\n // });\n // }\n // } else {\n // return false;\n // }\n // });\n },\n cancelForm() {\n //取消关闭\n this.$emit(\"update:showdialog\", false);\n this.$nextTick(function () {\n this.$refs.ruleForm.resetFields(); //重置输入框提示\n });\n },\n },\n};\n",null]}