Merge branch 'develop' into FOTON
This commit is contained in:
@@ -366,27 +366,39 @@ export default {
|
|||||||
obj.name = file.response.data.oldFileName
|
obj.name = file.response.data.oldFileName
|
||||||
obj.response.data = file.response.data
|
obj.response.data = file.response.data
|
||||||
this.showFileList.push(obj)
|
this.showFileList.push(obj)
|
||||||
// this.value += res.data.id + ','
|
let attrIds=""
|
||||||
this.$emit('input', this.value ? (this.value + ','+ res.data.id + ',').replaceAll(",,",',') : (this.value+ res.data.id + ',').replaceAll(',,',','))
|
if(this.value != null && this.value !== ''){
|
||||||
this.$emit('success')
|
let attrArray= this.value.split(',')
|
||||||
this.$message({
|
// 方法二:filter方法 [推荐写法]
|
||||||
message: '文件上传成功',
|
let attrIdsArray = attrArray.filter((s) => {
|
||||||
type: 'success'
|
return s && s.trim(); // 注:IE9(不包含IE9)以下的版本没有trim()方法
|
||||||
})
|
});
|
||||||
switch (this.config.attrField) {
|
attrIdsArray.push(res.data.id);
|
||||||
case 'recordsAttr':
|
console.log(attrIdsArray)
|
||||||
this.$emit('recordsAttrTime', res.data.uploadTime)
|
attrIds = attrIdsArray.join(',')+","
|
||||||
break
|
}else{
|
||||||
case 'signAttr':
|
attrIds =res.data.id+","
|
||||||
this.$emit('signAttrTime', res.data.uploadTime)
|
}
|
||||||
break
|
this.$emit('input', attrIds)
|
||||||
case 'otherAttr':
|
this.$emit('success')
|
||||||
this.$emit('otherAttrTime', res.data.uploadTime)
|
this.$message({
|
||||||
break
|
message: '文件上传成功',
|
||||||
}
|
type: 'success'
|
||||||
// 国内外标准法规返回文件上传成功状态
|
})
|
||||||
this.$emit('fileSuccess', true)
|
switch (this.config.attrField) {
|
||||||
// this.importModalshowflagtemp = false
|
case 'recordsAttr':
|
||||||
|
this.$emit('recordsAttrTime', res.data.uploadTime)
|
||||||
|
break
|
||||||
|
case 'signAttr':
|
||||||
|
this.$emit('signAttrTime', res.data.uploadTime)
|
||||||
|
break
|
||||||
|
case 'otherAttr':
|
||||||
|
this.$emit('otherAttrTime', res.data.uploadTime)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
// 国内外标准法规返回文件上传成功状态
|
||||||
|
this.$emit('fileSuccess', true)
|
||||||
|
// this.importModalshowflagtemp = false
|
||||||
} else {
|
} else {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: res.message,
|
message: res.message,
|
||||||
|
|||||||
@@ -72,6 +72,9 @@
|
|||||||
<el-button size="mini" type="primary" @click="selectEdit" v-btn-permission="'786a941b255a4fe4d13b7e67f100a4e5'">
|
<el-button size="mini" type="primary" @click="selectEdit" v-btn-permission="'786a941b255a4fe4d13b7e67f100a4e5'">
|
||||||
批量配置岗位
|
批量配置岗位
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<el-button size="mini" type="primary" @click="selectEditOfOrg" v-btn-permission="'786a941b255a4fe4d13b7e67f100a4e5'">
|
||||||
|
根据部门批量配置岗位
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -186,7 +189,6 @@
|
|||||||
<loading :loading="Loading">加载中...</loading>
|
<loading :loading="Loading">加载中...</loading>
|
||||||
<pagination :page="page" :total="total" :pageSize="pageSize" @pageChange="pageChange" @pageSizeChange="pageSizeChange"></pagination>
|
<pagination :page="page" :total="total" :pageSize="pageSize" @pageChange="pageChange" @pageSizeChange="pageSizeChange"></pagination>
|
||||||
</div>
|
</div>
|
||||||
<loading style="z-index: 2099;" :loading="treeLoading">导入中...</loading>
|
|
||||||
<el-drawer
|
<el-drawer
|
||||||
class="postPage"
|
class="postPage"
|
||||||
:title="drawerTitle"
|
:title="drawerTitle"
|
||||||
@@ -236,12 +238,14 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
icon="el-icon-check"
|
icon="el-icon-check"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
:loading="butionLoading"
|
||||||
@click="PostSubmit"
|
@click="PostSubmit"
|
||||||
>确定
|
>确定
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button size="mini" class="common-button-default" icon="el-icon-close" @click="resetFormPost">取消</el-button>
|
<el-button size="mini" class="common-button-default" icon="el-icon-close" @click="resetFormPost">取消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
<loading style="z-index: 2099;" :loading="treeLoading">导入中...</loading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -284,9 +288,11 @@ export default {
|
|||||||
data: [], // table数据
|
data: [], // table数据
|
||||||
treeLoading: false,
|
treeLoading: false,
|
||||||
Loading: false,
|
Loading: false,
|
||||||
|
butionLoading: false,
|
||||||
id: '',
|
id: '',
|
||||||
// 批量配置岗位勾选暂存
|
// 批量配置岗位勾选暂存
|
||||||
manageData: [],
|
manageData: [],
|
||||||
|
configOrgManage:false,
|
||||||
drawerTitle: '配置岗位'
|
drawerTitle: '配置岗位'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -301,26 +307,43 @@ export default {
|
|||||||
},
|
},
|
||||||
resetFormPost() {
|
resetFormPost() {
|
||||||
this.modalPost = false
|
this.modalPost = false
|
||||||
|
this.postList = []
|
||||||
this.page1 = 1
|
this.page1 = 1
|
||||||
},
|
},
|
||||||
PostSubmit() {
|
PostSubmit() {
|
||||||
|
this.butionLoading = true
|
||||||
if (this.drawerTitle === '配置岗位') {
|
if (this.drawerTitle === '配置岗位') {
|
||||||
this.$http.postData('sarUser/user/position', {
|
this.$http.postData('sarUser/user/position', {
|
||||||
positionIds: this.$refs.tree2.getCheckedKeys(),
|
positionIds: this.$refs.tree2.getCheckedKeys(),
|
||||||
userId: this.userId
|
userId: this.userId
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.butionLoading = false
|
||||||
this.$message.success('配置岗位成功')
|
this.$message.success('配置岗位成功')
|
||||||
this.modalPost = false
|
this.modalPost = false
|
||||||
this.getData()
|
this.getData()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else if(this.configOrgManage){
|
||||||
|
//批量配置岗位信息
|
||||||
|
this.$http.postData('sarUser/user/positionBatchByOrgId', {
|
||||||
|
positionIds: this.$refs.tree2.getCheckedKeys(),
|
||||||
|
orgId: this.id
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.ok) {
|
||||||
|
this.butionLoading = false
|
||||||
|
this.$message.success('批量配置岗位成功')
|
||||||
|
this.modalPost = false
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
this.$http.postData('sarUser/user/positionBatch', {
|
this.$http.postData('sarUser/user/positionBatch', {
|
||||||
positionIds: this.$refs.tree2.getCheckedKeys(),
|
positionIds: this.$refs.tree2.getCheckedKeys(),
|
||||||
userId: this.userId
|
userId: this.userId
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.butionLoading = false
|
||||||
this.$message.success('配置岗位成功')
|
this.$message.success('配置岗位成功')
|
||||||
this.modalPost = false
|
this.modalPost = false
|
||||||
this.getData()
|
this.getData()
|
||||||
@@ -539,6 +562,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
selectEdit() {
|
selectEdit() {
|
||||||
|
this.configOrgManage = false
|
||||||
this.getTree2()
|
this.getTree2()
|
||||||
if(this.manageData.length){
|
if(this.manageData.length){
|
||||||
this.userId = []
|
this.userId = []
|
||||||
@@ -551,6 +575,13 @@ export default {
|
|||||||
this.$message.warning('请选择需要批量配置岗位的角色')
|
this.$message.warning('请选择需要批量配置岗位的角色')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
selectEditOfOrg() {
|
||||||
|
this.configOrgManage = true
|
||||||
|
this.getTree2()
|
||||||
|
this.drawerTitle = '批量配置岗位'
|
||||||
|
this.modalPost = true
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -98,11 +98,13 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="child.value === null">-</template>
|
<template v-else-if="child.value === null">
|
||||||
|
<div style="position: relative;margin-left: 214px; line-height: 32px">-</div>
|
||||||
|
</template>
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<!--发布稿(必读)-->
|
<!--发布稿(必读)-->
|
||||||
<template v-for="(child, childIndex) in item.child6" v-if="child.value && child.value.length > 0">
|
<template v-for="(child, childIndex) in item.child6" >
|
||||||
<p class="files-titles" style="border-bottom: 1px solid #E5E5E5">
|
<p class="files-titles" style="border-bottom: 1px solid #E5E5E5">
|
||||||
<label style="float: left">{{ child.attrName }}</label>
|
<label style="float: left">{{ child.attrName }}</label>
|
||||||
<template v-if="child.value && child.value.length > 0" >
|
<template v-if="child.value && child.value.length > 0" >
|
||||||
@@ -137,7 +139,9 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="child.value === null">-</template>
|
<template v-else-if="child.value === null">
|
||||||
|
<div style="position: relative;margin-left: 214px; line-height: 32px">-</div>
|
||||||
|
</template>
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<!--修订本-->
|
<!--修订本-->
|
||||||
|
|||||||
@@ -147,16 +147,38 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
closePage(){
|
closePage(){
|
||||||
window.opener = null;
|
this.$refs['formAdd'].validate((valid) => {
|
||||||
window.open("about:blank", "_top").close()
|
if (valid) {
|
||||||
if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) {
|
var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
|
||||||
window.location.href = "about:blank";
|
var form = {
|
||||||
window.close();
|
id: id,
|
||||||
} else {
|
oldText: this.opinionContent.oldText,
|
||||||
window.opener = null;
|
newText: this.opinionContent.newText,
|
||||||
window.open("", "_self");
|
reason: this.opinionContent.reason,
|
||||||
window.close();
|
chapterNumber: this.opinionContent.partCode,
|
||||||
}
|
chapterName: this.opinionContent.chapterName,
|
||||||
|
}
|
||||||
|
this.$store.commit('SET_REFRESH_FLAG', true)
|
||||||
|
localStorage.setItem('bzzqyjForm', JSON.stringify(form))
|
||||||
|
localStorage.setItem('freshClueNum', new Date().getTime())
|
||||||
|
this.opinionContent.partCode = ''
|
||||||
|
this.opinionContent.reason = ''
|
||||||
|
this.opinionContent.oldText = ''
|
||||||
|
this.opinionContent.newText = ''
|
||||||
|
this.opinionContent.chapterName = ''
|
||||||
|
|
||||||
|
window.opener = null;
|
||||||
|
window.open("about:blank", "_top").close()
|
||||||
|
if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) {
|
||||||
|
window.location.href = "about:blank";
|
||||||
|
window.close();
|
||||||
|
} else {
|
||||||
|
window.opener = null;
|
||||||
|
window.open("", "_self");
|
||||||
|
window.close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@@ -247,6 +247,27 @@
|
|||||||
class="table-jump">{{ scope.row.standName }}</a>
|
class="table-jump">{{ scope.row.standName }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="textStatus"
|
||||||
|
label="文本状态">
|
||||||
|
<!-- <template slot="header" slot-scope="scope">-->
|
||||||
|
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
|
||||||
|
<!-- <span>文本状态<i class="el-icon-warning-outline"></i></span>-->
|
||||||
|
<!-- </el-tooltip>-->
|
||||||
|
<!-- </template>-->
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span
|
||||||
|
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
|
||||||
|
style="color: #F56C6C">{{
|
||||||
|
textStatusMap[scope.row.textStatus]
|
||||||
|
}}</span>
|
||||||
|
<span
|
||||||
|
v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
|
||||||
|
style="color: #35720B">{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||||
|
<span v-else>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
@@ -321,26 +342,7 @@
|
|||||||
<span v-else>{{ scope.row.dtbzh }}</span>
|
<span v-else>{{ scope.row.dtbzh }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
prop="textStatus"
|
|
||||||
label="文本状态">
|
|
||||||
<!-- <template slot="header" slot-scope="scope">-->
|
|
||||||
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
|
|
||||||
<!-- <span>文本状态<i class="el-icon-warning-outline"></i></span>-->
|
|
||||||
<!-- </el-tooltip>-->
|
|
||||||
<!-- </template>-->
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span
|
|
||||||
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
|
|
||||||
style="color: #F56C6C">{{
|
|
||||||
textStatusMap[scope.row.textStatus]
|
|
||||||
}}</span>
|
|
||||||
<span
|
|
||||||
v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
|
|
||||||
style="color: #35720B">{{ textStatusMap[scope.row.textStatus] }}</span>
|
|
||||||
<span v-else>{{ textStatusMap[scope.row.textStatus] }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column fixed="right"
|
<el-table-column fixed="right"
|
||||||
v-if="isPermission('cac1eb379eb8e3b987cbb2e4599adb50') >0"
|
v-if="isPermission('cac1eb379eb8e3b987cbb2e4599adb50') >0"
|
||||||
label="收藏" align="center" width="50px"
|
label="收藏" align="center" width="50px"
|
||||||
|
|||||||
+19
-18
@@ -352,6 +352,25 @@
|
|||||||
}}</a>
|
}}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="standStatusShow"
|
||||||
|
label="文本状态"
|
||||||
|
width="110"
|
||||||
|
>
|
||||||
|
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C">
|
||||||
|
{{ scope.row.standStatusShow }}
|
||||||
|
</span>
|
||||||
|
<span v-if="scope.row.standStatusShow === '参考'" style="color: #35720B">
|
||||||
|
{{ scope.row.standStatusShow }}
|
||||||
|
</span>
|
||||||
|
<span v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'">
|
||||||
|
{{ scope.row.standStatusShow }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="dtqbbhbuss"
|
prop="dtqbbhbuss"
|
||||||
@@ -401,25 +420,7 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
show-overflow-tooltip
|
|
||||||
prop="standStatusShow"
|
|
||||||
label="文本状态"
|
|
||||||
width="110"
|
|
||||||
>
|
|
||||||
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C">
|
|
||||||
{{ scope.row.standStatusShow }}
|
|
||||||
</span>
|
|
||||||
<span v-if="scope.row.standStatusShow === '参考'" style="color: #35720B">
|
|
||||||
{{ scope.row.standStatusShow }}
|
|
||||||
</span>
|
|
||||||
<span v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'">
|
|
||||||
{{ scope.row.standStatusShow }}
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="reviseStatus"
|
prop="reviseStatus"
|
||||||
|
|||||||
@@ -265,6 +265,28 @@
|
|||||||
}}</a>
|
}}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="textStatus"
|
||||||
|
width="110"
|
||||||
|
label="文本状态">
|
||||||
|
<!-- <template slot="header" slot-scope="scope">-->
|
||||||
|
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
|
||||||
|
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>-->
|
||||||
|
<!-- </el-tooltip>-->
|
||||||
|
<!-- </template>-->
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{
|
||||||
|
textStatusMap[scope.row.textStatus]
|
||||||
|
}}</span>
|
||||||
|
<span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{
|
||||||
|
textStatusMap[scope.row.textStatus]
|
||||||
|
}}</span>
|
||||||
|
<span v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #35720B">{{
|
||||||
|
textStatusMap[scope.row.textStatus]
|
||||||
|
}}</span>
|
||||||
|
<span v-else style="color: #333333">{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
width="120"
|
width="120"
|
||||||
@@ -342,28 +364,7 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
prop="textStatus"
|
|
||||||
width="110"
|
|
||||||
label="文本状态">
|
|
||||||
<!-- <template slot="header" slot-scope="scope">-->
|
|
||||||
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
|
|
||||||
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>-->
|
|
||||||
<!-- </el-tooltip>-->
|
|
||||||
<!-- </template>-->
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{
|
|
||||||
textStatusMap[scope.row.textStatus]
|
|
||||||
}}</span>
|
|
||||||
<span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{
|
|
||||||
textStatusMap[scope.row.textStatus]
|
|
||||||
}}</span>
|
|
||||||
<span v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #35720B">{{
|
|
||||||
textStatusMap[scope.row.textStatus]
|
|
||||||
}}</span>
|
|
||||||
<span v-else style="color: #333333">{{ textStatusMap[scope.row.textStatus] }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column fixed="right" v-if="isPermission('f9745194958bc9ed3ee5127459795dbc')>0" label="收藏" align="center" width="50">
|
<el-table-column fixed="right" v-if="isPermission('f9745194958bc9ed3ee5127459795dbc')>0" label="收藏" align="center" width="50">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- <div v-if="isPermission('f9745194958bc9ed3ee5127459795dbc,e8d690904ee1895dd0d17d9c794fbcd7,b299fa5edb3f3f35badb2adb6bda9f2e') == 1"-->
|
<!-- <div v-if="isPermission('f9745194958bc9ed3ee5127459795dbc,e8d690904ee1895dd0d17d9c794fbcd7,b299fa5edb3f3f35badb2adb6bda9f2e') == 1"-->
|
||||||
|
|||||||
@@ -163,11 +163,13 @@
|
|||||||
align="center"
|
align="center"
|
||||||
width="100"
|
width="100"
|
||||||
label="来源"
|
label="来源"
|
||||||
|
v-if="showOther"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="state"
|
prop="state"
|
||||||
align="center"
|
align="center"
|
||||||
|
v-if="showOther"
|
||||||
label="处理意见">
|
label="处理意见">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ stateText(scope.row.state) }}</div>
|
<div>{{ stateText(scope.row.state) }}</div>
|
||||||
@@ -177,6 +179,7 @@
|
|||||||
prop="cause"
|
prop="cause"
|
||||||
align="center"
|
align="center"
|
||||||
label="原因"
|
label="原因"
|
||||||
|
v-if="showOther"
|
||||||
width="170"
|
width="170"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -317,7 +320,8 @@ export default {
|
|||||||
endTime: ''
|
endTime: ''
|
||||||
}, // 详情数据
|
}, // 详情数据
|
||||||
ideaKey: false,
|
ideaKey: false,
|
||||||
refreshTimer: null
|
refreshTimer: null,
|
||||||
|
showOther:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -385,6 +389,12 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.standinfoList = res.data.records
|
this.standinfoList = res.data.records
|
||||||
|
if(this.standinfoList && this.standinfoList.length>0){
|
||||||
|
const oneData = this.standinfoList[0]
|
||||||
|
if(oneData.state && oneData != ''){
|
||||||
|
this.showOther =true
|
||||||
|
}
|
||||||
|
}
|
||||||
console.log(res.data.records);
|
console.log(res.data.records);
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
|
|||||||
Reference in New Issue
Block a user