标准清单 高级检索
This commit is contained in:
@@ -211,7 +211,6 @@ export default {
|
|||||||
thenFun.call(this, res.data)
|
thenFun.call(this, res.data)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log(res.data)
|
|
||||||
// 返回data数组
|
// 返回data数组
|
||||||
thenFun.call(this, res.data)
|
thenFun.call(this, res.data)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,9 +23,7 @@ const tableBtnPermission = Vue.directive('tableBtnPermission', {
|
|||||||
bind (el, binding, vnode) {
|
bind (el, binding, vnode) {
|
||||||
// 获取按钮权限
|
// 获取按钮权限
|
||||||
let btnPermission = binding.value
|
let btnPermission = binding.value
|
||||||
console.log(el, binding, vnode)
|
|
||||||
function handler(event) {
|
function handler(event) {
|
||||||
console.log(event)
|
|
||||||
event.stopImmediatePropagation()
|
event.stopImmediatePropagation()
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,7 +117,6 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.resolveFormFieldListRules()
|
this.resolveFormFieldListRules()
|
||||||
console.log(this.$dateFormat(1602518400000, 'yyyy-MM-dd hh:mm:ss'))
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
@@ -155,7 +154,6 @@ export default {
|
|||||||
},
|
},
|
||||||
jiaoyan () {
|
jiaoyan () {
|
||||||
this.$refs['sarStandardsInfoForm'].validate((valid) => {
|
this.$refs['sarStandardsInfoForm'].validate((valid) => {
|
||||||
console.log(valid)
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ export default {
|
|||||||
handleChange (event) {
|
handleChange (event) {
|
||||||
// const value = event.target.value
|
// const value = event.target.value
|
||||||
const value = event
|
const value = event
|
||||||
console.log(value)
|
|
||||||
this.$emit('input', value)
|
this.$emit('input', value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -204,7 +204,6 @@ export default {
|
|||||||
handleChange (event) {
|
handleChange (event) {
|
||||||
// const value = event.target.value
|
// const value = event.target.value
|
||||||
const value = event
|
const value = event
|
||||||
console.log(value)
|
|
||||||
this.$emit('input', value)
|
this.$emit('input', value)
|
||||||
},
|
},
|
||||||
selectLaws () {
|
selectLaws () {
|
||||||
@@ -303,7 +302,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
console.log('看看看看看看看看item', item)
|
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'OtherBussStandardDetails',
|
name: 'OtherBussStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
@@ -207,7 +207,6 @@ export default {
|
|||||||
handleChange (event) {
|
handleChange (event) {
|
||||||
// const value = event.target.value
|
// const value = event.target.value
|
||||||
const value = event
|
const value = event
|
||||||
console.log(value)
|
|
||||||
this.$emit('input', value)
|
this.$emit('input', value)
|
||||||
if (value.length==1000){
|
if (value.length==1000){
|
||||||
return this.$message({
|
return this.$message({
|
||||||
|
|||||||
@@ -211,7 +211,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
dataSourceChange (val) {
|
dataSourceChange (val) {
|
||||||
console.log(val)
|
|
||||||
},
|
},
|
||||||
handleChange (event) {
|
handleChange (event) {
|
||||||
// const value = event.target.value
|
// const value = event.target.value
|
||||||
|
|||||||
@@ -93,7 +93,6 @@ export default {
|
|||||||
// 匹配项来源
|
// 匹配项来源
|
||||||
if (this.searchKey === '') {
|
if (this.searchKey === '') {
|
||||||
this.filterOptions = this.options
|
this.filterOptions = this.options
|
||||||
console.log(this.options)
|
|
||||||
} else {
|
} else {
|
||||||
let result = []
|
let result = []
|
||||||
// 用原始数据进行匹配
|
// 用原始数据进行匹配
|
||||||
|
|||||||
@@ -89,7 +89,6 @@ export default {
|
|||||||
this.treeCheckNode = treeCheckNode
|
this.treeCheckNode = treeCheckNode
|
||||||
},
|
},
|
||||||
handleTreeDblClick (event, treeId, treeNode) {
|
handleTreeDblClick (event, treeId, treeNode) {
|
||||||
console.log('event, treeId, treeNode', event, treeId, treeNode)
|
|
||||||
this.$emit('input', treeNode.id)
|
this.$emit('input', treeNode.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ export default {
|
|||||||
this.treeCheckNode = treeCheckNode
|
this.treeCheckNode = treeCheckNode
|
||||||
},
|
},
|
||||||
handleTreeDblClick (treeId, treeNode) {
|
handleTreeDblClick (treeId, treeNode) {
|
||||||
console.log('event, treeId, treeNode', event, treeId, treeNode)
|
|
||||||
this.$emit('input', treeNode.id)
|
this.$emit('input', treeNode.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,7 +112,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTreeDblClick (treeId, treeNode) {
|
handleTreeDblClick (treeId, treeNode) {
|
||||||
console.log(treeNode.id)
|
|
||||||
this.checkedName = treeNode.name
|
this.checkedName = treeNode.name
|
||||||
this.$emit('input', treeNode.id)
|
this.$emit('input', treeNode.id)
|
||||||
this.visible = false
|
this.visible = false
|
||||||
@@ -130,8 +129,6 @@ export default {
|
|||||||
return name
|
return name
|
||||||
},
|
},
|
||||||
handleTreeDrawerConfirm () {
|
handleTreeDrawerConfirm () {
|
||||||
console.log(this.config.selVal)
|
|
||||||
console.log(this.treeCheckNode)
|
|
||||||
if (this.config.selVal === 'USERLIST') {
|
if (this.config.selVal === 'USERLIST') {
|
||||||
const checkedList = []
|
const checkedList = []
|
||||||
const checkedNameList = []
|
const checkedNameList = []
|
||||||
@@ -141,9 +138,7 @@ export default {
|
|||||||
checkedNameList.push(item.name)
|
checkedNameList.push(item.name)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(checkedNameList)
|
|
||||||
this.checkedName = checkedNameList.join(',')
|
this.checkedName = checkedNameList.join(',')
|
||||||
console.log(this.checkedName)
|
|
||||||
this.$emit('input', checkedList.join(','))
|
this.$emit('input', checkedList.join(','))
|
||||||
} else {
|
} else {
|
||||||
const checkedList = []
|
const checkedList = []
|
||||||
@@ -157,7 +152,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.checkedName = checkedNameList.join(',')
|
this.checkedName = checkedNameList.join(',')
|
||||||
console.log(this.checkedName)
|
|
||||||
this.$emit('input', checkedList.join(','))
|
this.$emit('input', checkedList.join(','))
|
||||||
}
|
}
|
||||||
this.visible = false
|
this.visible = false
|
||||||
@@ -179,11 +173,9 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
value (newVal) {
|
value (newVal) {
|
||||||
console.log(newVal)
|
|
||||||
this.checkedName = newVal || ''
|
this.checkedName = newVal || ''
|
||||||
},
|
},
|
||||||
checkedName (val) {
|
checkedName (val) {
|
||||||
console.log(val)
|
|
||||||
this.$emit('update:value', val)
|
this.$emit('update:value', val)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -120,13 +120,11 @@ export default {
|
|||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
value(newValue, oldValue) {
|
value(newValue, oldValue) {
|
||||||
console.log(newValue)
|
|
||||||
this.resolveValueToResultNodes(newValue)
|
this.resolveValueToResultNodes(newValue)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleSelectTreeClick(treeId, treeNode) {
|
handleSelectTreeClick(treeId, treeNode) {
|
||||||
console.log(treeId, treeNode)
|
|
||||||
this.selectNode = { ...treeNode }
|
this.selectNode = { ...treeNode }
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -186,7 +184,6 @@ export default {
|
|||||||
handleResultTreeEdit(treeId, treeNode) {
|
handleResultTreeEdit(treeId, treeNode) {
|
||||||
const wxId = treeNode.wxId
|
const wxId = treeNode.wxId
|
||||||
const findNode = this.resultNodes.find(item => item.wxId === wxId)
|
const findNode = this.resultNodes.find(item => item.wxId === wxId)
|
||||||
console.log(findNode)
|
|
||||||
if (findNode && findNode.type === 'user') {
|
if (findNode && findNode.type === 'user') {
|
||||||
this.editNode = findNode
|
this.editNode = findNode
|
||||||
this.editNodeForForm = { ...findNode }
|
this.editNodeForForm = { ...findNode }
|
||||||
@@ -223,7 +220,6 @@ export default {
|
|||||||
userName: item.type === 'user' && item.nativeName || null
|
userName: item.type === 'user' && item.nativeName || null
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(result)
|
|
||||||
this.$emit('input', result)
|
this.$emit('input', result)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,6 @@ export default {
|
|||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
value(newValue, oldValue) {
|
value(newValue, oldValue) {
|
||||||
console.log(newValue)
|
|
||||||
this.resolveValueToResultNodes(newValue)
|
this.resolveValueToResultNodes(newValue)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -141,7 +141,6 @@ export default {
|
|||||||
submitLoading: 'loading'
|
submitLoading: 'loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
console.log('success', res)
|
|
||||||
this.newDialogVisible = false
|
this.newDialogVisible = false
|
||||||
this.submitLoading = false
|
this.submitLoading = false
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|||||||
@@ -1449,7 +1449,6 @@ export default {
|
|||||||
this.destroyZTree()
|
this.destroyZTree()
|
||||||
$(this.dragBind).unbind('mousedown')
|
$(this.dragBind).unbind('mousedown')
|
||||||
$('#' + this.searchId).unbind('input propertychange')
|
$('#' + this.searchId).unbind('input propertychange')
|
||||||
// console.log('beforeDestroy')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -141,7 +141,6 @@ export default {
|
|||||||
* @date: 2018/10/23 10:19:24
|
* @date: 2018/10/23 10:19:24
|
||||||
*/
|
*/
|
||||||
rightRemove () {
|
rightRemove () {
|
||||||
console.log('rightRemove')
|
|
||||||
$(`#${this.treeDivId}rMenu`).css({'visibility': 'hidden'})
|
$(`#${this.treeDivId}rMenu`).css({'visibility': 'hidden'})
|
||||||
this.setOpenNodes()
|
this.setOpenNodes()
|
||||||
this.$emit('treeRemove', this.treeId, this.treeNode)
|
this.$emit('treeRemove', this.treeId, this.treeNode)
|
||||||
@@ -153,7 +152,6 @@ export default {
|
|||||||
* @date: 2020/2/6 10:19:24
|
* @date: 2020/2/6 10:19:24
|
||||||
*/
|
*/
|
||||||
rightCopy () {
|
rightCopy () {
|
||||||
console.log('rightCopy')
|
|
||||||
$(`#${this.treeDivId}rMenu`).css({'visibility': 'hidden'})
|
$(`#${this.treeDivId}rMenu`).css({'visibility': 'hidden'})
|
||||||
this.setOpenNodes()
|
this.setOpenNodes()
|
||||||
this.$emit('treeCopy', this.treeId, this.treeNode)
|
this.$emit('treeCopy', this.treeId, this.treeNode)
|
||||||
@@ -1284,7 +1282,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showRMenu (type, x, y, treeId, treeNode) {
|
function showRMenu (type, x, y, treeId, treeNode) {
|
||||||
console.log('showRMenu')
|
|
||||||
// 右键隐藏菜单的节点
|
// 右键隐藏菜单的节点
|
||||||
if (treeNode.pId !== null && _this.showRMenu && !_this.disabled && _this.editable) {
|
if (treeNode.pId !== null && _this.showRMenu && !_this.disabled && _this.editable) {
|
||||||
_this.isRoot = false
|
_this.isRoot = false
|
||||||
@@ -1322,7 +1319,6 @@ export default {
|
|||||||
}
|
}
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
function hideRMenu () {
|
function hideRMenu () {
|
||||||
console.log('hideRMenu')
|
|
||||||
if (rMenu) rMenu.css({'visibility': 'hidden'})
|
if (rMenu) rMenu.css({'visibility': 'hidden'})
|
||||||
$('body').unbind('mousedown', onBodyMouseDown)
|
$('body').unbind('mousedown', onBodyMouseDown)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -228,7 +228,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
console.log('item1111111', item)
|
|
||||||
// let routeUrl = this.$router.resolve({
|
// let routeUrl = this.$router.resolve({
|
||||||
// name: 'OtherStandardDetails',
|
// name: 'OtherStandardDetails',
|
||||||
// params: {
|
// params: {
|
||||||
@@ -252,12 +251,10 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
console.log('res.data', res)
|
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleLaws (item) {
|
handleLaws (item) {
|
||||||
console.log('item1111111', item)
|
|
||||||
// let routeUrl = this.$router.resolve({
|
// let routeUrl = this.$router.resolve({
|
||||||
// name: 'OtherLawsDetails',
|
// name: 'OtherLawsDetails',
|
||||||
// params: {
|
// params: {
|
||||||
@@ -283,7 +280,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
console.log('res.data', res)
|
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -369,7 +365,6 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
this.msgDetails.collectId = res.data.id
|
this.msgDetails.collectId = res.data.id
|
||||||
console.log('msgDetails.collectId', this.msgDetails.collectId)
|
|
||||||
}, e => {
|
}, e => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -301,7 +301,6 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
this.msgDetails.collectId = res.data.id
|
this.msgDetails.collectId = res.data.id
|
||||||
console.log('msgDetails.collectId', this.msgDetails.collectId)
|
|
||||||
}, e => {
|
}, e => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
@@ -329,7 +328,6 @@ export default {
|
|||||||
obj.content = this.relateList[i].content
|
obj.content = this.relateList[i].content
|
||||||
this.relateNowList.push(obj)
|
this.relateNowList.push(obj)
|
||||||
}
|
}
|
||||||
console.log('relateNowList', this.relateNowList)
|
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -419,7 +417,6 @@ export default {
|
|||||||
this.$message.warning('暂无相关标准')
|
this.$message.warning('暂无相关标准')
|
||||||
} else {
|
} else {
|
||||||
let row = item.releventStandIds.split('/')
|
let row = item.releventStandIds.split('/')
|
||||||
console.log(row)
|
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
@@ -436,7 +433,6 @@ export default {
|
|||||||
this.$message.warning('暂无相关政策')
|
this.$message.warning('暂无相关政策')
|
||||||
} else {
|
} else {
|
||||||
let row = item.releventLawsIds.split('/')
|
let row = item.releventLawsIds.split('/')
|
||||||
console.log(row)
|
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsDetails',
|
name: 'OtherLawsDetails',
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
@@ -264,7 +264,6 @@
|
|||||||
},
|
},
|
||||||
// 批量删除
|
// 批量删除
|
||||||
batchMSGDel (type, row) {
|
batchMSGDel (type, row) {
|
||||||
console.log(row);
|
|
||||||
if (type === 2) {
|
if (type === 2) {
|
||||||
this.$confirm('是否删除此数据?', '提示', {
|
this.$confirm('是否删除此数据?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
@@ -355,7 +354,6 @@
|
|||||||
// 查看
|
// 查看
|
||||||
// 如果为自定义类型,可再当前结构树中手动维护,添加删除编辑等,
|
// 如果为自定义类型,可再当前结构树中手动维护,添加删除编辑等,
|
||||||
// 如果为基础体系库则是查看基础库中的数据。不可编辑删除操作。
|
// 如果为基础体系库则是查看基础库中的数据。不可编辑删除操作。
|
||||||
console.log(row)
|
|
||||||
this.$store.commit('setDetailMap', this.$route.path)
|
this.$store.commit('setDetailMap', this.$route.path)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'managementTree',
|
name: 'managementTree',
|
||||||
|
|||||||
@@ -302,22 +302,18 @@
|
|||||||
},
|
},
|
||||||
treeClickThree (treeNode) {
|
treeClickThree (treeNode) {
|
||||||
this.selectTree = treeNode // 记录当前选中的二级菜单
|
this.selectTree = treeNode // 记录当前选中的二级菜单
|
||||||
console.log('选择的树', this.selectTree)
|
|
||||||
},
|
},
|
||||||
treeRightClickThree (treeNode) {
|
treeRightClickThree (treeNode) {
|
||||||
this.selectTree = treeNode // 记录当前选中的二级菜单
|
this.selectTree = treeNode // 记录当前选中的二级菜单
|
||||||
if (treeNode.selfFlag === '2'){
|
if (treeNode.selfFlag === '2'){
|
||||||
this.operationAuthority = true
|
this.operationAuthority = true
|
||||||
console.log('ok');
|
|
||||||
} else {
|
} else {
|
||||||
this.operationAuthority = false
|
this.operationAuthority = false
|
||||||
}
|
}
|
||||||
console.log('右击选择的树', this.selectTree)
|
|
||||||
},
|
},
|
||||||
// 二级菜单新建,编辑,删除
|
// 二级菜单新建,编辑,删除
|
||||||
clickDropMenu (name, treeNode) {
|
clickDropMenu (name, treeNode) {
|
||||||
this.selectSarMenu = JSON.parse(JSON.stringify(treeNode))
|
this.selectSarMenu = JSON.parse(JSON.stringify(treeNode))
|
||||||
console.log('点击',this.selectSarMenu);
|
|
||||||
if (undefined !== this.selectSarMenu.id) { // 当前有选中节点
|
if (undefined !== this.selectSarMenu.id) { // 当前有选中节点
|
||||||
if (name === 'newMenu') {
|
if (name === 'newMenu') {
|
||||||
this.menuModalTitle = '新增目录'
|
this.menuModalTitle = '新增目录'
|
||||||
@@ -332,7 +328,6 @@
|
|||||||
rootNum:this.baseDataId
|
rootNum:this.baseDataId
|
||||||
}
|
}
|
||||||
} else if (name === 'editMenu') {
|
} else if (name === 'editMenu') {
|
||||||
console.log('treeNode',treeNode);
|
|
||||||
this.menuModalTitle = '编辑目录'
|
this.menuModalTitle = '编辑目录'
|
||||||
this.menuModalFlag = true
|
this.menuModalFlag = true
|
||||||
this.menuAddOrUpdateFlag = 2
|
this.menuAddOrUpdateFlag = 2
|
||||||
@@ -421,7 +416,6 @@
|
|||||||
// 体系基础数据库-新建,编辑,删除
|
// 体系基础数据库-新建,编辑,删除
|
||||||
clickDropMenuThree (name, treeNode) {
|
clickDropMenuThree (name, treeNode) {
|
||||||
this.selectSarMenu = JSON.parse(JSON.stringify(treeNode))
|
this.selectSarMenu = JSON.parse(JSON.stringify(treeNode))
|
||||||
console.log('点击',this.selectSarMenu);
|
|
||||||
if (undefined !== this.selectSarMenu.id) { // 当前有选中节点
|
if (undefined !== this.selectSarMenu.id) { // 当前有选中节点
|
||||||
if (name === 'newMenu') {
|
if (name === 'newMenu') {
|
||||||
this.modalTitle = '新增目录'
|
this.modalTitle = '新增目录'
|
||||||
@@ -435,7 +429,6 @@
|
|||||||
selfSort: ''
|
selfSort: ''
|
||||||
}
|
}
|
||||||
} else if (name === 'editMenu') {
|
} else if (name === 'editMenu') {
|
||||||
console.log('treeNode',treeNode);
|
|
||||||
this.modalTitle = '编辑目录'
|
this.modalTitle = '编辑目录'
|
||||||
this.modalFlag = true
|
this.modalFlag = true
|
||||||
this.threeFlag = 2
|
this.threeFlag = 2
|
||||||
@@ -444,7 +437,6 @@
|
|||||||
this.dataListThree.map((item, index) => {
|
this.dataListThree.map((item, index) => {
|
||||||
if (this.addMenu.id === item.id) {
|
if (this.addMenu.id === item.id) {
|
||||||
selectNode.push(item)
|
selectNode.push(item)
|
||||||
console.log('编辑的selectNode', selectNode)
|
|
||||||
this.addMenu.pid = selectNode[0].pid
|
this.addMenu.pid = selectNode[0].pid
|
||||||
this.addMenu.selfCode = selectNode[0].svppsCode
|
this.addMenu.selfCode = selectNode[0].svppsCode
|
||||||
this.addMenu.selfName = selectNode[0].svppsCnName
|
this.addMenu.selfName = selectNode[0].svppsCnName
|
||||||
@@ -582,7 +574,6 @@
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.menuAddOrUpdateFlag === 1) {
|
if (this.menuAddOrUpdateFlag === 1) {
|
||||||
this.sarMenu.pid = this.selectSarMenu.id
|
this.sarMenu.pid = this.selectSarMenu.id
|
||||||
console.log(this.selectSarMenu.id)
|
|
||||||
// if (this.selectSarMenu.parentIds != null) {
|
// if (this.selectSarMenu.parentIds != null) {
|
||||||
// this.sarMenu.parentIds = this.selectSarMenu.parentIds + ',' + this.selectSarMenu.id
|
// this.sarMenu.parentIds = this.selectSarMenu.parentIds + ',' + this.selectSarMenu.id
|
||||||
// } else {
|
// } else {
|
||||||
@@ -650,11 +641,9 @@
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
operationAuthority(newValue) {
|
operationAuthority(newValue) {
|
||||||
console.log('newValue',newValue)
|
|
||||||
// this.operationAuthority = newValue
|
// this.operationAuthority = newValue
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.operationAuthority = newValue
|
this.operationAuthority = newValue
|
||||||
console.log('this.operationAuthority',this.operationAuthority)
|
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -662,8 +651,6 @@
|
|||||||
computed: {
|
computed: {
|
||||||
},
|
},
|
||||||
mounted () {
|
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
|
this.baseDataId =this.$route.query.qbBaseId
|
||||||
switch (this.$route.query.qbDataType) {
|
switch (this.$route.query.qbDataType) {
|
||||||
case '1':
|
case '1':
|
||||||
|
|||||||
@@ -623,7 +623,6 @@ export default {
|
|||||||
loading: 'treeModalLoading'
|
loading: 'treeModalLoading'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
console.log('dataaaaaa', res.data)
|
|
||||||
let backData = res.data
|
let backData = res.data
|
||||||
// 新增一个接口
|
// 新增一个接口
|
||||||
this.$http.postData('lawss/sarSubMenu/insertSarSubMenuall', backData, {
|
this.$http.postData('lawss/sarSubMenu/insertSarSubMenuall', backData, {
|
||||||
|
|||||||
@@ -108,7 +108,6 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
console.log('新增/编辑成功')
|
|
||||||
this.$emit('success')
|
this.$emit('success')
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,7 +84,6 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
console.log('新增/编辑成功')
|
|
||||||
this.$emit('success')
|
this.$emit('success')
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -178,7 +178,6 @@ export default {
|
|||||||
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
console.log('item', item)
|
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
@@ -216,7 +215,6 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log('删除成功')
|
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
this.queryTablePage()
|
this.queryTablePage()
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
@@ -170,7 +170,6 @@ export default {
|
|||||||
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
console.log('item', item)
|
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
@@ -380,7 +380,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
goNuwPage (item) {
|
goNuwPage (item) {
|
||||||
console.log('item', item)
|
|
||||||
this.$store.commit('setDetailMap', this.$route.path)
|
this.$store.commit('setDetailMap', this.$route.path)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'StandLawsAttrDetails',
|
name: 'StandLawsAttrDetails',
|
||||||
@@ -598,7 +597,6 @@ export default {
|
|||||||
let listId = this.selectedList[i]
|
let listId = this.selectedList[i]
|
||||||
listIds.push(listId)
|
listIds.push(listId)
|
||||||
}
|
}
|
||||||
console.log(listIds)
|
|
||||||
let listIdsStr = listIds.join(',')
|
let listIdsStr = listIds.join(',')
|
||||||
this.$confirm('确定删除这些数据?', '提示', {
|
this.$confirm('确定删除这些数据?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
|
|||||||
@@ -690,7 +690,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 打开新增用户模态框
|
// 打开新增用户模态框
|
||||||
openAddUserModal () {
|
openAddUserModal () {
|
||||||
console.log('userVO',this.userVO)
|
|
||||||
this.userTitle = '新增用户'
|
this.userTitle = '新增用户'
|
||||||
this.userVO.roleIdList = ''
|
this.userVO.roleIdList = ''
|
||||||
this.showPWD = true
|
this.showPWD = true
|
||||||
|
|||||||
@@ -2557,7 +2557,6 @@ export default {
|
|||||||
...mapGetters(['rukuBaseInfo'])
|
...mapGetters(['rukuBaseInfo'])
|
||||||
},
|
},
|
||||||
async mounted () {
|
async mounted () {
|
||||||
console.log(this.rukuBaseInfo)
|
|
||||||
// this.sarStandardsInfoEO.id = this.$route.params.id
|
// this.sarStandardsInfoEO.id = this.$route.params.id
|
||||||
// // await this.selectStandMessage()
|
// // await this.selectStandMessage()
|
||||||
// this.standItemEO.standId = this.$route.params.id
|
// this.standItemEO.standId = this.$route.params.id
|
||||||
|
|||||||
@@ -219,7 +219,6 @@ export default {
|
|||||||
});
|
});
|
||||||
let graphData = this.graphData
|
let graphData = this.graphData
|
||||||
G6.Util.traverseTree(graphData, function(item) {
|
G6.Util.traverseTree(graphData, function(item) {
|
||||||
// console.log(item)
|
|
||||||
const data = item.data || {}
|
const data = item.data || {}
|
||||||
item.id = item.nodeId;
|
item.id = item.nodeId;
|
||||||
item.name = item.nodeName
|
item.name = item.nodeName
|
||||||
@@ -273,7 +272,6 @@ export default {
|
|||||||
graph.setItemState(ce, 'click', false);
|
graph.setItemState(ce, 'click', false);
|
||||||
});
|
});
|
||||||
const edgeItem = e.item; // 获取被点击的边元素对象
|
const edgeItem = e.item; // 获取被点击的边元素对象
|
||||||
console.log('EdgeClick', edgeItem)
|
|
||||||
graph.setItemState(edgeItem, 'click', true); // 设置当前边的 click 状态为 true
|
graph.setItemState(edgeItem, 'click', true); // 设置当前边的 click 状态为 true
|
||||||
this.$emit('edgeClick', edgeItem)
|
this.$emit('edgeClick', edgeItem)
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -513,7 +513,6 @@ export default {
|
|||||||
month = month.toString().padStart(2, '0')
|
month = month.toString().padStart(2, '0')
|
||||||
date = date.toString().padStart(2, '0')
|
date = date.toString().padStart(2, '0')
|
||||||
var defaultDate = `${year}-${month}-${date}`
|
var defaultDate = `${year}-${month}-${date}`
|
||||||
console.log('defaultDate', defaultDate)
|
|
||||||
// this.$set(this.searchFormField, 'date', defaultDate)
|
// this.$set(this.searchFormField, 'date', defaultDate)
|
||||||
this.userVO.receiveTime = defaultDate
|
this.userVO.receiveTime = defaultDate
|
||||||
},
|
},
|
||||||
@@ -607,7 +606,6 @@ export default {
|
|||||||
for (let key in item) {
|
for (let key in item) {
|
||||||
if (key === 'dicCodeName') {
|
if (key === 'dicCodeName') {
|
||||||
treeItem.name = item[key]
|
treeItem.name = item[key]
|
||||||
console.log('dicTypeName', item['dicTypeName'])
|
|
||||||
} else {
|
} else {
|
||||||
treeItem[key] = item[key]
|
treeItem[key] = item[key]
|
||||||
}
|
}
|
||||||
@@ -645,7 +643,6 @@ export default {
|
|||||||
// alert(1)
|
// alert(1)
|
||||||
this.standNum.busStandClass = treeNode.name
|
this.standNum.busStandClass = treeNode.name
|
||||||
this.busStandClassCode = this.standNum.busStandClass
|
this.busStandClassCode = this.standNum.busStandClass
|
||||||
console.log('TTTTTTTTTTT', this.busStandClassCode)
|
|
||||||
$('#deptBtn1').click()
|
$('#deptBtn1').click()
|
||||||
},
|
},
|
||||||
treeDblClick2 (treeId, treeNode) {
|
treeDblClick2 (treeId, treeNode) {
|
||||||
@@ -733,7 +730,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 编辑
|
// 编辑
|
||||||
selectStandardPro (item, state) {
|
selectStandardPro (item, state) {
|
||||||
console.log('item11111111111', item)
|
|
||||||
this.numTitle = '修改标准编号'
|
this.numTitle = '修改标准编号'
|
||||||
this.showNumModal = true
|
this.showNumModal = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -766,7 +762,6 @@ export default {
|
|||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
this.getOrgTreeSource2()
|
this.getOrgTreeSource2()
|
||||||
this.numType = 2
|
this.numType = 2
|
||||||
console.log(' item.busStandClassShow', item.busStandClassShow)
|
|
||||||
// 赋值
|
// 赋值
|
||||||
this.sarBussionessStandEO.busStandClass = item.busStandClass
|
this.sarBussionessStandEO.busStandClass = item.busStandClass
|
||||||
this.sarBussionessStandEO.employerShow = item.employerShow
|
this.sarBussionessStandEO.employerShow = item.employerShow
|
||||||
@@ -912,7 +907,6 @@ export default {
|
|||||||
// let userEOStr = JSON.stringify(this.userVO)
|
// let userEOStr = JSON.stringify(this.userVO)
|
||||||
// let userEOStr = JSON.parse(JSON.stringify(this.userVO))
|
// let userEOStr = JSON.parse(JSON.stringify(this.userVO))
|
||||||
// 验证标准--新增、编辑都先验证
|
// 验证标准--新增、编辑都先验证
|
||||||
console.log('JSON.stringify(this.userVO.busStandClass)', JSON.stringify(this.userVO.busStandClass))
|
|
||||||
this.$http.post('lawss/sarStandReceivr/validateStandNumber', {
|
this.$http.post('lawss/sarStandReceivr/validateStandNumber', {
|
||||||
// userStr: userEOStr
|
// userStr: userEOStr
|
||||||
busStandClass: JSON.stringify(this.userVO.busStandClass),
|
busStandClass: JSON.stringify(this.userVO.busStandClass),
|
||||||
@@ -925,7 +919,6 @@ export default {
|
|||||||
res => {
|
res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
// 更新
|
// 更新
|
||||||
console.log('this.numType', this.numType)
|
|
||||||
if (this.numType !== 1) {
|
if (this.numType !== 1) {
|
||||||
// alert('编辑')
|
// alert('编辑')
|
||||||
this.drawerLoading = true
|
this.drawerLoading = true
|
||||||
@@ -942,7 +935,6 @@ export default {
|
|||||||
// 新增
|
// 新增
|
||||||
// alert('新增')
|
// alert('新增')
|
||||||
// this.userVO.employerShow = this.userVO.employer
|
// this.userVO.employerShow = this.userVO.employer
|
||||||
console.log('新增', this.userVO)
|
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.$http.postData('lawss/sarStandReceivr/create', this.userVO,
|
this.$http.postData('lawss/sarStandReceivr/create', this.userVO,
|
||||||
{_this: this},
|
{_this: this},
|
||||||
|
|||||||
@@ -1254,7 +1254,6 @@ export default {
|
|||||||
var index2 = filename.length
|
var index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
console.log(this.defaultFileList)
|
|
||||||
if (this.defaultFileList.length > 0) {
|
if (this.defaultFileList.length > 0) {
|
||||||
this.$message.warning('一次仅能拆分一个文件')
|
this.$message.warning('一次仅能拆分一个文件')
|
||||||
return false
|
return false
|
||||||
@@ -1270,7 +1269,6 @@ export default {
|
|||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
beforeSplitResultImport(file) {
|
beforeSplitResultImport(file) {
|
||||||
console.log(file)
|
|
||||||
var filename = file.name
|
var filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
var index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
var index2 = filename.length
|
||||||
@@ -1393,7 +1391,6 @@ export default {
|
|||||||
break
|
break
|
||||||
case '收藏':
|
case '收藏':
|
||||||
let personCollect = {}
|
let personCollect = {}
|
||||||
console.log(command[0])
|
|
||||||
personCollect.collectResId = command[0].id // id
|
personCollect.collectResId = command[0].id // id
|
||||||
personCollect.collectType = 'STAND_SPLIT' // 类型
|
personCollect.collectType = 'STAND_SPLIT' // 类型
|
||||||
if (command[0].standId) {
|
if (command[0].standId) {
|
||||||
|
|||||||
@@ -427,7 +427,6 @@ export default {
|
|||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
item.isSubmit = false
|
item.isSubmit = false
|
||||||
item.collectBtn = !item.collectBtn
|
item.collectBtn = !item.collectBtn
|
||||||
console.log(item.collectBtn, '点击收藏后')
|
|
||||||
item.collectId = res.data.id
|
item.collectId = res.data.id
|
||||||
this.cancelCollect = !this.cancelCollect
|
this.cancelCollect = !this.cancelCollect
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
-1
@@ -844,7 +844,6 @@ export default {
|
|||||||
this.$http.get('activiti/busProcess/selectProcessByStandId', obj, {
|
this.$http.get('activiti/busProcess/selectProcessByStandId', obj, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log(res)
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.opinionsProcessList = res.data.opinionsProcessList
|
this.opinionsProcessList = res.data.opinionsProcessList
|
||||||
this.notifiProcessList = res.data.notifiProcessList
|
this.notifiProcessList = res.data.notifiProcessList
|
||||||
|
|||||||
@@ -168,8 +168,6 @@ export default {
|
|||||||
return date != null ? date.substring(0, date.indexOf(' ')) : ''
|
return date != null ? date.substring(0, date.indexOf(' ')) : ''
|
||||||
},
|
},
|
||||||
cancleCollectBatch () {
|
cancleCollectBatch () {
|
||||||
console.log(this.selectedList);
|
|
||||||
return
|
|
||||||
if (this.selectedList.length === 0) {
|
if (this.selectedList.length === 0) {
|
||||||
this.$confirm('请先选择数据进行取消收藏', '提示', {
|
this.$confirm('请先选择数据进行取消收藏', '提示', {
|
||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
|
|||||||
@@ -156,7 +156,6 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
},res => {
|
},res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
console.log('success', res)
|
|
||||||
// this.newDialogVisible = false
|
// this.newDialogVisible = false
|
||||||
this.$message({
|
this.$message({
|
||||||
message: res.data,
|
message: res.data,
|
||||||
@@ -173,7 +172,6 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log('error submit!!');
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -113,7 +113,6 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
},res => {
|
},res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
console.log('success', res)
|
|
||||||
// this.newDialogVisible = false
|
// this.newDialogVisible = false
|
||||||
this.$message({
|
this.$message({
|
||||||
message: res.data,
|
message: res.data,
|
||||||
@@ -130,7 +129,6 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log('error submit!!');
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -216,8 +216,6 @@ export default {
|
|||||||
dealWith (row) { // 办理
|
dealWith (row) { // 办理
|
||||||
this.setHandleInfo(JSON.stringify(row))
|
this.setHandleInfo(JSON.stringify(row))
|
||||||
const prcType = row.prcType
|
const prcType = row.prcType
|
||||||
console.log(prcType)
|
|
||||||
console.log(row.taskInfo)
|
|
||||||
switch(prcType) {
|
switch(prcType) {
|
||||||
case '1':
|
case '1':
|
||||||
if (row.taskInfo === '标准法规业务经理审批') {
|
if (row.taskInfo === '标准法规业务经理审批') {
|
||||||
|
|||||||
@@ -54,6 +54,25 @@ export default {
|
|||||||
watch: {},
|
watch: {},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
|
},
|
||||||
|
beforeRouteLeave(to, from, next) {
|
||||||
|
const toName = ['ListOfStandardsAndRegulationsDetails', 'Details', 'ProjectAddEit', 'OtherAddEit']
|
||||||
|
// 离开此页面之前,记录tabName以便返回使用,如果将要访问的页面不是这两个,则清空tabName
|
||||||
|
if (toName.includes(to.name)) {
|
||||||
|
this.$store.commit('SET_ACCESS_STANDARD_REG_TABS', this.tabValue)
|
||||||
|
} else {
|
||||||
|
this.$store.commit('SET_ACCESS_STANDARD_REG_TABS')
|
||||||
|
}
|
||||||
|
setTimeout(() => {
|
||||||
|
next()
|
||||||
|
}, 100)
|
||||||
|
},
|
||||||
|
beforeRouteEnter(to, from, next) {
|
||||||
|
next(vm => {
|
||||||
|
if (vm.$store.state.accessStandRegTabName !== '') {
|
||||||
|
vm.tabValue = vm.$store.state.accessStandRegTabName
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
+8
-9
@@ -105,12 +105,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="detailedListVesion"
|
prop="detailedListVision"
|
||||||
label="清单版本"
|
label="清单版本"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span
|
<span
|
||||||
v-if="scope.row.detailedListVesion != null && scope.row.detailedListVesion !== ''">{{ scope.row.detailedListVesion
|
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{ scope.row.detailedListVision
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
sortable
|
sortable
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.updateTime ? scope.row.updateTime.split(" ")[0] : "" }}</div>
|
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -188,7 +188,7 @@ export default {
|
|||||||
country: "",
|
country: "",
|
||||||
applyArctic: "",
|
applyArctic: "",
|
||||||
energyKind: "",
|
energyKind: "",
|
||||||
accessContent: "",
|
detailedListName: "",
|
||||||
region: ""
|
region: ""
|
||||||
},
|
},
|
||||||
drawerPage: 1, // 当前抽屉分页的页码
|
drawerPage: 1, // 当前抽屉分页的页码
|
||||||
@@ -200,9 +200,9 @@ export default {
|
|||||||
country: [
|
country: [
|
||||||
{ required: true, message: "国家不能为空", trigger: "change" }
|
{ required: true, message: "国家不能为空", trigger: "change" }
|
||||||
],
|
],
|
||||||
accessContent: [
|
detailedListName: [
|
||||||
{ required: true, message: "表格名称不能为空", trigger: "blur" },
|
{ required: true, message: "清单名称不能为空", trigger: "blur" },
|
||||||
{ type: "string", max: 100, message: "表格名称不能超过100个字符", trigger: "blur" }
|
{ type: "string", max: 100, message: "清单名称不能超过100个字符", trigger: "blur" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
countryOptions: [],
|
countryOptions: [],
|
||||||
@@ -262,7 +262,6 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log(res.data.records);
|
|
||||||
this.sarAccessListDatas = res.data.records;
|
this.sarAccessListDatas = res.data.records;
|
||||||
this.sarAccessListTotal = res.data.total
|
this.sarAccessListTotal = res.data.total
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -338,7 +337,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击 table编辑按钮 事件
|
// 点击 table编辑按钮 事件
|
||||||
editTable(item) {
|
editTable(item) {
|
||||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
this.$store.commit('SET_ACCESS_STAND_REG_ROW', item)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "ListOfStandardsAndRegulationsDetails",
|
name: "ListOfStandardsAndRegulationsDetails",
|
||||||
query: {
|
query: {
|
||||||
|
|||||||
@@ -96,12 +96,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="detailedListVesion"
|
prop="detailedListVision"
|
||||||
label="清单版本"
|
label="清单版本"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span
|
<span
|
||||||
v-if="scope.row.detailedListVesion != null && scope.row.detailedListVesion !== ''">{{ scope.row.detailedListVesion
|
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{ scope.row.detailedListVision
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
sortable
|
sortable
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.updateTime ? scope.row.updateTime.split(" ")[0] : "" }}</div>
|
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -179,7 +179,7 @@ export default {
|
|||||||
country: "",
|
country: "",
|
||||||
applyArctic: "",
|
applyArctic: "",
|
||||||
energyKind: "",
|
energyKind: "",
|
||||||
accessContent: "",
|
detailedListName: "",
|
||||||
region: ""
|
region: ""
|
||||||
},
|
},
|
||||||
drawerPage: 1, // 当前抽屉分页的页码
|
drawerPage: 1, // 当前抽屉分页的页码
|
||||||
@@ -191,9 +191,9 @@ export default {
|
|||||||
country: [
|
country: [
|
||||||
{ required: true, message: "国家不能为空", trigger: "change" }
|
{ required: true, message: "国家不能为空", trigger: "change" }
|
||||||
],
|
],
|
||||||
accessContent: [
|
detailedListName: [
|
||||||
{ required: true, message: "表格名称不能为空", trigger: "blur" },
|
{ required: true, message: "清单名称不能为空", trigger: "blur" },
|
||||||
{ type: "string", max: 100, message: "表格名称不能超过100个字符", trigger: "blur" }
|
{ type: "string", max: 100, message: "清单名称不能超过100个字符", trigger: "blur" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
countryOptions: [],
|
countryOptions: [],
|
||||||
@@ -344,7 +344,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击 table编辑按钮 事件
|
// 点击 table编辑按钮 事件
|
||||||
editTable(item) {
|
editTable(item) {
|
||||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
this.$store.commit('SET_ACCESS_STAND_REG_ROW', item)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "OtherAddEit",
|
name: "OtherAddEit",
|
||||||
query: {
|
query: {
|
||||||
|
|||||||
@@ -96,12 +96,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="detailedListVesion"
|
prop="detailedListVision"
|
||||||
label="清单版本"
|
label="清单版本"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span
|
<span
|
||||||
v-if="scope.row.detailedListVesion != null && scope.row.detailedListVesion !== ''">{{ scope.row.detailedListVesion
|
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{ scope.row.detailedListVision
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
sortable
|
sortable
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.updateTime ? scope.row.updateTime.split(" ")[0] : "" }}</div>
|
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -179,7 +179,7 @@ export default {
|
|||||||
country: "",
|
country: "",
|
||||||
applyArctic: "",
|
applyArctic: "",
|
||||||
energyKind: "",
|
energyKind: "",
|
||||||
accessContent: "",
|
detailedListName: "",
|
||||||
region: ""
|
region: ""
|
||||||
},
|
},
|
||||||
drawerPage: 1, // 当前抽屉分页的页码
|
drawerPage: 1, // 当前抽屉分页的页码
|
||||||
@@ -191,9 +191,9 @@ export default {
|
|||||||
country: [
|
country: [
|
||||||
{ required: true, message: "国家不能为空", trigger: "change" }
|
{ required: true, message: "国家不能为空", trigger: "change" }
|
||||||
],
|
],
|
||||||
accessContent: [
|
detailedListName: [
|
||||||
{ required: true, message: "表格名称不能为空", trigger: "blur" },
|
{ required: true, message: "清单名称不能为空", trigger: "blur" },
|
||||||
{ type: "string", max: 100, message: "表格名称不能超过100个字符", trigger: "blur" }
|
{ type: "string", max: 100, message: "清单名称不能超过100个字符", trigger: "blur" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
countryOptions: [],
|
countryOptions: [],
|
||||||
@@ -347,7 +347,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击 table编辑按钮 事件
|
// 点击 table编辑按钮 事件
|
||||||
editTable(item) {
|
editTable(item) {
|
||||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
this.$store.commit('SET_ACCESS_STAND_REG_ROW', item)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "ProjectAddEit",
|
name: "ProjectAddEit",
|
||||||
query: {
|
query: {
|
||||||
|
|||||||
@@ -131,9 +131,9 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="清单名称" prop="accessContent" class="search-item" v-show="isListType">
|
<el-form-item label="清单名称" prop="detailedListName" class="search-item" v-show="isListType">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.accessContent"
|
v-model="sarAccessInfoSearch.detailedListName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -268,7 +268,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="accessContent"
|
prop="detailedListName"
|
||||||
label="清单名称"
|
label="清单名称"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -451,6 +451,7 @@ import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
|
|||||||
import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPolicy'
|
import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPolicy'
|
||||||
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
||||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
export default {
|
export default {
|
||||||
name: 'ListOfStandardsAndRegulationsDetails',
|
name: 'ListOfStandardsAndRegulationsDetails',
|
||||||
components: {
|
components: {
|
||||||
@@ -552,7 +553,6 @@ export default {
|
|||||||
askType: '', // 监管类型
|
askType: '', // 监管类型
|
||||||
dataSource: 'INLAND_STAND', // 数据来源
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
accessSarType: 'SKILL', // 清单类型
|
accessSarType: 'SKILL', // 清单类型
|
||||||
accessContent: '', // 清单名称
|
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
validFlag: 0,
|
validFlag: 0,
|
||||||
@@ -700,6 +700,7 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
depNode: [], // 部门树
|
depNode: [], // 部门树
|
||||||
|
isNext: false,
|
||||||
depFONode: [],
|
depFONode: [],
|
||||||
depRoleNode: [],
|
depRoleNode: [],
|
||||||
standNatureOptions: [], // 新增 标准性质
|
standNatureOptions: [], // 新增 标准性质
|
||||||
@@ -922,7 +923,7 @@ export default {
|
|||||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
this.sarAccessInfoSearch.keywords = '' // 关键字
|
||||||
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
||||||
this.sarAccessInfoSearch.askType = '' // 监管类型
|
this.sarAccessInfoSearch.askType = '' // 监管类型
|
||||||
this.sarAccessInfoSearch.accessContent = '' // 清单名称
|
this.sarAccessInfoSearch.detailedListName = '' // 清单名称
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
||||||
this.isListType = false
|
this.isListType = false
|
||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
@@ -1454,7 +1455,6 @@ export default {
|
|||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
||||||
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
sarAccessEO.detailedListName = sarAccessEO.detailedListName.join(',')
|
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
if (this.fileInfoList.length > 0) {
|
if (this.fileInfoList.length > 0) {
|
||||||
let relateFile = []
|
let relateFile = []
|
||||||
@@ -1472,7 +1472,7 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
console.log('页面跳转 ');
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
})
|
})
|
||||||
@@ -1481,11 +1481,12 @@ export default {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
// 编辑
|
// 编辑
|
||||||
this.$http.post('sarLawsDetailedList/sar-laws-detailed-list/updateList', sarAccessEO, {
|
this.$http.putData('sarLawsDetailedList/sar-laws-detailed-list/updateList', sarAccessEO, {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
})
|
})
|
||||||
@@ -1669,6 +1670,23 @@ export default {
|
|||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeRouteLeave(to, from, next) {
|
||||||
|
if (to.name === 'Login' || this.isNext) {
|
||||||
|
next()
|
||||||
|
} else {
|
||||||
|
this.$confirm('是否放弃编辑', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
confirmButtonClass: 'common-button-primary',
|
||||||
|
roundButton: true,
|
||||||
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
|
next()
|
||||||
|
}).catch(() => {
|
||||||
|
// alert("router")
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
// 点击清单条目 新增按钮 事件
|
// 点击清单条目 新增按钮 事件
|
||||||
addEntry () {
|
addEntry () {
|
||||||
this.editAddType = 1
|
this.editAddType = 1
|
||||||
@@ -2183,6 +2201,9 @@ export default {
|
|||||||
this.accessSarTypeList = []
|
this.accessSarTypeList = []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters(['getAccessStandardRegRow']),
|
||||||
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getDept()
|
this.getDept()
|
||||||
// 从数据库中查询各下拉框数据
|
// 从数据库中查询各下拉框数据
|
||||||
@@ -2207,7 +2228,7 @@ export default {
|
|||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
// 判断是否是编辑
|
// 判断是否是编辑
|
||||||
if (this.$route.query.id) {
|
if (this.$route.query.id) {
|
||||||
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
const accessRow = this.getAccessStandardRegRow
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
@@ -2226,6 +2247,13 @@ export default {
|
|||||||
this.$refs['sarAccessForm'].resetFields()
|
this.$refs['sarAccessForm'].resetFields()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
beforeRouteLeave(to, from, next) {
|
||||||
|
next()
|
||||||
|
setTimeout(() => {
|
||||||
|
// 清空详情
|
||||||
|
this.$store.commit('SET_ACCESS_STAND_REG_ROW')
|
||||||
|
}, 100)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -306,7 +306,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 根据准入id查询标准法规详情
|
// 根据准入id查询标准法规详情
|
||||||
selectInfobyAccid() {
|
selectInfobyAccid() {
|
||||||
console.log('309',this.pageId);
|
|
||||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||||
...this.standardForm,
|
...this.standardForm,
|
||||||
id: this.pageId,
|
id: this.pageId,
|
||||||
|
|||||||
@@ -116,9 +116,9 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="清单名称" prop="accessContent" class="search-item" v-show="isListType">
|
<el-form-item label="清单名称" prop="detailedListName" class="search-item" v-show="isListType">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.accessContent"
|
v-model="sarAccessInfoSearch.detailedListName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="accessContent"
|
prop="detailedListName"
|
||||||
label="清单名称"
|
label="清单名称"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -436,6 +436,7 @@ import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
|
|||||||
import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPolicy'
|
import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPolicy'
|
||||||
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
||||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||||
|
import { mapGetters } from "vuex";
|
||||||
export default {
|
export default {
|
||||||
name: 'OtherAddEit',
|
name: 'OtherAddEit',
|
||||||
components: {
|
components: {
|
||||||
@@ -536,7 +537,7 @@ export default {
|
|||||||
askType: '', // 监管类型
|
askType: '', // 监管类型
|
||||||
dataSource: 'INLAND_STAND', // 数据来源
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
accessSarType: 'SKILL', // 清单类型
|
accessSarType: 'SKILL', // 清单类型
|
||||||
accessContent: '', // 清单名称
|
detailedListName: '', // 清单名称
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
validFlag: 0,
|
validFlag: 0,
|
||||||
@@ -911,7 +912,7 @@ export default {
|
|||||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
this.sarAccessInfoSearch.keywords = '' // 关键字
|
||||||
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
||||||
this.sarAccessInfoSearch.askType = '' // 监管类型
|
this.sarAccessInfoSearch.askType = '' // 监管类型
|
||||||
this.sarAccessInfoSearch.accessContent = '' // 清单名称
|
this.sarAccessInfoSearch.detailedListName = '' // 清单名称
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
||||||
this.isListType = false
|
this.isListType = false
|
||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
@@ -1457,7 +1458,6 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
console.log('页面跳转 ');
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
})
|
})
|
||||||
@@ -1466,7 +1466,7 @@ export default {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
// 编辑
|
// 编辑
|
||||||
this.$http.post('sarLawsDetailedList/sar-laws-detailed-list/updateList', sarAccessEO, {
|
this.$http.putData('sarLawsDetailedList/sar-laws-detailed-list/updateList', sarAccessEO, {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -1885,7 +1885,7 @@ export default {
|
|||||||
res.data.ADMIN.map((item, index) => {
|
res.data.ADMIN.map((item, index) => {
|
||||||
item.uuid = this.number
|
item.uuid = this.number
|
||||||
item.GXHBQ = item.gxhbq
|
item.GXHBQ = item.gxhbq
|
||||||
item.eopPutTime = item.eopPutTextTime
|
item.eopPutTime = item.eopPutTextTime //实施日期
|
||||||
item.newPutTime = item.newPutTextTime
|
item.newPutTime = item.newPutTextTime
|
||||||
item.prodPutTime = item.prodPutTextTime
|
item.prodPutTime = item.prodPutTextTime
|
||||||
this.number++
|
this.number++
|
||||||
@@ -2169,6 +2169,9 @@ export default {
|
|||||||
this.accessSarTypeList = []
|
this.accessSarTypeList = []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters(['getAccessStandardRegRow']),
|
||||||
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getDept()
|
this.getDept()
|
||||||
// 从数据库中查询各下拉框数据
|
// 从数据库中查询各下拉框数据
|
||||||
@@ -2193,7 +2196,7 @@ export default {
|
|||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
// 判断是否是编辑
|
// 判断是否是编辑
|
||||||
if (this.$route.query.id) {
|
if (this.$route.query.id) {
|
||||||
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
const accessRow = this.getAccessStandardRegRow
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
// this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
// this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
|
|||||||
+11
-8
@@ -116,9 +116,9 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="清单名称" prop="accessContent" class="search-item" v-show="isListType">
|
<el-form-item label="清单名称" prop="detailedListName" class="search-item" v-show="isListType">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.accessContent"
|
v-model="sarAccessInfoSearch.detailedListName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="accessContent"
|
prop="detailedListName"
|
||||||
label="清单名称"
|
label="清单名称"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -436,6 +436,7 @@ import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
|
|||||||
import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPolicy'
|
import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPolicy'
|
||||||
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
||||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||||
|
import { mapGetters } from "vuex";
|
||||||
export default {
|
export default {
|
||||||
name: 'ProjectAddEit',
|
name: 'ProjectAddEit',
|
||||||
components: {
|
components: {
|
||||||
@@ -536,7 +537,7 @@ export default {
|
|||||||
askType: '', // 监管类型
|
askType: '', // 监管类型
|
||||||
dataSource: 'INLAND_STAND', // 数据来源
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
accessSarType: 'SKILL', // 清单类型
|
accessSarType: 'SKILL', // 清单类型
|
||||||
accessContent: '', // 清单名称
|
detailedListName: '', // 清单名称
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
validFlag: 0,
|
validFlag: 0,
|
||||||
@@ -911,7 +912,7 @@ export default {
|
|||||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
this.sarAccessInfoSearch.keywords = '' // 关键字
|
||||||
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
||||||
this.sarAccessInfoSearch.askType = '' // 监管类型
|
this.sarAccessInfoSearch.askType = '' // 监管类型
|
||||||
this.sarAccessInfoSearch.accessContent = '' // 清单名称
|
this.sarAccessInfoSearch.detailedListName = '' // 清单名称
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
||||||
this.isListType = false
|
this.isListType = false
|
||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
@@ -1459,7 +1460,6 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
console.log('页面跳转 ');
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
})
|
})
|
||||||
@@ -1468,7 +1468,7 @@ export default {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
// 编辑
|
// 编辑
|
||||||
this.$http.post('sarLawsDetailedList/sar-laws-detailed-list/updateList', sarAccessEO, {
|
this.$http.putData('sarLawsDetailedList/sar-laws-detailed-list/updateList', sarAccessEO, {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -2170,6 +2170,9 @@ export default {
|
|||||||
this.accessSarTypeList = []
|
this.accessSarTypeList = []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters(['getAccessStandardRegRow']),
|
||||||
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getDept()
|
this.getDept()
|
||||||
// 从数据库中查询各下拉框数据
|
// 从数据库中查询各下拉框数据
|
||||||
@@ -2194,7 +2197,7 @@ export default {
|
|||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
// 判断是否是编辑
|
// 判断是否是编辑
|
||||||
if (this.$route.query.id) {
|
if (this.$route.query.id) {
|
||||||
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
const accessRow = this.getAccessStandardRegRow
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
// this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
// this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
|
|||||||
@@ -2091,9 +2091,7 @@ export default {
|
|||||||
this.$message.success('导出信息成功')
|
this.$message.success('导出信息成功')
|
||||||
}
|
}
|
||||||
} else if (this.saveExportType === 'all') {
|
} else if (this.saveExportType === 'all') {
|
||||||
console.log('全部导出')
|
|
||||||
let exportEOStr = JSON.stringify(this.SarExportSearchEo)
|
let exportEOStr = JSON.stringify(this.SarExportSearchEo)
|
||||||
console.log(exportEOStr)
|
|
||||||
exportEOStr = exportEOStr.replace(/""/g, null)
|
exportEOStr = exportEOStr.replace(/""/g, null)
|
||||||
window.open(interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' +
|
window.open(interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' +
|
||||||
'exportType' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType)
|
'exportType' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType)
|
||||||
|
|||||||
-5
@@ -1601,7 +1601,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 授权-查询权限
|
// 授权-查询权限
|
||||||
givePower (item) {
|
givePower (item) {
|
||||||
console.log('item',item)
|
|
||||||
this.standId = item.id
|
this.standId = item.id
|
||||||
this.visibleOrgTable = true
|
this.visibleOrgTable = true
|
||||||
},
|
},
|
||||||
@@ -1613,8 +1612,6 @@ export default {
|
|||||||
idList.push(item.userId)
|
idList.push(item.userId)
|
||||||
nameList.push(item.userName)
|
nameList.push(item.userName)
|
||||||
})
|
})
|
||||||
console.log('idList', idList);
|
|
||||||
console.log('idListJoin', idList.join(','));
|
|
||||||
this.$http.post('lawss/sarBussionessStand/insertPerson', {
|
this.$http.post('lawss/sarBussionessStand/insertPerson', {
|
||||||
qbid: this.standId,
|
qbid: this.standId,
|
||||||
userIds: idList.join(',')
|
userIds: idList.join(',')
|
||||||
@@ -1842,7 +1839,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
console.log(item);
|
|
||||||
const mj = item.attrInfoMap.QBMJ
|
const mj = item.attrInfoMap.QBMJ
|
||||||
if (mj === 'GXNX7D6H59') {
|
if (mj === 'GXNX7D6H59') {
|
||||||
// C1所有人都可查看
|
// C1所有人都可查看
|
||||||
@@ -1889,7 +1885,6 @@ export default {
|
|||||||
const userInfo = this.userInfo
|
const userInfo = this.userInfo
|
||||||
const currentId = userInfo.userId // 当前用户的id
|
const currentId = userInfo.userId // 当前用户的id
|
||||||
// 如果当前用户的部门和科室不在全部部门里 就不允许查看
|
// 如果当前用户的部门和科室不在全部部门里 就不允许查看
|
||||||
console.log(qcr.indexOf(currentId))
|
|
||||||
if (!(qcr.indexOf(currentId) > -1)) {
|
if (!(qcr.indexOf(currentId) > -1)) {
|
||||||
// this.$message.warning('当前用户无权限查看此详情')
|
// this.$message.warning('当前用户无权限查看此详情')
|
||||||
this.$http.get('lawss/sarBussionessStand/selectPerson', {
|
this.$http.get('lawss/sarBussionessStand/selectPerson', {
|
||||||
|
|||||||
@@ -184,7 +184,6 @@ export default {
|
|||||||
json.text = arr[a].name
|
json.text = arr[a].name
|
||||||
newArr.push(json)
|
newArr.push(json)
|
||||||
}
|
}
|
||||||
console.log(newArr);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -203,7 +203,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
contentClick (link) {
|
contentClick (link) {
|
||||||
console.log(this.$route)
|
|
||||||
this.$store.commit('setDetailMap', this.$route.fullPath)
|
this.$store.commit('setDetailMap', this.$route.fullPath)
|
||||||
this.$router.push(link)
|
this.$router.push(link)
|
||||||
},
|
},
|
||||||
@@ -324,7 +323,6 @@ export default {
|
|||||||
// this.msgDetails.collectId = res.data.id
|
// this.msgDetails.collectId = res.data.id
|
||||||
this.msgDetails.collectId = this.$route.params.id
|
this.msgDetails.collectId = this.$route.params.id
|
||||||
this.collection = 1
|
this.collection = 1
|
||||||
// console.log('msgDetails.collectId', this.msgDetails.collectId)
|
|
||||||
}, e => {
|
}, e => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
@@ -352,7 +350,6 @@ export default {
|
|||||||
obj.content = this.relateList[i].content
|
obj.content = this.relateList[i].content
|
||||||
this.relateNowList.push(obj)
|
this.relateNowList.push(obj)
|
||||||
}
|
}
|
||||||
console.log('relateNowList', this.relateNowList)
|
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -387,7 +384,6 @@ export default {
|
|||||||
|
|
||||||
this.msgDetails = res.data
|
this.msgDetails = res.data
|
||||||
this.collection = res.data.collection
|
this.collection = res.data.collection
|
||||||
console.log('this.msgDetails000000000', this.msgDetails)
|
|
||||||
this.addPersonCookie()
|
this.addPersonCookie()
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleClick(tab, event) {
|
handleClick(tab, event) {
|
||||||
console.log(tab, event);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {},
|
watch: {},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1894,7 +1894,6 @@ export default {
|
|||||||
let pagetype = ''
|
let pagetype = ''
|
||||||
pagetype = item.typeShow
|
pagetype = item.typeShow
|
||||||
if (item.typeShow === 'INLAND_STAND') {
|
if (item.typeShow === 'INLAND_STAND') {
|
||||||
console.log('guonei权限')
|
|
||||||
routername = 'OtherStandardDetails'
|
routername = 'OtherStandardDetails'
|
||||||
// if (this.$hasPermission('CFEZ3VP7EA95CTRBH3JB')) {
|
// if (this.$hasPermission('CFEZ3VP7EA95CTRBH3JB')) {
|
||||||
// routername = 'OtherStandardDetails'
|
// routername = 'OtherStandardDetails'
|
||||||
@@ -2137,7 +2136,6 @@ export default {
|
|||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
console.log(this.selectNowObjResult);
|
|
||||||
let pagetype = ''
|
let pagetype = ''
|
||||||
if (this.selectNowObjResult.type === 'stand') {
|
if (this.selectNowObjResult.type === 'stand') {
|
||||||
if (this.selectNowObjResult.standType === 'INLAND') {
|
if (this.selectNowObjResult.standType === 'INLAND') {
|
||||||
@@ -2258,7 +2256,6 @@ export default {
|
|||||||
if (item.type === 'stand') {
|
if (item.type === 'stand') {
|
||||||
if (this.$hasPermission('SSA6WR4HV8') && this.$hasPermission('HK36LHK9444NPN8X634W')){
|
if (this.$hasPermission('SSA6WR4HV8') && this.$hasPermission('HK36LHK9444NPN8X634W')){
|
||||||
routername = 'OtherStandardDetails'
|
routername = 'OtherStandardDetails'
|
||||||
console.log('guoneiQUANXIAN')
|
|
||||||
if (item.standType === 'INLAND') {
|
if (item.standType === 'INLAND') {
|
||||||
pagetype = 'INLAND_STAND'
|
pagetype = 'INLAND_STAND'
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -530,7 +530,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
searchAll () {
|
searchAll () {
|
||||||
console.log('this.searchOption: ', this.searchOption)
|
|
||||||
let searchData = {}
|
let searchData = {}
|
||||||
Object.keys(this.searchOption).forEach(key => {
|
Object.keys(this.searchOption).forEach(key => {
|
||||||
if (!(this.searchOption[key] === '' || this.searchOption[key] === [])) {
|
if (!(this.searchOption[key] === '' || this.searchOption[key] === [])) {
|
||||||
@@ -545,7 +544,6 @@ export default {
|
|||||||
searchData[key] = this.searchOption[key]
|
searchData[key] = this.searchOption[key]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log('searchData: ', searchData)
|
|
||||||
|
|
||||||
searchData['effectiveDate1'] = this.searchOption.startDate[0]
|
searchData['effectiveDate1'] = this.searchOption.startDate[0]
|
||||||
searchData['effectiveDate2'] = this.searchOption.startDate[1]
|
searchData['effectiveDate2'] = this.searchOption.startDate[1]
|
||||||
@@ -570,7 +568,6 @@ export default {
|
|||||||
*/
|
*/
|
||||||
getOptionData () {
|
getOptionData () {
|
||||||
this.$http.get('sys/org/getTree', {}, {_this: this}, res => {
|
this.$http.get('sys/org/getTree', {}, {_this: this}, res => {
|
||||||
console.log('res: ', res)
|
|
||||||
this.departmentList = res.data.map(item => {
|
this.departmentList = res.data.map(item => {
|
||||||
return {
|
return {
|
||||||
label: item.orgName,
|
label: item.orgName,
|
||||||
@@ -579,7 +576,6 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
this.$http.get('sys/dictype/getDicTypeListCode', {}, {_this: this}, res => {
|
this.$http.get('sys/dictype/getDicTypeListCode', {}, {_this: this}, res => {
|
||||||
console.log('res: ', res)
|
|
||||||
Object.keys(res.data).forEach(item => {
|
Object.keys(res.data).forEach(item => {
|
||||||
switch (item) {
|
switch (item) {
|
||||||
case 'REGION' :
|
case 'REGION' :
|
||||||
|
|||||||
@@ -150,13 +150,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
console.log('Object.keys(searchOption): ', Object.keys(this.searchOption))
|
|
||||||
this.getOptionData()
|
this.getOptionData()
|
||||||
// setTimeout(() => {
|
|
||||||
// this.searchOption[6].data = Array(45).fill('test')
|
|
||||||
// this.searchOption[6].data = Array(45).fill('test')
|
|
||||||
// this.ifHaveEnoughData()
|
|
||||||
// }, 5000)
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/*
|
/*
|
||||||
@@ -167,7 +161,6 @@ export default {
|
|||||||
*/
|
*/
|
||||||
getOptionData () {
|
getOptionData () {
|
||||||
this.$http.get('sys/org/getTree', {}, {_this: this}, res => {
|
this.$http.get('sys/org/getTree', {}, {_this: this}, res => {
|
||||||
console.log('res: ', res)
|
|
||||||
this.searchOption[7].data = res.data.map(item => {
|
this.searchOption[7].data = res.data.map(item => {
|
||||||
return {
|
return {
|
||||||
label: item.orgName,
|
label: item.orgName,
|
||||||
@@ -177,7 +170,6 @@ export default {
|
|||||||
this.searchOption[7].data.unshift(all)
|
this.searchOption[7].data.unshift(all)
|
||||||
})
|
})
|
||||||
this.$http.get('sys/dictype/getDicTypeListCode', {}, {_this: this}, res => {
|
this.$http.get('sys/dictype/getDicTypeListCode', {}, {_this: this}, res => {
|
||||||
console.log('res: ', res)
|
|
||||||
Object.keys(res.data).forEach(item => {
|
Object.keys(res.data).forEach(item => {
|
||||||
switch (item) {
|
switch (item) {
|
||||||
case 'REGION' :
|
case 'REGION' :
|
||||||
@@ -253,7 +245,6 @@ export default {
|
|||||||
*@date: 2020-09-27 13:50:21
|
*@date: 2020-09-27 13:50:21
|
||||||
*/
|
*/
|
||||||
handleOptionClick (value, index) {
|
handleOptionClick (value, index) {
|
||||||
console.log('value: ', value)
|
|
||||||
// 区域
|
// 区域
|
||||||
if (index === 0 || index === 5 || index === 7 || index === 8) {
|
if (index === 0 || index === 5 || index === 7 || index === 8) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
@@ -271,7 +262,6 @@ export default {
|
|||||||
// 全部
|
// 全部
|
||||||
if (value[0] === 'all') {
|
if (value[0] === 'all') {
|
||||||
this.$http.get('sys/dictype/getDicTypeListCode', {}, {_this: this}, res => {
|
this.$http.get('sys/dictype/getDicTypeListCode', {}, {_this: this}, res => {
|
||||||
console.log('res: ', res)
|
|
||||||
this.searchOption[index + 1].data = index === 0 ? res.data['COUNTRY'] : res.data['SUBAREA']
|
this.searchOption[index + 1].data = index === 0 ? res.data['COUNTRY'] : res.data['SUBAREA']
|
||||||
this.searchOption[index + 1].data.unshift(all)
|
this.searchOption[index + 1].data.unshift(all)
|
||||||
this.ifHaveEnoughData()
|
this.ifHaveEnoughData()
|
||||||
@@ -301,7 +291,6 @@ export default {
|
|||||||
*/
|
*/
|
||||||
reloadTable () {
|
reloadTable () {
|
||||||
let searchdata = this.searchOption.map(item => item.selectValue)
|
let searchdata = this.searchOption.map(item => item.selectValue)
|
||||||
console.log('searchdata: ', searchdata)
|
|
||||||
let data = {}
|
let data = {}
|
||||||
const keys = ['regionList', 'countryList', 'sourceTypeList', 'carTypeList', 'carCategoryList', 'areaList', 'subAreaList', 'departmentList']
|
const keys = ['regionList', 'countryList', 'sourceTypeList', 'carTypeList', 'carCategoryList', 'areaList', 'subAreaList', 'departmentList']
|
||||||
keys.forEach((key, index) => {
|
keys.forEach((key, index) => {
|
||||||
@@ -310,10 +299,8 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
data['allSubjects'] = this.subject ? this.subject : null
|
data['allSubjects'] = this.subject ? this.subject : null
|
||||||
console.log('this.startDate: ', this.startDate)
|
|
||||||
data['effectiveDate1'] = this.startDate[0] ? this.startDate[0] : null
|
data['effectiveDate1'] = this.startDate[0] ? this.startDate[0] : null
|
||||||
data['effectiveDate2'] = this.startDate[1] ? this.startDate[1] : null
|
data['effectiveDate2'] = this.startDate[1] ? this.startDate[1] : null
|
||||||
console.log('data: ', data)
|
|
||||||
this.$emit('searchData', data)
|
this.$emit('searchData', data)
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -160,7 +160,6 @@ export default {
|
|||||||
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
console.log('item', item)
|
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
@@ -171,7 +171,6 @@ export default {
|
|||||||
list: list
|
list: list
|
||||||
}
|
}
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
console.log(179)
|
|
||||||
this.$http.postData('lawss/SarStandCompareList/save', formData, {
|
this.$http.postData('lawss/SarStandCompareList/save', formData, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|||||||
@@ -172,5 +172,12 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
return JSON.parse(state.rukuBaseInfo)
|
return JSON.parse(state.rukuBaseInfo)
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
getAccessStandardRegRow: state => {
|
||||||
|
if (state.accessStandRegRows === '') {
|
||||||
|
return null
|
||||||
|
} else {
|
||||||
|
return JSON.parse(state.accessStandRegRows)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -272,5 +272,29 @@ export default {
|
|||||||
sessionStorage.removeItem('rukuBaseInfo')
|
sessionStorage.removeItem('rukuBaseInfo')
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// 标准法规清单记录当前编辑条目
|
||||||
|
SET_ACCESS_STAND_REG_ROW(state, row) {
|
||||||
|
if (row) {
|
||||||
|
state.accessStandRegRows = JSON.stringify(row)
|
||||||
|
try {
|
||||||
|
sessionStorage.setItem('accessStandRegRows', JSON.stringify(row))
|
||||||
|
} catch (e) {}
|
||||||
|
} else {
|
||||||
|
state.accessStandRegRows = ''
|
||||||
|
sessionStorage.removeItem('accessStandRegRows')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//标准法规清单记录当前tab
|
||||||
|
SET_ACCESS_STANDARD_REG_TABS(state, tabName) {
|
||||||
|
if (tabName) {
|
||||||
|
state.accessStandRegTabName = tabName
|
||||||
|
try {
|
||||||
|
sessionStorage.setItem('accessStandRegTabName', tabName)
|
||||||
|
} catch (e) {}
|
||||||
|
} else {
|
||||||
|
state.accessStandRegTabName = ''
|
||||||
|
sessionStorage.removeItem('accessStandRegTabName')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ let handleInfo = '' // 流程办理传递数据
|
|||||||
let myBussStandardPlan = ''
|
let myBussStandardPlan = ''
|
||||||
let proLastDetail = '' // 流程结果详情
|
let proLastDetail = '' // 流程结果详情
|
||||||
let rukuBaseInfo = '' // 入库流程基础表单信息(后几步展示用)
|
let rukuBaseInfo = '' // 入库流程基础表单信息(后几步展示用)
|
||||||
|
let accessStandRegRows = '' // 标准法规清单编辑
|
||||||
|
let accessStandRegTabName = '' // 标准法规清单页面当前页签
|
||||||
try {
|
try {
|
||||||
if (localStorage.theme) { defaultTheme = localStorage.theme }
|
if (localStorage.theme) { defaultTheme = localStorage.theme }
|
||||||
if (localStorage.token) { defaultToken = localStorage.token }
|
if (localStorage.token) { defaultToken = localStorage.token }
|
||||||
@@ -61,6 +63,8 @@ try {
|
|||||||
if (sessionStorage.myBussStandardPlan) { myBussStandardPlan = sessionStorage.myBussStandardPlan }
|
if (sessionStorage.myBussStandardPlan) { myBussStandardPlan = sessionStorage.myBussStandardPlan }
|
||||||
if (sessionStorage.proLastDetail) { proLastDetail = sessionStorage.proLastDetail }
|
if (sessionStorage.proLastDetail) { proLastDetail = sessionStorage.proLastDetail }
|
||||||
if (sessionStorage.rukuBaseInfo) { rukuBaseInfo = sessionStorage.rukuBaseInfo }
|
if (sessionStorage.rukuBaseInfo) { rukuBaseInfo = sessionStorage.rukuBaseInfo }
|
||||||
|
if (sessionStorage.accessStandRegRows) { accessStandRegRows = sessionStorage.accessStandRegRows }
|
||||||
|
if (sessionStorage.accessStandRegTabName) { accessStandRegTabName = sessionStorage.accessStandRegTabName }
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
export default {
|
export default {
|
||||||
theme: defaultTheme, // 主题
|
theme: defaultTheme, // 主题
|
||||||
@@ -94,4 +98,6 @@ export default {
|
|||||||
myBussStandardPlan,
|
myBussStandardPlan,
|
||||||
proLastDetail,
|
proLastDetail,
|
||||||
rukuBaseInfo,
|
rukuBaseInfo,
|
||||||
|
accessStandRegRows,
|
||||||
|
accessStandRegTabName
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
// const devIp = '39.98.140.126'
|
// const devIp = '39.98.140.126'
|
||||||
// const devInterfacePORT = '10005'
|
// const devInterfacePORT = '10005'
|
||||||
const devIp = '192.168.10.178'
|
const devIp = '192.168.10.178'
|
||||||
const devInterfacePORT = '9999'
|
const devInterfacePORT = '9998'
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||||
const simpleFilePath = 'att/attFile/upload'
|
const simpleFilePath = 'att/attFile/upload'
|
||||||
|
|||||||
Reference in New Issue
Block a user