标准清单 高级检索
This commit is contained in:
@@ -228,7 +228,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handlePreview (item) {
|
||||
console.log('item1111111', item)
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: 'OtherStandardDetails',
|
||||
// params: {
|
||||
@@ -252,12 +251,10 @@ export default {
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
console.log('res.data', res)
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
handleLaws (item) {
|
||||
console.log('item1111111', item)
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: 'OtherLawsDetails',
|
||||
// params: {
|
||||
@@ -283,7 +280,6 @@ export default {
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
console.log('res.data', res)
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
@@ -369,7 +365,6 @@ export default {
|
||||
}, res => {
|
||||
this.isSubmit = false
|
||||
this.msgDetails.collectId = res.data.id
|
||||
console.log('msgDetails.collectId', this.msgDetails.collectId)
|
||||
}, e => {
|
||||
this.isSubmit = false
|
||||
})
|
||||
|
||||
@@ -301,7 +301,6 @@ export default {
|
||||
}, res => {
|
||||
this.isSubmit = false
|
||||
this.msgDetails.collectId = res.data.id
|
||||
console.log('msgDetails.collectId', this.msgDetails.collectId)
|
||||
}, e => {
|
||||
this.isSubmit = false
|
||||
})
|
||||
@@ -329,7 +328,6 @@ export default {
|
||||
obj.content = this.relateList[i].content
|
||||
this.relateNowList.push(obj)
|
||||
}
|
||||
console.log('relateNowList', this.relateNowList)
|
||||
}, e => {
|
||||
|
||||
})
|
||||
@@ -419,7 +417,6 @@ export default {
|
||||
this.$message.warning('暂无相关标准')
|
||||
} else {
|
||||
let row = item.releventStandIds.split('/')
|
||||
console.log(row)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
@@ -436,7 +433,6 @@ export default {
|
||||
this.$message.warning('暂无相关政策')
|
||||
} else {
|
||||
let row = item.releventLawsIds.split('/')
|
||||
console.log(row)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherLawsDetails',
|
||||
params: {
|
||||
|
||||
@@ -264,7 +264,6 @@
|
||||
},
|
||||
// 批量删除
|
||||
batchMSGDel (type, row) {
|
||||
console.log(row);
|
||||
if (type === 2) {
|
||||
this.$confirm('是否删除此数据?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
@@ -355,7 +354,6 @@
|
||||
// 查看
|
||||
// 如果为自定义类型,可再当前结构树中手动维护,添加删除编辑等,
|
||||
// 如果为基础体系库则是查看基础库中的数据。不可编辑删除操作。
|
||||
console.log(row)
|
||||
this.$store.commit('setDetailMap', this.$route.path)
|
||||
this.$router.push({
|
||||
name: 'managementTree',
|
||||
|
||||
@@ -302,22 +302,18 @@
|
||||
},
|
||||
treeClickThree (treeNode) {
|
||||
this.selectTree = treeNode // 记录当前选中的二级菜单
|
||||
console.log('选择的树', this.selectTree)
|
||||
},
|
||||
treeRightClickThree (treeNode) {
|
||||
this.selectTree = treeNode // 记录当前选中的二级菜单
|
||||
if (treeNode.selfFlag === '2'){
|
||||
this.operationAuthority = true
|
||||
console.log('ok');
|
||||
} else {
|
||||
this.operationAuthority = false
|
||||
}
|
||||
console.log('右击选择的树', this.selectTree)
|
||||
},
|
||||
// 二级菜单新建,编辑,删除
|
||||
clickDropMenu (name, treeNode) {
|
||||
this.selectSarMenu = JSON.parse(JSON.stringify(treeNode))
|
||||
console.log('点击',this.selectSarMenu);
|
||||
if (undefined !== this.selectSarMenu.id) { // 当前有选中节点
|
||||
if (name === 'newMenu') {
|
||||
this.menuModalTitle = '新增目录'
|
||||
@@ -332,7 +328,6 @@
|
||||
rootNum:this.baseDataId
|
||||
}
|
||||
} else if (name === 'editMenu') {
|
||||
console.log('treeNode',treeNode);
|
||||
this.menuModalTitle = '编辑目录'
|
||||
this.menuModalFlag = true
|
||||
this.menuAddOrUpdateFlag = 2
|
||||
@@ -421,7 +416,6 @@
|
||||
// 体系基础数据库-新建,编辑,删除
|
||||
clickDropMenuThree (name, treeNode) {
|
||||
this.selectSarMenu = JSON.parse(JSON.stringify(treeNode))
|
||||
console.log('点击',this.selectSarMenu);
|
||||
if (undefined !== this.selectSarMenu.id) { // 当前有选中节点
|
||||
if (name === 'newMenu') {
|
||||
this.modalTitle = '新增目录'
|
||||
@@ -435,7 +429,6 @@
|
||||
selfSort: ''
|
||||
}
|
||||
} else if (name === 'editMenu') {
|
||||
console.log('treeNode',treeNode);
|
||||
this.modalTitle = '编辑目录'
|
||||
this.modalFlag = true
|
||||
this.threeFlag = 2
|
||||
@@ -444,7 +437,6 @@
|
||||
this.dataListThree.map((item, index) => {
|
||||
if (this.addMenu.id === item.id) {
|
||||
selectNode.push(item)
|
||||
console.log('编辑的selectNode', selectNode)
|
||||
this.addMenu.pid = selectNode[0].pid
|
||||
this.addMenu.selfCode = selectNode[0].svppsCode
|
||||
this.addMenu.selfName = selectNode[0].svppsCnName
|
||||
@@ -582,7 +574,6 @@
|
||||
if (valid) {
|
||||
if (this.menuAddOrUpdateFlag === 1) {
|
||||
this.sarMenu.pid = this.selectSarMenu.id
|
||||
console.log(this.selectSarMenu.id)
|
||||
// if (this.selectSarMenu.parentIds != null) {
|
||||
// this.sarMenu.parentIds = this.selectSarMenu.parentIds + ',' + this.selectSarMenu.id
|
||||
// } else {
|
||||
@@ -650,11 +641,9 @@
|
||||
},
|
||||
watch: {
|
||||
operationAuthority(newValue) {
|
||||
console.log('newValue',newValue)
|
||||
// this.operationAuthority = newValue
|
||||
this.$nextTick(() => {
|
||||
this.operationAuthority = newValue
|
||||
console.log('this.operationAuthority',this.operationAuthority)
|
||||
this.$forceUpdate()
|
||||
})
|
||||
}
|
||||
@@ -662,8 +651,6 @@
|
||||
computed: {
|
||||
},
|
||||
mounted () {
|
||||
console.log('this.$route.params.qbDataType',this.$route.query.qbDataType)
|
||||
console.log('this.$route.params.qbBaseId',this.$route.query.qbBaseId)
|
||||
this.baseDataId =this.$route.query.qbBaseId
|
||||
switch (this.$route.query.qbDataType) {
|
||||
case '1':
|
||||
|
||||
@@ -623,7 +623,6 @@ export default {
|
||||
loading: 'treeModalLoading'
|
||||
}, res => {
|
||||
if (res.ok) {
|
||||
console.log('dataaaaaa', res.data)
|
||||
let backData = res.data
|
||||
// 新增一个接口
|
||||
this.$http.postData('lawss/sarSubMenu/insertSarSubMenuall', backData, {
|
||||
|
||||
@@ -108,7 +108,6 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
console.log('新增/编辑成功')
|
||||
this.$emit('success')
|
||||
this.$emit('close')
|
||||
}
|
||||
|
||||
@@ -84,7 +84,6 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
console.log('新增/编辑成功')
|
||||
this.$emit('success')
|
||||
this.$emit('close')
|
||||
}
|
||||
|
||||
@@ -178,7 +178,6 @@ export default {
|
||||
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
console.log('item', item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
@@ -216,7 +215,6 @@ export default {
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
console.log('删除成功')
|
||||
this.$message.warning(res.message)
|
||||
this.queryTablePage()
|
||||
}, e => {
|
||||
|
||||
@@ -170,7 +170,6 @@ export default {
|
||||
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
console.log('item', item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
|
||||
@@ -380,7 +380,6 @@ export default {
|
||||
}
|
||||
},
|
||||
goNuwPage (item) {
|
||||
console.log('item', item)
|
||||
this.$store.commit('setDetailMap', this.$route.path)
|
||||
this.$router.push({
|
||||
name: 'StandLawsAttrDetails',
|
||||
@@ -598,7 +597,6 @@ export default {
|
||||
let listId = this.selectedList[i]
|
||||
listIds.push(listId)
|
||||
}
|
||||
console.log(listIds)
|
||||
let listIdsStr = listIds.join(',')
|
||||
this.$confirm('确定删除这些数据?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
|
||||
@@ -690,7 +690,6 @@ export default {
|
||||
},
|
||||
// 打开新增用户模态框
|
||||
openAddUserModal () {
|
||||
console.log('userVO',this.userVO)
|
||||
this.userTitle = '新增用户'
|
||||
this.userVO.roleIdList = ''
|
||||
this.showPWD = true
|
||||
|
||||
Reference in New Issue
Block a user