1 line
7.9 KiB
JSON
1 line
7.9 KiB
JSON
|
|
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\jurisdiction\\roleManagement\\popup\\ticketpop.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\jurisdiction\\roleManagement\\popup\\ticketpop.vue","mtime":1737610069432},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.split\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport { treeDataTranslate } from '@/utils';\nimport { truncate } from \"fs\";\nimport { GetChan, setRole, getAppRoleList as _getAppRoleList, getSecondDept, deptSelect2 } from \"@/api/getdata\";\nexport default {\n props: [\"width\", \"row\", \"title\"],\n data: function data() {\n return {\n options: [],\n /**拜访部门 */\n optionsSecond: [],\n //二级部门\n oldOrgId: this.row.org_id || \"\",\n oldOrgName: this.row.org_name || \"\",\n oldDeptId: this.row.department_id || \"\",\n oldDeptName: this.row.department_name || \"\",\n changeOrgId: this.row.org_id || \"\",\n changeOrgName: this.row.org_name || \"\",\n changeDeptId: this.row.department_id || \"\",\n changeDeptName: this.row.department_name || \"\",\n deptNameUrl: this.row.dept_name_url || \"\",\n deptIdUrl: this.row.dept_id_url || \"\",\n //role:[{id: 1,name:'超级管理员'},{id: 2,name:'普通员工'},{id: 9,name:'外部人员'},{id:3,name:\"新技术测试\"} ],\n role: [],\n lDialog: this.width > 500 ? \"w700\" : \"w500\",\n dialogVisible: true,\n rules: {\n bm: [{\n required: true,\n message: \"请选择部门名\",\n trigger: \"change\"\n }]\n },\n menuList: [],\n menuListTreeProps: {\n label: 'name',\n children: 'children'\n },\n chooseDeptId: this.row.dept_id_url == null ? [] : this.row.dept_id_url.split(\"/\"),\n chooseDeptName: this.row.dept_name_url == null ? [] : this.row.dept_name_url.split(\"/\")\n };\n },\n mounted: function mounted() {\n // this.getbmlist();\n this.selectMenu();\n this.getAppRoleList();\n },\n methods: {\n selectMenu: function selectMenu() {\n var _this = this;\n var Content = {};\n deptSelect2(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this.menuList = treeDataTranslate(res.returnData, 'id', 'parentId');\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n menuListTreeCurrentChangeHandle: function menuListTreeCurrentChangeHandle(data, node) {\n console.log(node, \"node\");\n console.log(data);\n this.chooseDeptId = [];\n this.chooseDeptName = [];\n this.getNodeData(node);\n this.row.dept_name_url = this.chooseDeptName.join(\"/\");\n this.row.dept_id_url = this.chooseDeptId.join(\"/\");\n // this.dataForm.parentId = data.id;\n // this.dataForm.parentName = data.name;\n this.$forceUpdate();\n },\n getNod
|