This commit is contained in:
宋伟佳
2021-08-03 14:05:04 +08:00
10 changed files with 728 additions and 575 deletions
@@ -248,6 +248,17 @@
<!-- <span v-else>{{ scope.row.standName }}</span>--> <!-- <span v-else>{{ scope.row.standName }}</span>-->
<!-- </template>--> <!-- </template>-->
</el-table-column> </el-table-column>
<el-table-column
prop="fileTypeShow"
label="文本状态"
align="center">
</el-table-column>
<el-table-column
prop="fileName"
label="文件名称"
show-overflow-tooltip
align="center">
</el-table-column>
</el-table> </el-table>
</div> </div>
</div> </div>
@@ -600,12 +611,6 @@
} }
this.modalshowflag = false this.modalshowflag = false
}, },
handleSelectionChange (val) {
this.zrIdList = []
val.forEach( item => {
this.zrIdList.push(item.id)
})
},
choiceZRRS (row, type, index) { choiceZRRS (row, type, index) {
this.type = type this.type = type
if (type === 1) { if (type === 1) {
@@ -632,6 +637,12 @@
this.modalshowflag = true this.modalshowflag = true
} }
}, },
handleSelectionChange (val) {
this.zrIdList = []
val.forEach( item => {
this.zrIdList.push(item.id)
})
},
handleTabs(name) { handleTabs(name) {
this.active = name this.active = name
}, },
@@ -650,6 +661,7 @@
if (b > 0) { if (b > 0) {
this.$message.warning('请选择责任人') this.$message.warning('请选择责任人')
} else { } else {
this.isSubmit = true
this.$http.get('lawss/activiti/startProcess', { this.$http.get('lawss/activiti/startProcess', {
type: '9' type: '9'
}, {}, res => { }, {}, res => {
@@ -672,6 +684,7 @@
this.$message.warning('流程启动失败') this.$message.warning('流程启动失败')
} }
}) })
this.isSubmit = false
} }
} else { } else {
return this.$message.warning('请完善人员信息') return this.$message.warning('请完善人员信息')
@@ -26,7 +26,7 @@
<el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled"> <el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.number" v-model="form.itemsNum"
placeholder="请输入标准编号" placeholder="请输入标准编号"
clearable clearable
></el-input> ></el-input>
@@ -34,7 +34,7 @@
<el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled"> <el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.name" v-model="form.itemsName"
placeholder="请输入标准名称" placeholder="请输入标准名称"
clearable clearable
></el-input> ></el-input>
@@ -42,28 +42,28 @@
<el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -198,7 +198,6 @@
</el-table> </el-table>
</div> </div>
<ProcessFooter <ProcessFooter
show-save
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
@@ -206,32 +205,14 @@
@submit="handleSubmit" @submit="handleSubmit"
> >
</ProcessFooter> </ProcessFooter>
<el-drawer <Role-tree
title="选择责任部门对接人" check-box
:visible.sync="modalshowflag2" :is-title="drawerTitle"
:wrapperClosable="false" :is-visible.sync="modalshowflag2"
size="800px"> @checkedRole="saveUserInfo"
<el-tree :nodeList="nodeList2"
v-if="modalshowflag2" ></Role-tree>
node-key="id" <loading :loading="loading">加载中...</loading>
style="height: 100%; overflow: auto;"
class="filter-tree"
:data="treeData"
:props="defaultProps"
:default-checked-keys="nodeList2"
highlight-current
check-strictly
@check="drawerCheck2"
default-expand-all
:expand-on-click-node="false"
show-checkbox
ref="tree2">
</el-tree>
<div id="roleFormButton2" class="demo-drawer-footer">
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo2">确定</el-button>
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo2">取消</el-button>
</div>
</el-drawer>
</div> </div>
</template> </template>
@@ -245,33 +226,30 @@
name: "bzjdStep2", name: "bzjdStep2",
data() { data() {
return { return {
type: '',
drawerTitle: '',
histortData: [], histortData: [],
sarType: '', sarType: '',
zxIndex: '', zxIndex: '',
zxType: '', zxType: '',
zxIdList: [], zxIdList: [],
modalshowflag2: false, modalshowflag2: false,
treeData: [],
nodeList2: [], nodeList2: [],
defaultProps: { loading: true,
children: 'children',
label: 'name'
},
loading: false,
commentText: '', commentText: '',
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
roleRow: {}, roleRow: {},
type: '',
drawerTitle: '', //drawer标题
textarea: '', // 意见 textarea: '', // 意见
ListModel: false, // 新增编辑抽屉开关 ListModel: false, // 新增编辑抽屉开关
active: '1', // 默认显示 active: '1', // 默认显示
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
form: { form: {
number: '', itemsNum: '',
name: '', itemsName: '',
itemsNum1: '',
itemsName1: '',
}, },
json: {}, json: {},
itemList: [] itemList: []
@@ -290,26 +268,18 @@
this.histortData = res this.histortData = res
}, e => {}) }, e => {})
}, },
drawerCheck2 (data) {
var getlist = this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes());
if(getlist.length == 1) {
this.roleRow = getlist[0]
}else {
this.$refs.tree2.setCheckedKeys([data.id]);
this.roleRow = this.$refs.tree2.getCheckedNodes()[0]
}
},
choiceZRRS (row, type, index) { choiceZRRS (row, type, index) {
this.type = type
if (type === 1) { if (type === 1) {
this.drawerTitle = '选择责任部门对接人'
this.nodeList2 = [] this.nodeList2 = []
this.zxIndex= index this.zxIndex= index
this.zxType = type
this.nodeList2.push(row) this.nodeList2.push(row)
this.modalshowflag2 = true this.modalshowflag2 = true
} else { } else {
// 批量 // 批量
this.drawerTitle = '批量选择责任部门对接人'
if (this.zxIdList.length > 0) { if (this.zxIdList.length > 0) {
this.zxType = type
this.nodeList2 = [] this.nodeList2 = []
this.modalshowflag2 = true this.modalshowflag2 = true
} else { } else {
@@ -317,39 +287,21 @@
} }
} }
}, },
saveUserInfo2 () { saveUserInfo (data) {
var idList = '' if (this.type === 1) {
var nameList = '' this.itemList[this.zxIndex].zxUserId = data[0].id
this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()).forEach( item => { this.itemList[this.zxIndex].zxUserIdName = data[0].name
if (nameList.length > 0) {
nameList += ','
idList += ','
}
idList += item.id
nameList += item.name
})
if (this.zxType == 1) {
this.itemList[this.zxIndex].zxUserId = idList
this.itemList[this.zxIndex].zxUserIdName = nameList
} else { } else {
this.itemList.forEach( item => { this.itemList.forEach( item => {
this.zxIdList.forEach( items => { this.zxIdList.forEach( items => {
if (item.id === items) { if (item.id === items) {
item.zxUserId = idList item.zxUserId = data[0].id
item.zxUserIdName = nameList item.zxUserIdName = data[0].name
} }
}) })
}) })
} }
this.modalshowflag2 = false this.modalshowflag = false
},
cancleUserInfo2 () {
this.modalshowflag2 = false
},
getTree () {
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
this.treeData = res.data
})
}, },
handleTabs(name) { handleTabs(name) {
this.active = name this.active = name
@@ -366,20 +318,23 @@
} }
if (b > 0) { if (b > 0) {
this.$message.warning('请选择执行人') this.$message.warning('请选择执行人')
} else {
this.isSubmit = true
var json = this.json
json.itemList = this.itemList
json.commentText = this.commentText
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
this.$router.push('/processCenter')
}
})
this.isSubmit = false
} }
var json = this.json
json.itemList = this.itemList
json.commentText = this.commentText
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
this.$router.push('/processCenter')
}
})
} else { } else {
return this.$message.warning('请完善基础信息') return this.$message.warning('请完善基础信息')
} }
@@ -398,10 +353,10 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.number = data.number this.form.itemsNum = data.itemsNum
this.form.name = data.name this.form.itemsName = data.itemsName
this.form.number1 = data.number1 this.form.itemsNum1 = data.itemsNum1
this.form.name1 = data.name1 this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData this.sarType = data.standInData
this.json = data this.json = data
var arr = [] var arr = []
@@ -411,6 +366,7 @@
item.zxUserIdName = '' item.zxUserIdName = ''
}) })
this.itemList = arr this.itemList = arr
this.loading = false
}).catch(e => { }).catch(e => {
}) })
}) })
@@ -418,7 +374,6 @@
}, },
mounted () { mounted () {
this.getHistoryData() this.getHistoryData()
this.getTree()
this.getData() this.getData()
} }
} }
@@ -26,7 +26,7 @@
<el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled"> <el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.number" v-model="form.itemsNum"
placeholder="请输入标准编号" placeholder="请输入标准编号"
clearable clearable
></el-input> ></el-input>
@@ -34,7 +34,7 @@
<el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled"> <el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.name" v-model="form.itemsName"
placeholder="请输入标准名称" placeholder="请输入标准名称"
clearable clearable
></el-input> ></el-input>
@@ -42,28 +42,28 @@
<el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -189,6 +189,11 @@
width="150" width="150"
label="适用车型" label="适用车型"
align="center"> align="center">
<template slot-scope="scope">
<el-select v-model="scope.row.applyArctic">
<el-option v-for="(item,index) in cxList" :value="item.label" :label="item.label" :key="index"></el-option>
</el-select>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="unitDeptName" prop="unitDeptName"
@@ -203,7 +208,6 @@
align="center"> align="center">
</el-table-column> </el-table-column>
</el-table> </el-table>
<loading :loading="loading">数据获取中</loading>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
@@ -278,7 +282,6 @@
</el-table> </el-table>
</div> </div>
<ProcessFooter <ProcessFooter
show-save
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
@@ -339,6 +342,11 @@
placeholder="选择在产车实施日期"> placeholder="选择在产车实施日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="适用车型" prop="applyArctic" class="add-form-item" >
<el-select v-model="plForm.applyArctic">
<el-option v-for="(item,index) in cxList" :value="item.label" :label="item.label" :key="index"></el-option>
</el-select>
</el-form-item>
</el-form> </el-form>
</div> </div>
<div id="roleFormButton2" class="demo-drawer-footer"> <div id="roleFormButton2" class="demo-drawer-footer">
@@ -346,6 +354,7 @@
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo">取消</el-button> <el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo">取消</el-button>
</div> </div>
</el-drawer> </el-drawer>
<loading :loading="loading">加载中...</loading>
</div> </div>
</template> </template>
@@ -359,6 +368,7 @@
name: "bzjdStep3", name: "bzjdStep3",
data() { data() {
return { return {
cxList: [],
histortData: [], histortData: [],
plForm: { plForm: {
technicalRequir: '', // 核心技术要求 technicalRequir: '', // 核心技术要求
@@ -367,11 +377,12 @@
complianceState: '', // 合规性分析 complianceState: '', // 合规性分析
newData: '', // 新车型实施日期 newData: '', // 新车型实施日期
onlineData: '', // 在产车实施日期 onlineData: '', // 在产车实施日期
applyArctic: '', // 适用车型
}, },
modalshowflag: false, modalshowflag: false,
sarType: '', sarType: '',
itemList: [], itemList: [],
loading: false, loading: true,
commentText: '', commentText: '',
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
@@ -380,10 +391,10 @@
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
form: { form: {
number: '', itemsNum: '',
name: '', itemsName: '',
number1: '', itemsNum1: '',
name1: '' itemsName1: '',
}, },
json: {}, json: {},
idList: [] idList: []
@@ -412,6 +423,7 @@
this.itemList[a].complianceState = this.plForm.complianceState this.itemList[a].complianceState = this.plForm.complianceState
this.itemList[a].newData = this.plForm.newData this.itemList[a].newData = this.plForm.newData
this.itemList[a].onlineData = this.plForm.onlineData this.itemList[a].onlineData = this.plForm.onlineData
this.itemList[a].applyArctic = this.plForm.applyArctic
} }
} }
} }
@@ -446,7 +458,7 @@
handleSubmit() { handleSubmit() {
this.$refs['bzzqyjForm'].validate((valid) => { this.$refs['bzzqyjForm'].validate((valid) => {
if (valid) { if (valid) {
let num1 = 0, num2 = 0, num3 = 0, num4 = 0, num5 = 0 let num1 = 0, num2 = 0, num3 = 0, num4 = 0, num5 = 0, num6 = 0
for (let a = 0; a < this.itemList.length; a++) { for (let a = 0; a < this.itemList.length; a++) {
if (!this.itemList[a].technicalRequir) { if (!this.itemList[a].technicalRequir) {
num1++ num1++
@@ -463,6 +475,9 @@
if (!this.itemList[a].onlineData) { if (!this.itemList[a].onlineData) {
num5++ num5++
} }
if (!this.itemList[a].applyArctic) {
num6++
}
} }
if (num1 > 0) { if (num1 > 0) {
this.$message.warning('请输入核心技术要求') this.$message.warning('请输入核心技术要求')
@@ -478,7 +493,10 @@
this.$message.warning('请输入新车型实施日期') this.$message.warning('请输入新车型实施日期')
} else if (num5 > 0) { } else if (num5 > 0) {
this.$message.warning('请输入在产车实施日期') this.$message.warning('请输入在产车实施日期')
} else if (num6 > 0) {
this.$message.warning('请选择适用车型')
} else { } else {
this.isSubmit = true
var json = this.json var json = this.json
json.commentText = this.commentText json.commentText = this.commentText
json.itemList = this.itemList json.itemList = this.itemList
@@ -492,6 +510,7 @@
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
}) })
this.isSubmit = false
} }
} else { } else {
return this.$message.warning('请完善基础信息') return this.$message.warning('请完善基础信息')
@@ -505,10 +524,10 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.number = data.number this.form.itemsNum = data.itemsNum
this.form.name = data.name this.form.itemsName = data.itemsName
this.form.number1 = data.number1 this.form.itemsNum1 = data.itemsNum1
this.form.name1 = data.name1 this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData this.sarType = data.standInData
this.json = data this.json = data
const itemList = JSON.parse(data.itemList) const itemList = JSON.parse(data.itemList)
@@ -524,6 +543,7 @@
item.itemsTitle = item.itermsConditions item.itemsTitle = item.itermsConditions
}) })
this.itemList = itemList this.itemList = itemList
this.loading = false
}).catch(e => { }).catch(e => {
}) })
}) })
@@ -532,6 +552,11 @@
mounted () { mounted () {
this.getHistoryData() this.getHistoryData()
this.getData() this.getData()
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.cxList = res.data.ENERGYTYPES // 适用车型
})
} }
} }
</script> </script>
@@ -26,7 +26,7 @@
<el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled"> <el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.number" v-model="form.itemsNum"
placeholder="请输入标准编号" placeholder="请输入标准编号"
clearable clearable
></el-input> ></el-input>
@@ -34,7 +34,7 @@
<el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled"> <el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.name" v-model="form.itemsName"
placeholder="请输入标准名称" placeholder="请输入标准名称"
clearable clearable
></el-input> ></el-input>
@@ -42,28 +42,28 @@
<el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -176,7 +176,6 @@
align="center"> align="center">
</el-table-column> </el-table-column>
</el-table> </el-table>
<loading :loading="loading">数据获取中</loading>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
@@ -250,8 +249,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<loading :loading="loading">加载中...</loading>
<ProcessFooter <ProcessFooter
show-save
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
@@ -278,7 +277,7 @@
histortData: [], histortData: [],
sarType: '', sarType: '',
itemList: [], itemList: [],
loading: false, loading: true,
commentText: '', commentText: '',
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
@@ -287,10 +286,10 @@
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
form: { form: {
number: '', itemsNum: '',
name: '', itemsName: '',
number1: '', itemsNum1: '',
name1: '' itemsName1: '',
}, },
json: {}, json: {},
} }
@@ -313,6 +312,7 @@
}, },
handleSave() {}, handleSave() {},
handleSubmit() { handleSubmit() {
this.isSubmit = true
var json = this.json var json = this.json
json.resolveFlag = 1 json.resolveFlag = 1
json.commentText = this.commentText json.commentText = this.commentText
@@ -325,10 +325,12 @@
this.$message.success('提交成功') this.$message.success('提交成功')
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false
}) })
}, },
handleSubmitNo () { handleSubmitNo () {
if (this.commentText) { if (this.commentText) {
this.isSubmit = true
var json = this.json var json = this.json
json.resolveFlag = 2 json.resolveFlag = 2
json.commentText = this.commentText json.commentText = this.commentText
@@ -341,6 +343,7 @@
this.$message.success('驳回成功') this.$message.success('驳回成功')
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false
}) })
} else { } else {
this.$message.warning('请输入反馈意见') this.$message.warning('请输入反馈意见')
@@ -353,13 +356,14 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.number = data.number this.form.itemsNum = data.itemsNum
this.form.name = data.name this.form.itemsName = data.itemsName
this.form.number1 = data.number1 this.form.itemsNum1 = data.itemsNum1
this.form.name1 = data.name1 this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData this.sarType = data.standInData
this.json = data this.json = data
this.itemList = data.itemList this.itemList = data.itemList
this.loading = false
}).catch(e => { }).catch(e => {
}) })
}) })
@@ -26,7 +26,7 @@
<el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled"> <el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.number" v-model="form.itemsNum"
placeholder="请输入标准编号" placeholder="请输入标准编号"
clearable clearable
></el-input> ></el-input>
@@ -34,7 +34,7 @@
<el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled"> <el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.name" v-model="form.itemsName"
placeholder="请输入标准名称" placeholder="请输入标准名称"
clearable clearable
></el-input> ></el-input>
@@ -42,28 +42,28 @@
<el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -176,7 +176,6 @@
align="center"> align="center">
</el-table-column> </el-table-column>
</el-table> </el-table>
<loading :loading="loading">数据获取中</loading>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
@@ -251,7 +250,6 @@
</el-table> </el-table>
</div> </div>
<ProcessFooter <ProcessFooter
show-save
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
@@ -262,6 +260,7 @@
submitBTNText="同意" submitBTNText="同意"
> >
</ProcessFooter> </ProcessFooter>
<loading :loading="loading">加载中...</loading>
</div> </div>
</template> </template>
@@ -278,7 +277,7 @@
histortData: [], histortData: [],
sarType: '', sarType: '',
itemList: [], itemList: [],
loading: false, loading: true,
commentText: '', commentText: '',
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
@@ -287,10 +286,10 @@
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
form: { form: {
number: '', itemsNum: '',
name: '', itemsName: '',
number1: '', itemsNum1: '',
name1: '' itemsName1: '',
}, },
json: {}, json: {},
} }
@@ -313,6 +312,7 @@
}, },
handleSave() {}, handleSave() {},
handleSubmit() { handleSubmit() {
this.isSubmit = true
var json = this.json var json = this.json
json.zrApplyFlag = 1 json.zrApplyFlag = 1
json.commentText = this.commentText json.commentText = this.commentText
@@ -325,10 +325,12 @@
this.$message.success('提交成功') this.$message.success('提交成功')
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false
}) })
}, },
handleSubmitNo () { handleSubmitNo () {
if (this.commentText) { if (this.commentText) {
this.isSubmit = true
var json = this.json var json = this.json
json.zrApplyFlag = 2 json.zrApplyFlag = 2
json.commentText = this.commentText json.commentText = this.commentText
@@ -341,6 +343,7 @@
this.$message.success('驳回成功') this.$message.success('驳回成功')
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false
}) })
} else { } else {
this.$message.warning('请输入反馈意见') this.$message.warning('请输入反馈意见')
@@ -353,13 +356,14 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.number = data.number this.form.itemsNum = data.itemsNum
this.form.name = data.name this.form.itemsName = data.itemsName
this.form.number1 = data.number1 this.form.itemsNum1 = data.itemsNum1
this.form.name1 = data.name1 this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData this.sarType = data.standInData
this.json = data this.json = data
this.itemList = data.itemList this.itemList = data.itemList
this.loading = true
}).catch(e => { }).catch(e => {
}) })
}) })
@@ -26,7 +26,7 @@
<el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled"> <el-form-item label="标准编号" prop="cid" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.number" v-model="form.itemsNum"
placeholder="请输入标准编号" placeholder="请输入标准编号"
clearable clearable
></el-input> ></el-input>
@@ -34,7 +34,7 @@
<el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled"> <el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
v-model="form.name" v-model="form.itemsName"
placeholder="请输入标准名称" placeholder="请输入标准名称"
clearable clearable
></el-input> ></el-input>
@@ -42,28 +42,28 @@
<el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准号/政策号" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.number1" v-model="form.itemsNum1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'"> <el-form-item label="上一版本标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'INLAND'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'"> <el-form-item label="相对标准名称/政策名称" class="add-form-item form-item-disabled" v-if="sarType === 'FOREIGN'">
<el-input <el-input
disabled disabled
v-model="form.name1" v-model="form.itemsName1"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -177,7 +177,6 @@
align="center"> align="center">
</el-table-column> </el-table-column>
</el-table> </el-table>
<loading :loading="loading">数据获取中</loading>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
@@ -252,17 +251,15 @@
</el-table> </el-table>
</div> </div>
<ProcessFooter <ProcessFooter
show-save
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
@save="handleSave" @save="handleSave"
@submit="handleSubmit" @submit="handleSubmit"
show-back
@back="handleSubmitNo"
submitBTNText="同意" submitBTNText="同意"
> >
</ProcessFooter> </ProcessFooter>
<loading :loading="loading">加载中...</loading>
</div> </div>
</template> </template>
@@ -279,7 +276,7 @@
histortData: [], histortData: [],
sarType: '', sarType: '',
itemList: [], itemList: [],
loading: false, loading: true,
commentText: '', commentText: '',
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
@@ -288,10 +285,10 @@
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
form: { form: {
number: '', itemsNum: '',
name: '', itemsName: '',
number1: '', itemsNum1: '',
name1: '' itemsName1: '',
}, },
json: {}, json: {},
} }
@@ -314,6 +311,7 @@
}, },
handleSave() {}, handleSave() {},
handleSubmit() { handleSubmit() {
this.isSubmit = true
var json = this.json var json = this.json
json.gcApplyFlag = 1 json.gcApplyFlag = 1
json.commentText = this.commentText json.commentText = this.commentText
@@ -326,10 +324,12 @@
this.$message.success('提交成功') this.$message.success('提交成功')
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false
}) })
}, },
handleSubmitNo () { handleSubmitNo () {
if (this.commentText) { if (this.commentText) {
this.isSubmit = true
var json = this.json var json = this.json
json.gcApplyFlag = 2 json.gcApplyFlag = 2
json.commentText = this.commentText json.commentText = this.commentText
@@ -342,6 +342,7 @@
this.$message.success('驳回成功') this.$message.success('驳回成功')
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false
}) })
} else { } else {
this.$message.warning('请输入反馈意见') this.$message.warning('请输入反馈意见')
@@ -354,13 +355,14 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.number = data.number this.form.itemsNum = data.itemsNum
this.form.name = data.name this.form.itemsName = data.itemsName
this.form.number1 = data.number1 this.form.itemsNum1 = data.itemsNum1
this.form.name1 = data.name1 this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData this.sarType = data.standInData
this.json = data this.json = data
this.itemList = data.itemList this.itemList = data.itemList
this.loading = false
}).catch(e => { }).catch(e => {
}) })
}) })
@@ -29,7 +29,16 @@
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"> fontWeight: 'bold', height: '48px'}">
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center"/>
<el-table-column prop="standName" label="标准号/标准名称" align="center"/> <el-table-column prop="standSerialNumber" label="标准号" show-overflow-tooltip align="center">
<template slot-scope="scope">
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
</template>
</el-table-column>
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column prop="productName" label="项目名称" align="center" show-overflow-tooltip/> <el-table-column prop="productName" label="项目名称" align="center" show-overflow-tooltip/>
<el-table-column prop="itemsNum" label="条款号" align="center"/> <el-table-column prop="itemsNum" label="条款号" align="center"/>
<el-table-column prop="itemsName" label="条款名称" align="center"/> <el-table-column prop="itemsName" label="条款名称" align="center"/>
@@ -87,6 +96,42 @@
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="确认+选择责任人" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
<el-card>
<el-form-item prop="dockUserName" style="margin-bottom: 0">
<h4>确认+选择责任人</h4>
<div style="margin-top: 10px;width: 300px;">
<el-input v-model="roleForm.dutyUser" style="display: none;"></el-input>
<el-input v-model="roleForm.dutyUserName" :disabled="true" placeholder="确认+选择责任人" @click.native="choiceZRR('dockUser', '选择标准法规工程师', roleForm.dockUser)">
</el-input>
</div>
</el-form-item>
</el-card>
</el-timeline-item>
<el-timeline-item timestamp="上传佐证材料填选择写信息" placement="top" :color="roleForm.uploadUser ? '#66b1ff' : ''">
<el-card>
<el-form-item prop="dockUserName" style="margin-bottom: 0">
<h4>负责人</h4>
<div style="margin-top: 10px;width: 300px;">
<el-input v-model="roleForm.uploadUser" style="display: none;"></el-input>
<el-input v-model="roleForm.uploadUserName" :disabled="true" placeholder="选择负责人" @click.native="choiceZRR('dockUser', '选择标准法规工程师', roleForm.dockUser)">
</el-input>
</div>
</el-form-item>
</el-card>
</el-timeline-item>
<el-timeline-item timestamp="批准" placement="top" :color="roleForm.checkUser ? '#66b1ff' : ''">
<el-card>
<el-form-item prop="dockUserName" style="margin-bottom: 0">
<h4>分发负责人</h4>
<div style="margin-top: 10px;width: 300px;">
<el-input v-model="roleForm.checkUser" style="display: none;"></el-input>
<el-input v-model="roleForm.checkUserName" :disabled="true" placeholder="分发负责人" @click.native="choiceZRR('dockUser', '选择标准法规工程师', roleForm.dockUser)">
</el-input>
</div>
</el-form-item>
</el-card>
</el-timeline-item>
</el-form> </el-form>
</el-timeline> </el-timeline>
</div> </div>
@@ -103,7 +148,7 @@
<el-form :modal="queryUnqualidiedData" inline class="label-input-form"> <el-form :modal="queryUnqualidiedData" inline class="label-input-form">
<el-form-item label="标准号/标准名称" class="search-item"> <el-form-item label="标准号/标准名称" class="search-item">
<el-input <el-input
v-model="queryUnqualidiedData.standId" v-model="queryUnqualidiedData.standSerialNumber"
placeholder="请输入" placeholder="请输入"
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
@@ -154,25 +199,44 @@
</div> </div>
</div> </div>
<el-table <el-table
ref="searchTable" ref="searchTable"
:data="unqualidiedData" :data="unqualidiedData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
border border
height="100%" height="100%"
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
@selection-change="selectedChange" @selection-change="selectedChange"
> >
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center"/>
<el-table-column prop="standId" label="标准号/标准名称"/> <el-table-column prop="standSerialNumber" align="center" show-overflow-tooltip label="标准号">
<el-table-column prop="productName" label="项目名称"/> <template slot-scope="scope">
<el-table-column prop="itemsNum" label="条款号"/> <a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
<el-table-column prop="itemsName" label="条款名称"/> </template>
<el-table-column prop="planCloseTime" label="整改完成时间"/> </el-table-column>
<el-table-column prop="responsibleUnit" label="责任部门"/> <el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
<el-table-column prop="dutyEngineer" label="责任工程师"/> <template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column prop="productName" align="center" show-overflow-tooltip label="项目名称"/>
<el-table-column prop="itemsNum" align="center" label="条款号"/>
<el-table-column prop="itemsName" align="center" label="条款名称"/>
<el-table-column prop="planCloseTime" align="center" label="整改完成时间">
<template slot-scope="scope">
<span>{{ scope.row.planCloseTime ? $moment(scope.row.planCloseTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column prop="responsibleUnit" align="center" label="责任部门"/>
<el-table-column prop="dutyEngineer" align="center" label="责任工程师"/>
</el-table> </el-table>
<pagination
style="position: relative;"
:page="pageNo"
:total="total"
@pageChange="pageChange"
@pageSizeChange="pageSizeChange"/>
<div class="demo-drawer-footer"> <div class="demo-drawer-footer">
<el-button size="mini" @click="closeDrawer">取消</el-button> <el-button size="mini" @click="closeDrawer">取消</el-button>
<el-button type="primary" size="mini" @click="OkDrawer">带入</el-button> <el-button type="primary" size="mini" @click="OkDrawer">带入</el-button>
@@ -217,13 +281,17 @@ export default {
// 责任部门 // 责任部门
zrbmOptions: [], zrbmOptions: [],
standModel: false, standModel: false,
// 总数
total: 0,
// 当前页数
pageNo: 1,
// 查询未符合项整改数据库数据 // 查询未符合项整改数据库数据
queryUnqualidiedData: { queryUnqualidiedData: {
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
total: 0, total: 0,
closeState: '1', closeState: '1',
standId: '', // 标准号/名称 standSerialNumber: '', // 标准号/名称
productName: '', // 项目名称 productName: '', // 项目名称
responsibleUnit: '' // 责任部门 responsibleUnit: '' // 责任部门
}, },
@@ -269,9 +337,9 @@ export default {
this.$set(item,'dutyPeople','') this.$set(item,'dutyPeople','')
this.$set(item,'dutyPeopleInfoId','') this.$set(item,'dutyPeopleInfoId','')
this.$set(item,'dutyPeopleId','') this.$set(item,'dutyPeopleId','')
this.$set(item,'fileText','') this.$set(item,'fileText',[])
this.$set(item,'fileTextId','') this.$set(item,'fileTextId',[])
this.$set(item,'fileTextPath','') this.$set(item,'fileTextPath',[])
}) })
this.total = res.data.total this.total = res.data.total
}) })
@@ -308,6 +376,18 @@ export default {
}); });
} }
}, },
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.standId,
pageType: 'FOREIGN_STAND'
// pageType: item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
},
//选择标准取消事件 //选择标准取消事件
closeDrawer() { closeDrawer() {
this.standModel = false this.standModel = false
@@ -432,7 +512,7 @@ export default {
// 清空 查询条件 // 清空 查询条件
clearAllSearch (search = true) { clearAllSearch (search = true) {
this.queryUnqualidiedData = { this.queryUnqualidiedData = {
standId: '', standSerialNumber: '',
productName: '', productName: '',
responsibleUnit: '' responsibleUnit: ''
} }
@@ -13,7 +13,7 @@
<ProcessTitle> <ProcessTitle>
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
</ProcessTitle> </ProcessTitle>
<el-form :modal="nonSearch" inline class="label-input-form"> <!-- <el-form :modal="nonSearch" inline class="label-input-form">
<el-form-item label="标准号/标准名称" class="search-item"> <el-form-item label="标准号/标准名称" class="search-item">
<el-input v-model="nonSearch.standId" <el-input v-model="nonSearch.standId"
size="small" size="small"
@@ -76,7 +76,7 @@
清空 清空
</el-button> </el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>-->
<div class="content-center"> <div class="content-center">
<el-button <el-button
style="text-align: end" style="text-align: end"
@@ -97,7 +97,16 @@
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"> fontWeight: 'bold', height: '48px'}">
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center"/>
<el-table-column prop="standId" label="标准号/标准名称" align="center"/> <el-table-column prop="standSerialNumber" show-overflow-tooltip label="标准号" align="center">
<template slot-scope="scope">
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
</template>
</el-table-column>
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column prop="productName" label="项目名称" align="center" show-overflow-tooltip/> <el-table-column prop="productName" label="项目名称" align="center" show-overflow-tooltip/>
<el-table-column prop="itemsNum" label="条款号" align="center"/> <el-table-column prop="itemsNum" label="条款号" align="center"/>
<el-table-column prop="itemsName" label="条款名称" align="center"/> <el-table-column prop="itemsName" label="条款名称" align="center"/>
@@ -119,7 +128,6 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<!-- <pagination :page="pageNo" :total="total" @pageChange="pageChange" @pageSizeChange="pageSizeChange"/>-->
</div> </div>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
@@ -316,9 +324,9 @@ export default {
const params = { const params = {
taskIds: this.taskIds, taskIds: this.taskIds,
pId: this.pId, pId: this.pId,
standId: '', // 标准号/名称 // standId: '', // 标准号/名称
productName: '', // 项目名称 // productName: '', // 项目名称
responsibleUnit: '' // 责任部门 // responsibleUnit: '' // 责任部门
} }
inboundLiaisonDetail(params).then(res => { inboundLiaisonDetail(params).then(res => {
const processForm = JSON.parse(res.mesg) const processForm = JSON.parse(res.mesg)
@@ -328,6 +336,7 @@ export default {
getFormFieldList (item) { getFormFieldList (item) {
this.$nextTick(() => { this.$nextTick(() => {
this.dataList = JSON.parse(JSON.stringify(item)).standardInfoList this.dataList = JSON.parse(JSON.stringify(item)).standardInfoList
this.textarea = JSON.parse(JSON.stringify(item)).commentText
}) })
}, },
// 批量选择分发责任人 // 批量选择分发责任人
@@ -455,6 +464,18 @@ export default {
}) })
this.dataList = this.realList this.dataList = this.realList
}, },
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.standId,
pageType: 'FOREIGN_STAND'
// pageType: item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
},
// 清空 查询条件 // 清空 查询条件
clearAllSearch () { clearAllSearch () {
this.nonSearch = { this.nonSearch = {
@@ -13,7 +13,7 @@
<ProcessTitle> <ProcessTitle>
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
</ProcessTitle> </ProcessTitle>
<el-form :modal="nonSearch" inline class="label-input-form"> <!-- <el-form :modal="nonSearch" inline class="label-input-form">
<el-form-item label="标准号/标准名称" class="search-item"> <el-form-item label="标准号/标准名称" class="search-item">
<el-input <el-input
size="small" size="small"
@@ -78,7 +78,7 @@
清空 清空
</el-button> </el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>-->
<div class="content-center"> <div class="content-center">
<el-button <el-button
style="text-align: end" style="text-align: end"
@@ -99,7 +99,16 @@
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"> fontWeight: 'bold', height: '48px'}">
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center"/>
<el-table-column prop="standId" label="标准号/标准名称" align="center"/> <el-table-column prop="standSerialNumber" show-overflow-tooltip label="标准号" align="center">
<template slot-scope="scope">
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
</template>
</el-table-column>
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column prop="productName" label="项目名称" align="center" show-overflow-tooltip/> <el-table-column prop="productName" label="项目名称" align="center" show-overflow-tooltip/>
<el-table-column prop="itemsNum" label="条款号" align="center"/> <el-table-column prop="itemsNum" label="条款号" align="center"/>
<el-table-column prop="itemsName" label="条款名称" align="center"/> <el-table-column prop="itemsName" label="条款名称" align="center"/>
@@ -125,7 +134,6 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<!-- <pagination :page="pageNo" :total="total" @pageChange="pageChange" @pageSizeChange="pageSizeChange"/>-->
</div> </div>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
@@ -316,6 +324,7 @@ export default {
for (let i = 0; i<fileData.length; i++) { for (let i = 0; i<fileData.length; i++) {
if (fileData[i].name === this.$store.getters.userInfo.userName) { if (fileData[i].name === this.$store.getters.userInfo.userName) {
this.dataList = fileData[i].standardInfoList this.dataList = fileData[i].standardInfoList
this.standardInfoList = this.dataList
} }
} }
}) })
@@ -344,15 +353,31 @@ export default {
handleTabs(name) { handleTabs(name) {
this.active = name this.active = name
}, },
// 退回按钮
handleSubmitNo() { handleSubmitNo() {
if (this.commentText) { if (this.commentText) {
var json = { var json = {
actionFlag: 1, actionFlag: 1,
commentText: this.commentText commentText: this.commentText,
standardInfoList: this.standardInfoList,
} }
this.isSubmit = true this.isSubmit = true
this.$http.post('lawss/activiti/completeTask', { const params = new FormData();
params.set('json', JSON.stringify(json))
params.set('userId', this.$store.getters.userInfo.userId)
params.set('taskIds', this.taskIds)
completeTask(params).then(res => {
if (res.success) {
this.$message.success('驳回成功')
this.$router.push('/processCenter')
}
this.isSubmit = false
})
} else {
this.$message.warning('请输入反馈意见')
}
/* this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json), json: JSON.stringify(json),
taskId: this.taskIds, taskId: this.taskIds,
userId: this.$store.getters.userInfo.userId userId: this.$store.getters.userInfo.userId
@@ -365,7 +390,19 @@ export default {
}) })
} else { } else {
this.$message.warning('请输入反馈意见') this.$message.warning('请输入反馈意见')
} }*/
},
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.standId,
pageType: 'FOREIGN_STAND'
// pageType: item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
}, },
// 保存按钮 // 保存按钮
handleSave() {}, handleSave() {},
@@ -1,92 +1,92 @@
<!--征求意见详情--> <!--征求意见详情-->
<template> <template>
<div class="consultationDetails"> <div class="consultationDetails">
<div class="contentTitle"> <div class="contentTitle">
<div class="back" title="返回" @click="back"> <div class="back" title="返回" @click="back">
<i class="el-icon-back"></i> <i class="el-icon-back"></i>
</div> </div>
<div class="title">征求意见详情<i class="el-icon-s-order" @click="heightShow = !heightShow"></i></div> <div class="title">征求意见详情<i class="el-icon-s-order" @click="heightShow = !heightShow"></i></div>
</div> </div>
<transition name="el-zoom-in-top"> <transition name="el-zoom-in-top">
<div v-show="heightShow" class="transition-box"> <div v-show="heightShow" class="transition-box">
<p class="transition-box-p"> <p class="transition-box-p">
<label class="transition-box-label">标准号</label> <label class="transition-box-label">标准号</label>
<span class="transition-box-span">{{ this.$route.query.item.cid }}</span> <span class="transition-box-span">{{ this.$route.query.item.cid }}</span>
</p> </p>
<p class="transition-box-p"> <p class="transition-box-p">
<label class="transition-box-label">标准名称</label> <label class="transition-box-label">标准名称</label>
<span class="transition-box-span">{{ this.$route.query.item.cname || '-' }}</span> <span class="transition-box-span">{{ this.$route.query.item.cname || '-' }}</span>
</p> </p>
<p class="transition-box-p"> <p class="transition-box-p">
<label class="transition-box-label">上传时间</label> <label class="transition-box-label">上传时间</label>
<span class="transition-box-span">{{ this.$route.query.item.endTime || '-' }}</span> <span class="transition-box-span">{{ this.$route.query.item.endTime || '-' }}</span>
</p> </p>
<p class="transition-box-p"> <p class="transition-box-p">
<label class="transition-box-label">征求意见周期</label> <label class="transition-box-label">征求意见周期</label>
<span class="transition-box-span" v-if="this.$route.query.item.startTime && this.$route.query.item.endTime">{{ this.$route.query.item.startTime + ' ~ ' + this.$route.query.item.endTime}}</span> <span class="transition-box-span" v-if="this.$route.query.item.startTime && this.$route.query.item.endTime">{{ this.$route.query.item.startTime + ' ~ ' + this.$route.query.item.endTime}}</span>
<span class="transition-box-span" v-else>-</span> <span class="transition-box-span" v-else>-</span>
</p> </p>
</div> </div>
</transition> </transition>
<div class="effect"> <div class="effect">
<el-button v-if="ideaKey" type="primary" class="common-button-primary" size="mini" @click="selectStandardPro('add')">添加</el-button> <el-button v-if="ideaKey" type="primary" class="common-button-primary" size="mini" @click="selectStandardPro('add')">添加</el-button>
<el-button type="primary" class="common-button-primary" size="mini" @click="exportAll">导出</el-button> <el-button type="primary" class="common-button-primary" size="mini" @click="exportAll">导出</el-button>
</div> </div>
<div class="container" style="position:relative;"> <div class="container" style="position:relative;">
<div style="position: absolute;top: 0;left: 0;bottom: 0;right: 0;"> <div style="position: absolute;top: 0;left: 0;bottom: 0;right: 0;">
<el-table <el-table
:data="standinfoList" :data="standinfoList"
height="100%" height="100%"
border border
style="width: 100%" style="width: 100%"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"> fontWeight: 'bold', height: '48px'}">
<el-table-column <el-table-column
prop="partCode" prop="partCode"
label="章节编号" label="章节编号"
align="center" align="center"
width="180"> width="180">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="content" prop="content"
align="center" align="center"
label="修改意见内容(包括理由或依据)" label="修改意见内容(包括理由或依据)"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="deptName" prop="deptName"
align="center" align="center"
label="提出部门" label="提出部门"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="userName" prop="userName"
align="center" align="center"
label="提出人" label="提出人"
> >
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="50" fixed="right" v-if="ideaKey"> <el-table-column label="操作" align="center" width="50" fixed="right" v-if="ideaKey">
<template slot-scope="scope"> <template slot-scope="scope">
<div @click.stop style="display: inline-block"> <div @click.stop style="display: inline-block">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<i v-if="scope.row.userId === $store.getters.userInfo.userId" class="iconfont">&#xe61e;</i> <i v-if="scope.row.userId === $store.getters.userInfo.userId" class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item v-if="scope.row.userId === $store.getters.userInfo.userId" :command="[scope.row, '编辑']">编辑</el-dropdown-item> <el-dropdown-item v-if="scope.row.userId === $store.getters.userInfo.userId" :command="[scope.row, '编辑']">编辑</el-dropdown-item>
<el-dropdown-item :command="[scope.row, '删除']">删除</el-dropdown-item> <el-dropdown-item :command="[scope.row, '删除']">删除</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
</div> </div>
<pagination <pagination
style="position: static;width: 100%;" style="position: static;width: 100%;"
:page="form.page" :page="form.page"
:total="total" :total="total"
@pageChange="handlePageChange" @pageChange="handlePageChange"
@pageSizeChange="handlePageSizeChange"></pagination> @pageSizeChange="handlePageSizeChange"></pagination>
<el-drawer <el-drawer
:title=opiniontitle :title=opiniontitle
:visible.sync="isDialog" :visible.sync="isDialog"
@@ -117,292 +117,304 @@
</template> </template>
<script> <script>
export default { export default {
name: 'consultationDetails', name: 'consultationDetails',
data () { data () {
return { return {
id: '', // 选中id id: '', // 选中id
type: '', // 选中状态 type: '', // 选中状态
spinShow: false, spinShow: false,
total: 0, // 总数 total: 0, // 总数
opiniontitle: '新增意见', // 抽屉标题 opiniontitle: '新增意见', // 抽屉标题
isDialog: false, //新增抽屉状态 isDialog: false, //新增抽屉状态
heightShow: true, // 高度 heightShow: true, // 高度
isSubmit: false, isSubmit: false,
opinionContent: { // 抽屉数据 opinionContent: { // 抽屉数据
partCode: '', partCode: '',
content: '', content: '',
},
opinionContentRules: {
partCode: [
{ required: true, message: '请输入章节编号', trigger: 'blur' },
],
content: [
{ required: true, message: '请输入修改意见内容(包括理由或依据)', trigger: 'blur' }
],
},
standinfoList: [], // 详情列表
form: {
cid: this.$route.query.item.cid,
page: 1,
size: this.$store.getters.userInfo.configContent,
userId: this.$store.getters.userInfo.userId,
endTime: this.$route.query.item.endTime
}, // 详情数据
ideaKey: false
}
}, },
opinionContentRules: { methods: {
partCode: [ exportAll () {
{ required: true, message: '请输入章节编号', trigger: 'blur' }, window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.cid)
], },
content: [ getIdeaKey () {
{ required: true, message: '请输入修改意见内容(包括理由或依据)', trigger: 'blur' } this.$http.get('slrs/sar-public-idea-all/checkIsShow', {
], endTime: this.form.endTime
}, {}, res => {
if (res.message === '1') {
this.ideaKey = false
} else {
this.ideaKey = true
}
})
},
// 获取详情信息列表
getList() {
this.spinShow = true
this.$http.get('slrs/sar-public-idea-all/getAllStand', this.form, {
_this: this
}, res => {
this.standinfoList = res.data.records
this.total = res.data.total
this.spinShow = false
res.data.records.forEach(item => {
if (item.ideaKey == 1) {
this.ideaKey = false
} else {
this.ideaKey = true
}
})
}, e => {
})
},
//分页数据改变
handlePageChange(page) {
this.form.page = page
this.getList()
},
handlePageSizeChange(pageSize) {
this.$store.getters.userInfo.configContent = pageSize
this.form.size = pageSize
this.getList()
},
back (){
this.$router.push({
name:'standardForComments'
})
},
// 更多
handleCommand (command) {
switch (command[1]) {
case '编辑':
this.selectStandardPro('edit', command[0])
break
case '删除':
this.deleteStand(command[0].id)
break
}
},
//编辑
selectStandardPro(type, row){
this.type = type
if (type === 'edit') {
this.id = row.id
this.opiniontitle = '编辑意见内容'
this.opinionContent.partCode = row.partCode
this.opinionContent.content = row.content
} else {
this.id = ''
this.opiniontitle = '新增意见'
this.opinionContent.partCode = ''
this.opinionContent.content = ''
}
this.isDialog = true
},
//删除
deleteStand(id){
this.$confirm('确认删除这些意见?', '提示', {
confirmButtonText: '确定',
confirmButtonClass: 'common-button-primary',
cancelButtonText: '取消',
type: 'warning',
roundButton: false
}).then(() => {
var form = {
id: id,
autUserId: this.$store.getters.userInfo.userId,
userId: this.$store.getters.userInfo.userId
}
this.$http.get('slrs/sar-public-idea-all/deleteStand', form, {
_this: this
}, res => {
this.$message.warning(res.message)
this.form.page = 1
this.getList()
})
//确认事件
}).catch(() => {
this.$message.warning('取消删除')
//取消事件
})
},
//点击抽屉按钮提交事件
saveUserInfo() {
this.$refs['formAdd'].validate((valid) => {
if (valid) {
var url = ''
var form = {
cid: this.$route.query.item.cid,
content: this.opinionContent.content,
partCode: this.opinionContent.partCode,
userId: this.$store.getters.userInfo.userId,
userName: this.$store.getters.userInfo.account,
deptName: this.$store.getters.userInfo.orgName,
deptId: this.$store.getters.userInfo.orgId
}
if (this.type === 'edit') {
form.id = this.id
form.autUserId = this.$store.getters.userInfo.userId
url = 'slrs/sar-public-idea-all/updateStand'
} else {
url = 'slrs/sar-public-idea-all/insetStand'
}
this.$http.post(url, form, {
_this: this
}, res => {
if (res.respCode === '200') {
this.form.page = 1
this.getList()
}
})
this.isDialog = false
}
})
},
//点击抽屉按钮取消事件
closeDrawer() {
this.isDialog = false
},
}, },
standinfoList: [], // 详情列表 mounted () {
form: { this.getList()
cid: this.$route.query.item.cid, this.getIdeaKey()
page: 1, }
size: this.$store.getters.userInfo.configContent,
userId: this.$store.getters.userInfo.userId,
endTime: this.$route.query.item.endTime
}, // 详情数据
ideaKey: false
} }
},
methods: {
exportAll () {
window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.cid)
},
// 获取详情信息列表
getList() {
this.spinShow = true
this.$http.get('slrs/sar-public-idea-all/getAllStand', this.form, {
_this: this
}, res => {
this.standinfoList = res.data.records
this.total = res.data.total
this.spinShow = false
res.data.records.forEach(item => {
if (item.ideaKey == 1) {
this.ideaKey = false
} else {
this.ideaKey = true
}
})
}, e => {
})
},
//分页数据改变
handlePageChange(page) {
this.form.page = page
this.getList()
},
handlePageSizeChange(pageSize) {
this.$store.getters.userInfo.configContent = pageSize
this.form.size = pageSize
this.getList()
},
back (){
this.$router.push({
name:'standardForComments'
})
},
// 更多
handleCommand (command) {
switch (command[1]) {
case '编辑':
this.selectStandardPro('edit', command[0])
break
case '删除':
this.deleteStand(command[0].id)
break
}
},
//编辑
selectStandardPro(type, row){
this.type = type
if (type === 'edit') {
this.id = row.id
this.opiniontitle = '编辑意见内容'
this.opinionContent.partCode = row.partCode
this.opinionContent.content = row.content
} else {
this.id = ''
this.opiniontitle = '新增意见'
this.opinionContent.partCode = ''
this.opinionContent.content = ''
}
this.isDialog = true
},
//删除
deleteStand(id){
this.$confirm('确认删除这些意见?', '提示', {
confirmButtonText: '确定',
confirmButtonClass: 'common-button-primary',
cancelButtonText: '取消',
type: 'warning',
roundButton: false
}).then(() => {
var form = {
id: id,
autUserId: this.$store.getters.userInfo.userId,
userId: this.$store.getters.userInfo.userId
}
this.$http.get('slrs/sar-public-idea-all/deleteStand', form, {
_this: this
}, res => {
this.$message.warning(res.message)
this.form.page = 1
this.getList()
})
//确认事件
}).catch(() => {
this.$message.warning('取消删除')
//取消事件
})
},
//点击抽屉按钮提交事件
saveUserInfo() {
this.$refs['formAdd'].validate((valid) => {
if (valid) {
var url = ''
var form = {
cid: this.$route.query.item.cid,
content: this.opinionContent.content,
partCode: this.opinionContent.partCode,
userId: this.$store.getters.userInfo.userId,
userName: this.$store.getters.userInfo.account,
deptName: this.$store.getters.userInfo.orgName,
deptId: this.$store.getters.userInfo.orgId
}
if (this.type === 'edit') {
form.id = this.id
form.autUserId = this.$store.getters.userInfo.userId
url = 'slrs/sar-public-idea-all/updateStand'
} else {
url = 'slrs/sar-public-idea-all/insetStand'
}
this.$http.post(url, form, {
_this: this
}, res => {
if (res.respCode === '200') {
this.form.page = 1
this.getList()
}
})
this.isDialog = false
}
})
},
//点击抽屉按钮取消事件
closeDrawer() {
this.isDialog = false
},
},
mounted () {
this.getList()
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
.consultationDetails { .consultationDetails {
height: 100%; height: 100%;
display: flex;
flex-direction: column;
.iconClass{
width: 18px;
height: 18px;
}
.contentTitle {
display: flex;
align-items: center;
padding: 0 10px;
height: 50px;
background: #ffffff;
.title{
flex: 1;
font-weight: bold;
font-size: 20px;
margin-left: 15px;
.el-icon-s-order{
font-size: 22px;
color: #4498F0;
cursor: pointer;
}
}
}
.transition-box{
padding: 0 10px;
background: #ffffff;
font-size: 14px;
.transition-box-p{
line-height: 35px;
.transition-box-label{
display: inline-block;
width: 100px;
vertical-align: top;
}
.transition-box-span{
display: inline-block;
width: calc(~'100% - 100px');
}
.file-box{
display: inline-block;
width: calc(~'100% - 100px');
.transition-box-span{
display: inline;
width: 100%;
cursor: pointer;
color: #4498f0;
}
p{
& > a{
cursor: pointer;
}
& > i{
display: inline-block;
margin-left: 3px;
width: 18px;
height: 16px;
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center center;
vertical-align: sub;
cursor: pointer;
}
.icon-download{
background-image: url("~assets/images/shangqi/img/download.png");
}
.icon-download2{
background-image: url("~assets/images/shangqi/img/download2.png");
}
}
}
}
}
.effect {
margin: 10px 10px 0 0;
}
.container {
height: calc(~'100% - 52px - 55px - 50px');
flex: auto;
display: flex;
margin:10px 0;
flex-direction: column;
.el-tabs{
height: 100%;
display: flex;
flex-direction: column;
flex: auto;
/deep/.el-tabs__content{
//height: calc(~'100% - 55px');
overflow-y: auto;
flex: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.el-tab-pane{ .iconClass{
height: 100%; width: 18px;
flex: auto; height: 18px;
display: flex; }
flex-direction: column; .contentTitle {
display: flex;
align-items: center;
padding: 0 10px;
height: 50px;
background: #ffffff;
.title{
flex: 1;
font-weight: bold;
font-size: 20px;
margin-left: 15px;
.el-icon-s-order{
font-size: 22px;
color: #4498F0;
cursor: pointer;
}
}
}
.transition-box{
padding: 0 10px;
background: #ffffff;
font-size: 14px;
.transition-box-p{
line-height: 35px;
.transition-box-label{
display: inline-block;
width: 100px;
vertical-align: top;
}
.transition-box-span{
display: inline-block;
width: calc(~'100% - 100px');
}
.file-box{
display: inline-block;
width: calc(~'100% - 100px');
.transition-box-span{
display: inline;
width: 100%;
cursor: pointer;
color: #4498f0;
}
p{
& > a{
cursor: pointer;
}
& > i{
display: inline-block;
margin-left: 3px;
width: 18px;
height: 16px;
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center center;
vertical-align: sub;
cursor: pointer;
}
.icon-download{
background-image: url("~assets/images/shangqi/img/download.png");
}
.icon-download2{
background-image: url("~assets/images/shangqi/img/download2.png");
}
}
}
}
}
.effect {
margin: 10px 10px 0 0;
}
.container {
height: calc(~'100% - 52px - 55px - 50px');
flex: auto;
display: flex;
margin:10px 0;
flex-direction: column;
.el-tabs{
height: 100%;
display: flex;
flex-direction: column;
flex: auto;
/deep/.el-tabs__content{
//height: calc(~'100% - 55px');
overflow-y: auto;
flex: auto;
display: flex;
flex-direction: column;
.el-tab-pane{
height: 100%;
flex: auto;
display: flex;
flex-direction: column;
}
}
}
}
.add-demo {
.search-area {
height: 100%;
}
::v-deep .el-textarea__inner {
width: 1000px;
}
} }
}
} }
}
.add-demo {
.search-area {
height: 100%;
}
::v-deep .el-textarea__inner {
width: 1000px;
}
}
}
</style> </style>