Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -395,7 +395,7 @@
|
|||||||
<p class="half">
|
<p class="half">
|
||||||
<label style=" margin-right: 156px;"
|
<label style=" margin-right: 156px;"
|
||||||
title="“修订中”为现行有效版本;“已修订”标准的有效性需根据实际实施情况判定"
|
title="“修订中”为现行有效版本;“已修订”标准的有效性需根据实际实施情况判定"
|
||||||
>文本状态</label><span style="color: #409EFF;">{{ sarStandardsInfoEO.standStatusShow || '-' }}</span>
|
>文本状态</label><span style="color: #409EFF;">{{ sarStandardsInfoEO.textStatusBuss || '-' }}</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="half"><label style=" margin-right: 157px;">发布日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span></p>
|
<p class="half"><label style=" margin-right: 157px;">发布日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span></p>
|
||||||
<p class="half" style=""><label style=" margin-right: 122px;">标准实施日期</label><span>{{ sarStandardsInfoEO.putTime || '-' }}</span></p>
|
<p class="half" style=""><label style=" margin-right: 122px;">标准实施日期</label><span>{{ sarStandardsInfoEO.putTime || '-' }}</span></p>
|
||||||
@@ -1295,6 +1295,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
textOptions: [],
|
||||||
commentAverageScoreTag: '1',
|
commentAverageScoreTag: '1',
|
||||||
qualityFirstHistoryPeopleId: '',//质量评价最新评价的人的id
|
qualityFirstHistoryPeopleId: '',//质量评价最新评价的人的id
|
||||||
dynamicFirstHistoryPeopleId: '',//动态评价最新评价的人的id
|
dynamicFirstHistoryPeopleId: '',//动态评价最新评价的人的id
|
||||||
@@ -2155,6 +2156,11 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarStandardsInfoEO = res.data || {}
|
this.sarStandardsInfoEO = res.data || {}
|
||||||
|
this.textOptions.forEach(item => {
|
||||||
|
if(this.sarStandardsInfoEO.textStatusBuss === item.value){
|
||||||
|
this.sarStandardsInfoEO.textStatusBuss = item.label
|
||||||
|
}
|
||||||
|
})
|
||||||
if (this.sarStandardsInfoEO.issueTime) {
|
if (this.sarStandardsInfoEO.issueTime) {
|
||||||
this.sarStandardsInfoEO.issueTime = this.sarStandardsInfoEO.issueTime.split(' ')[0]
|
this.sarStandardsInfoEO.issueTime = this.sarStandardsInfoEO.issueTime.split(' ')[0]
|
||||||
}
|
}
|
||||||
@@ -2870,6 +2876,18 @@ export default {
|
|||||||
async mounted () {
|
async mounted () {
|
||||||
//查询动态评价总平均分和质量评价总平均分
|
//查询动态评价总平均分和质量评价总平均分
|
||||||
let standId = this.$route.params.id
|
let standId = this.$route.params.id
|
||||||
|
// 从数据库中查询各下拉框数据
|
||||||
|
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车型”
|
||||||
|
this.emergyKindOptions = res.data.ENERGYTYPES
|
||||||
|
this.requestOptions = res.data.REQUESTTYPE
|
||||||
|
this.textOptions = res.data.TEXTSTATUSBUSS //企标文本状态
|
||||||
|
this.mjOptions = res.data.MJ
|
||||||
|
this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
|
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -2912,17 +2930,6 @@ export default {
|
|||||||
this.sarStandardsInfoEO.id = this.$route.params.id
|
this.sarStandardsInfoEO.id = this.$route.params.id
|
||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
this.standItemEO.standId = this.$route.params.id
|
this.standItemEO.standId = this.$route.params.id
|
||||||
// 从数据库中查询各下拉框数据
|
|
||||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车型”
|
|
||||||
this.emergyKindOptions = res.data.ENERGYTYPES
|
|
||||||
this.requestOptions = res.data.REQUESTTYPE
|
|
||||||
this.mjOptions = res.data.MJ
|
|
||||||
this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION
|
|
||||||
}, e => {
|
|
||||||
})
|
|
||||||
Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => {
|
Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => {
|
||||||
const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values
|
const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values
|
||||||
// const relatedPlansRes = await this.queryRelatedPlans()
|
// const relatedPlansRes = await this.queryRelatedPlans()
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
v-for="(file, fileIndex) in child1Func(child.value)">
|
v-for="(file, fileIndex) in child1Func(child.value)">
|
||||||
<!-- 单个文件时-->
|
<!-- 单个文件时-->
|
||||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
|
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
|
||||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer;margin-left: -60px"
|
||||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||||
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
||||||
<i
|
<i
|
||||||
@@ -3673,8 +3673,9 @@ export default {
|
|||||||
// if (field.attrField === 'XGLC' && !this.$_has('6A52PZCAX8BAUUJ2TSQ4')) {
|
// if (field.attrField === 'XGLC' && !this.$_has('6A52PZCAX8BAUUJ2TSQ4')) {
|
||||||
// return
|
// return
|
||||||
// }
|
// }
|
||||||
|
console.log(displayLocation)
|
||||||
displayLocation.forEach((location) => {
|
displayLocation.forEach((location) => {
|
||||||
console.log(location);
|
console.log(location.child)
|
||||||
location.isShowImp = '0'
|
location.isShowImp = '0'
|
||||||
if (dynamicFormField) {
|
if (dynamicFormField) {
|
||||||
let value = dynamicFormField[field.attrField]
|
let value = dynamicFormField[field.attrField]
|
||||||
@@ -3705,7 +3706,6 @@ export default {
|
|||||||
displayLocation.forEach(location => {
|
displayLocation.forEach(location => {
|
||||||
// 动态属性字段-FBGBJBD 单独添加至基础信息
|
// 动态属性字段-FBGBJBD 单独添加至基础信息
|
||||||
const list = displayLocation.filter(item => item.label === '过程稿件');
|
const list = displayLocation.filter(item => item.label === '过程稿件');
|
||||||
console.log('3535', list)
|
|
||||||
if (location.label === '基础信息' && list && list.length > 0) {
|
if (location.label === '基础信息' && list && list.length > 0) {
|
||||||
//发布稿必读
|
//发布稿必读
|
||||||
if (!list[0].child) {
|
if (!list[0].child) {
|
||||||
@@ -3772,6 +3772,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
console.log(child)
|
||||||
const fieldsIsTextAreaOrFile = child.filter(field => {
|
const fieldsIsTextAreaOrFile = child.filter(field => {
|
||||||
return field.attrType === 'TEXTAREA' || field.attrType === 'FILE'
|
return field.attrType === 'TEXTAREA' || field.attrType === 'FILE'
|
||||||
})
|
})
|
||||||
@@ -3783,7 +3784,6 @@ export default {
|
|||||||
location.half = half
|
location.half = half
|
||||||
location.showAll = false
|
location.showAll = false
|
||||||
})
|
})
|
||||||
console.log(displayLocation)
|
|
||||||
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', {
|
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', {
|
||||||
id: this.$route.params.id
|
id: this.$route.params.id
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
@@ -162,9 +162,9 @@
|
|||||||
<a @click="handlePreview(scope.row)">{{ scope.row.itemsName }}</a>
|
<a @click="handlePreview(scope.row)">{{ scope.row.itemsName }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="putTime" label="发布日期" width="120" align="center">
|
<el-table-column prop="issueTime" label="发布日期" width="120" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.putTime ? scope.row.putTime.substring(0, 10) : '' }}</span>
|
<span>{{ scope.row.issueTime ? scope.row.issueTime.substring(0, 10) : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="ssrq" label="实施日期" width="120" align="center">
|
<el-table-column prop="ssrq" label="实施日期" width="120" align="center">
|
||||||
@@ -473,8 +473,8 @@ export default {
|
|||||||
//标准名称
|
//标准名称
|
||||||
standName: this.dynamic.standName,
|
standName: this.dynamic.standName,
|
||||||
//发布日期
|
//发布日期
|
||||||
startPutTime: this.dynamic.putTime[0],
|
startIssueTime: this.dynamic.putTime[0],
|
||||||
endPutTime: this.dynamic.putTime[1],
|
endIssueTime: this.dynamic.putTime[1],
|
||||||
//实施日期
|
//实施日期
|
||||||
startSSRQ: this.dynamic.SSRQ[0],
|
startSSRQ: this.dynamic.SSRQ[0],
|
||||||
endSSRQ: this.dynamic.SSRQ[1],
|
endSSRQ: this.dynamic.SSRQ[1],
|
||||||
|
|||||||
@@ -836,6 +836,11 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="部分代替标准号" prop="bfbdtbzh" class="add-form-item form-item-disabled">
|
<el-form-item label="部分代替标准号" prop="bfbdtbzh" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
style="display:none;"
|
||||||
|
v-model="form.bfdtbzh"
|
||||||
|
placeholder="请输入部分代替标准号"
|
||||||
|
></el-input>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.bfbdtbzh"
|
v-model="form.bfbdtbzh"
|
||||||
placeholder="请输入部分代替标准号"
|
placeholder="请输入部分代替标准号"
|
||||||
@@ -1574,6 +1579,7 @@ export default {
|
|||||||
cbcd: '', // 采标程度
|
cbcd: '', // 采标程度
|
||||||
yybj: '', // 引用标准
|
yybj: '', // 引用标准
|
||||||
bfbdtbzh: '', // 部分代替标准号
|
bfbdtbzh: '', // 部分代替标准号
|
||||||
|
bfdtbzh: '',
|
||||||
byybj: '', // 被引用标准
|
byybj: '', // 被引用标准
|
||||||
glwj: '', // 关联文件
|
glwj: '', // 关联文件
|
||||||
xglc: '', // 相关流程
|
xglc: '', // 相关流程
|
||||||
@@ -2520,6 +2526,7 @@ export default {
|
|||||||
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' + textArr.join(',') : textArr.join(',')
|
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' + textArr.join(',') : textArr.join(',')
|
||||||
} else if (this.replaceLawType === 'bfbdtbzh') {
|
} else if (this.replaceLawType === 'bfbdtbzh') {
|
||||||
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' + textArr.join(',') : textArr.join(',')
|
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' + textArr.join(',') : textArr.join(',')
|
||||||
|
this.form.bfdtbzh = this.form.bfdtbzh ? this.form.bfdtbzh + ',' + textArr.join(',') : textArr.join(',')
|
||||||
} else {
|
} else {
|
||||||
this.form.byybj = this.form.byybj ? this.form.byybj + ',' + textArr.join(',') : textArr.join(',')
|
this.form.byybj = this.form.byybj ? this.form.byybj + ',' + textArr.join(',') : textArr.join(',')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -899,6 +899,7 @@
|
|||||||
jdwj: '', // 解读文件
|
jdwj: '', // 解读文件
|
||||||
zbjbd: '', // 增补件
|
zbjbd: '', // 增补件
|
||||||
bfbdtbzh: '', // 增补件
|
bfbdtbzh: '', // 增补件
|
||||||
|
bfdtbz: '',
|
||||||
kwj: '', // 勘误件
|
kwj: '', // 勘误件
|
||||||
caName: '', // 草案
|
caName: '', // 草案
|
||||||
fbgbjbdName: '', // 发布稿
|
fbgbjbdName: '', // 发布稿
|
||||||
@@ -1271,16 +1272,13 @@
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
console.log("this.formTongGuo.approvalOpinion",this.formTongGuo.approvalOpinion);
|
|
||||||
if(this.formTongGuo.approvalOpinion == '1'){
|
if(this.formTongGuo.approvalOpinion == '1'){
|
||||||
console.log("shibai");
|
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning("驳回成功")
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
this.formTongGuo.commentText = ''
|
this.formTongGuo.commentText = ''
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else{
|
}else{
|
||||||
console.log("hello");
|
|
||||||
this.processCreateStand(json)
|
this.processCreateStand(json)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1294,6 +1292,7 @@
|
|||||||
* @auth: chenxiaoxi
|
* @auth: chenxiaoxi
|
||||||
*/
|
*/
|
||||||
processCreateStand(json) {
|
processCreateStand(json) {
|
||||||
|
console.log(json)
|
||||||
const _formData = new FormData()
|
const _formData = new FormData()
|
||||||
_formData.append('infoJson', json)
|
_formData.append('infoJson', json)
|
||||||
processCreateStand(_formData).then(res => {
|
processCreateStand(_formData).then(res => {
|
||||||
|
|||||||
@@ -1576,6 +1576,7 @@ export default {
|
|||||||
caName: '', // 草案
|
caName: '', // 草案
|
||||||
fbgbjbdName: '', // 发布稿
|
fbgbjbdName: '', // 发布稿
|
||||||
bfbdtbzh: '', // 发布稿
|
bfbdtbzh: '', // 发布稿
|
||||||
|
bfdtbzh: '',
|
||||||
xgdName: '', // 修改单
|
xgdName: '', // 修改单
|
||||||
bpgName: '', // 报批稿
|
bpgName: '', // 报批稿
|
||||||
ssgName: '', // 送审稿
|
ssgName: '', // 送审稿
|
||||||
@@ -1949,6 +1950,7 @@ export default {
|
|||||||
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
|
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}else if(this.replaceLawType === 'bfbdtbzh'){
|
}else if(this.replaceLawType === 'bfbdtbzh'){
|
||||||
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
|
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
|
||||||
|
this.form.bfdtbzh = this.form.bfdtbzh ? this.form.bfdtbzh + ',' + textArr.join(',') : textArr.join(',')
|
||||||
} else {
|
} else {
|
||||||
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
|
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -266,7 +266,7 @@
|
|||||||
@checkedRole="checkedRole"
|
@checkedRole="checkedRole"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="编辑"
|
:title="modaltitle2"
|
||||||
:visible.sync="modalshowflag2"
|
:visible.sync="modalshowflag2"
|
||||||
:wrapperClosable="false"
|
:wrapperClosable="false"
|
||||||
size="800px">
|
size="800px">
|
||||||
@@ -336,6 +336,8 @@
|
|||||||
name: "bzzqyjStep3",
|
name: "bzzqyjStep3",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
modaltitle2: '',
|
||||||
|
addType: '',
|
||||||
onlyKey: '',
|
onlyKey: '',
|
||||||
commentText3: '',
|
commentText3: '',
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
@@ -349,6 +351,10 @@
|
|||||||
oldText: '',
|
oldText: '',
|
||||||
newText: '',
|
newText: '',
|
||||||
reason: '',
|
reason: '',
|
||||||
|
id: '',
|
||||||
|
department: this.$store.getters.userInfo.upDeptName,
|
||||||
|
responUserName: this.$store.getters.userInfo.userName,
|
||||||
|
responUser: this.$store.getters.userInfo.userId
|
||||||
},
|
},
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
todoId: '',
|
todoId: '',
|
||||||
@@ -426,7 +432,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
saveUserInfo2 () {
|
saveUserInfo2 () {
|
||||||
|
if (this.addType === 'add') {
|
||||||
|
this.data.push(this.editForm)
|
||||||
|
}
|
||||||
for( let a = 0; a < this.data.length; a++) {
|
for( let a = 0; a < this.data.length; a++) {
|
||||||
if (this.data[a].id === this.itemId) {
|
if (this.data[a].id === this.itemId) {
|
||||||
this.data[a].chapterNumber = this.editForm.chapterNumber
|
this.data[a].chapterNumber = this.editForm.chapterNumber
|
||||||
@@ -438,10 +448,27 @@
|
|||||||
}
|
}
|
||||||
this.modalshowflag2 = false
|
this.modalshowflag2 = false
|
||||||
},
|
},
|
||||||
cancleUserInfo2 () {
|
addModal() {
|
||||||
this.modalshowflag2 = false
|
var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
|
||||||
|
this.itemId = id
|
||||||
|
this.editForm = {
|
||||||
|
chapterNumber: '',
|
||||||
|
chapterName: '',
|
||||||
|
oldText: '',
|
||||||
|
newText: '',
|
||||||
|
reason: '',
|
||||||
|
id: id,
|
||||||
|
department: this.$store.getters.userInfo.upDeptName,
|
||||||
|
responUserName: this.$store.getters.userInfo.userName,
|
||||||
|
responUser: this.$store.getters.userInfo.userId
|
||||||
|
}
|
||||||
|
this.addType = 'add'
|
||||||
|
this.modaltitle2 = '新增'
|
||||||
|
this.modalshowflag2 = true
|
||||||
},
|
},
|
||||||
itemEdit (row) {
|
itemEdit (row) {
|
||||||
|
this.addType = 'edit'
|
||||||
|
this.modaltitle2 = '编辑'
|
||||||
this.itemId = row.id
|
this.itemId = row.id
|
||||||
this.modalshowflag2 = true
|
this.modalshowflag2 = true
|
||||||
this.editForm = {
|
this.editForm = {
|
||||||
@@ -452,6 +479,10 @@
|
|||||||
reason: row.reason,
|
reason: row.reason,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
cancleUserInfo2 () {
|
||||||
|
this.modalshowflag2 = false
|
||||||
|
},
|
||||||
downloadFile (attId) {
|
downloadFile (attId) {
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||||
},
|
},
|
||||||
@@ -529,31 +560,6 @@
|
|||||||
this.$message.warning('请选择要删除的数据')
|
this.$message.warning('请选择要删除的数据')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
addModal() {
|
|
||||||
var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
|
|
||||||
var json = {
|
|
||||||
chapterNumber: '',
|
|
||||||
chapterName: '',
|
|
||||||
commentText: '',
|
|
||||||
oldText: '',
|
|
||||||
newText: '',
|
|
||||||
reason: '',
|
|
||||||
id: id,
|
|
||||||
department: this.$store.getters.userInfo.upDeptName,
|
|
||||||
responUserName: this.$store.getters.userInfo.userName,
|
|
||||||
responUser: this.$store.getters.userInfo.userId
|
|
||||||
}
|
|
||||||
this.data.push(json)
|
|
||||||
this.itemId = id
|
|
||||||
this.editForm = {
|
|
||||||
chapterNumber: '',
|
|
||||||
chapterName: '',
|
|
||||||
oldText: '',
|
|
||||||
newText: '',
|
|
||||||
reason: '',
|
|
||||||
}
|
|
||||||
this.modalshowflag2 = true
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -285,7 +285,7 @@
|
|||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="编辑"
|
:title="modaltitle2"
|
||||||
:visible.sync="modalshowflag2"
|
:visible.sync="modalshowflag2"
|
||||||
:wrapperClosable="false"
|
:wrapperClosable="false"
|
||||||
size="800px">
|
size="800px">
|
||||||
@@ -346,6 +346,8 @@ export default {
|
|||||||
name: "bzzqyjStep4",
|
name: "bzzqyjStep4",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
modaltitle2: '',
|
||||||
|
addType: '',
|
||||||
commentText4: '',
|
commentText4: '',
|
||||||
acceptShow: false,
|
acceptShow: false,
|
||||||
idList: [],
|
idList: [],
|
||||||
@@ -450,31 +452,6 @@ export default {
|
|||||||
this.$message.warning('请选择要删除的数据')
|
this.$message.warning('请选择要删除的数据')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
addModal() {
|
|
||||||
var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
|
|
||||||
var json = {
|
|
||||||
chapterNumber: '',
|
|
||||||
chapterName: '',
|
|
||||||
commentText: '',
|
|
||||||
oldText: '',
|
|
||||||
newText: '',
|
|
||||||
reason: '',
|
|
||||||
id: id,
|
|
||||||
department: this.$store.getters.userInfo.institutionName,
|
|
||||||
responUserName: this.$store.getters.userInfo.userName,
|
|
||||||
responUser: this.$store.getters.userInfo.userId
|
|
||||||
}
|
|
||||||
this.data.push(json)
|
|
||||||
this.itemId = id
|
|
||||||
this.editForm = {
|
|
||||||
chapterNumber: '',
|
|
||||||
chapterName: '',
|
|
||||||
oldText: '',
|
|
||||||
newText: '',
|
|
||||||
reason: '',
|
|
||||||
}
|
|
||||||
this.modalshowflag2 = true
|
|
||||||
},
|
|
||||||
getItemList (standId, fileType) { // 查询分解单条款数据
|
getItemList (standId, fileType) { // 查询分解单条款数据
|
||||||
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
|
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
|
||||||
standId: standId,
|
standId: standId,
|
||||||
@@ -497,6 +474,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
saveUserInfo2 () {
|
saveUserInfo2 () {
|
||||||
|
if (this.addType === 'add') {
|
||||||
|
this.data.push(this.editForm)
|
||||||
|
}
|
||||||
for( let a = 0; a < this.data.length; a++) {
|
for( let a = 0; a < this.data.length; a++) {
|
||||||
if (this.data[a].id === this.itemId) {
|
if (this.data[a].id === this.itemId) {
|
||||||
this.data[a].chapterNumber = this.editForm.chapterNumber
|
this.data[a].chapterNumber = this.editForm.chapterNumber
|
||||||
@@ -508,10 +488,27 @@ export default {
|
|||||||
}
|
}
|
||||||
this.modalshowflag2 = false
|
this.modalshowflag2 = false
|
||||||
},
|
},
|
||||||
cancleUserInfo2 () {
|
addModal() {
|
||||||
this.modalshowflag2 = false
|
var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
|
||||||
|
this.itemId = id
|
||||||
|
this.editForm = {
|
||||||
|
chapterNumber: '',
|
||||||
|
chapterName: '',
|
||||||
|
oldText: '',
|
||||||
|
newText: '',
|
||||||
|
reason: '',
|
||||||
|
id: id,
|
||||||
|
department: this.$store.getters.userInfo.upDeptName,
|
||||||
|
responUserName: this.$store.getters.userInfo.userName,
|
||||||
|
responUser: this.$store.getters.userInfo.userId
|
||||||
|
}
|
||||||
|
this.addType = 'add'
|
||||||
|
this.modaltitle2 = '新增'
|
||||||
|
this.modalshowflag2 = true
|
||||||
},
|
},
|
||||||
itemEdit (row) {
|
itemEdit (row) {
|
||||||
|
this.addType = 'edit'
|
||||||
|
this.modaltitle2 = '编辑'
|
||||||
this.itemId = row.id
|
this.itemId = row.id
|
||||||
this.modalshowflag2 = true
|
this.modalshowflag2 = true
|
||||||
this.editForm = {
|
this.editForm = {
|
||||||
@@ -522,6 +519,9 @@ export default {
|
|||||||
reason: row.reason,
|
reason: row.reason,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
cancleUserInfo2 () {
|
||||||
|
this.modalshowflag2 = false
|
||||||
|
},
|
||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
this.form.spId = data[0].id
|
this.form.spId = data[0].id
|
||||||
this.form.spName = data[0].name
|
this.form.spName = data[0].name
|
||||||
|
|||||||
@@ -179,7 +179,7 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="itemEdit(scope.row)">处理</el-button>
|
@click="itemEdit(scope.row, scope.$index)">处理</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -447,14 +447,13 @@
|
|||||||
},
|
},
|
||||||
saveUserInfo2 () {
|
saveUserInfo2 () {
|
||||||
for( let a = 0; a < this.data.length; a++) {
|
for( let a = 0; a < this.data.length; a++) {
|
||||||
if (this.data[a].id === this.itemId) {
|
if (a === this.itemId) {
|
||||||
this.data[a].chapterNumber = this.editForm.chapterNumber
|
this.data[a].chapterNumber = this.editForm.chapterNumber
|
||||||
this.data[a].chapterName = this.editForm.chapterName
|
this.data[a].chapterName = this.editForm.chapterName
|
||||||
this.data[a].oldText = this.editForm.oldText
|
this.data[a].oldText = this.editForm.oldText
|
||||||
this.data[a].newText = this.editForm.newText
|
this.data[a].newText = this.editForm.newText
|
||||||
this.data[a].reason = this.editForm.reason
|
this.data[a].reason = this.editForm.reason
|
||||||
this.data[a].cause = this.editForm.cause
|
this.data[a].cause = this.editForm.cause
|
||||||
this.$set(this.data, a,this.editForm)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.modalshowflag2 = false
|
this.modalshowflag2 = false
|
||||||
@@ -462,8 +461,8 @@
|
|||||||
cancleUserInfo2 () {
|
cancleUserInfo2 () {
|
||||||
this.modalshowflag2 = false
|
this.modalshowflag2 = false
|
||||||
},
|
},
|
||||||
itemEdit (row) {
|
itemEdit (row, index) {
|
||||||
this.itemId = row.id
|
this.itemId = index
|
||||||
this.modalshowflag2 = true
|
this.modalshowflag2 = true
|
||||||
this.editForm = {
|
this.editForm = {
|
||||||
chapterNumber: row.chapterNumber,
|
chapterNumber: row.chapterNumber,
|
||||||
@@ -599,7 +598,8 @@
|
|||||||
this.form.textType = data.form ? data.form.textType : data.textType
|
this.form.textType = data.form ? data.form.textType : data.textType
|
||||||
this.form.cid = data.form ? data.form.cid : data.cid
|
this.form.cid = data.form ? data.form.cid : data.cid
|
||||||
this.form.endTime = data.form ? data.form.endTime : data.endTime
|
this.form.endTime = data.form ? data.form.endTime : data.endTime
|
||||||
data.info.forEach(item => {
|
let newArr = data.info ? data.info : data.form.data
|
||||||
|
newArr.forEach(item => {
|
||||||
if (!item.source) {
|
if (!item.source) {
|
||||||
item.source = '1'
|
item.source = '1'
|
||||||
}
|
}
|
||||||
@@ -610,7 +610,7 @@
|
|||||||
});
|
});
|
||||||
this.json = data;
|
this.json = data;
|
||||||
this.getItemList(data.standId,this.form.textValue)
|
this.getItemList(data.standId,this.form.textValue)
|
||||||
this.data = data.info
|
this.data = newArr
|
||||||
if (data.introduce) {
|
if (data.introduce) {
|
||||||
} else {
|
} else {
|
||||||
this.$http.get("slrs/sar-public-idea-all/getPublicIdea", {
|
this.$http.get("slrs/sar-public-idea-all/getPublicIdea", {
|
||||||
|
|||||||
@@ -340,8 +340,8 @@
|
|||||||
user7Name: ''
|
user7Name: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
user7: [
|
||||||
{required: true, message: "请选择责任人", trigger: "change"}
|
{required: true, message: "请选择审批领导", trigger: "change"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {}
|
json: {}
|
||||||
@@ -474,23 +474,29 @@
|
|||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true;
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
var json = this.json;
|
if (valid) {
|
||||||
json.hqFlag = '0';
|
this.isSubmit = true;
|
||||||
json.commentText = this.commentText6;
|
var json = this.json;
|
||||||
json.user7 = this.form.user7;
|
json.hqFlag = '0';
|
||||||
json.user7Name = this.form.user7Name;
|
json.commentText = this.commentText6;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
json.user7 = this.form.user7;
|
||||||
json: JSON.stringify(json),
|
json.user7Name = this.form.user7Name;
|
||||||
taskId: this.taskIds,
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
userId: this.$store.getters.userInfo.userId
|
json: JSON.stringify(json),
|
||||||
}, {}, res => {
|
taskId: this.taskIds,
|
||||||
if (res.success) {
|
userId: this.$store.getters.userInfo.userId
|
||||||
this.$message.success("提交成功");
|
}, {}, res => {
|
||||||
this.$router.push("/processCenter");
|
if (res.success) {
|
||||||
|
this.$message.success("提交成功");
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请选择审批领导')
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
})
|
||||||
});
|
|
||||||
},
|
},
|
||||||
handleSubmitNo() {
|
handleSubmitNo() {
|
||||||
if (this.commentText6) {
|
if (this.commentText6) {
|
||||||
@@ -520,6 +526,7 @@
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let data = JSON.parse(res.mesg);
|
let data = JSON.parse(res.mesg);
|
||||||
|
console.log(data);
|
||||||
this.commentText6 = data.commentText6 || ''
|
this.commentText6 = data.commentText6 || ''
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
this.form.cid = data.cid || data.form.cid;
|
this.form.cid = data.cid || data.form.cid;
|
||||||
@@ -528,9 +535,10 @@
|
|||||||
this.form.modelList = data.modelList || data.form.modelList
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
this.form.user7 = data.form ? data.form.user7 : (data.user7 ? data.user7 : '')
|
this.form.user7 = data.form ? data.form.user7 : (data.user7 ? data.user7 : '')
|
||||||
this.form.user7Name = data.form ? data.form.user7Name : (data.user7Name ? data.user7Name : '')
|
this.form.user7Name = data.form ? data.form.user7Name : (data.user7Name ? data.user7Name : '')
|
||||||
this.oldData = JSON.parse(JSON.stringify(data.info))
|
let newArr = data.info ? data.info : data.form.data
|
||||||
var arr = []
|
this.oldData = JSON.parse(JSON.stringify(newArr))
|
||||||
data.info.forEach(item => {
|
let arr = []
|
||||||
|
newArr.forEach(item => {
|
||||||
if (item.state != '3') {
|
if (item.state != '3') {
|
||||||
arr.push(item)
|
arr.push(item)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -493,9 +493,10 @@ export default {
|
|||||||
this.form.endTime = data.endTime || data.form.endTime;
|
this.form.endTime = data.endTime || data.form.endTime;
|
||||||
this.form.textType = data.textType || data.form.textType
|
this.form.textType = data.textType || data.form.textType
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
this.oldData = JSON.parse(JSON.stringify(data.info))
|
let newArr = data.info ? data.info : data.form.data
|
||||||
var arr = []
|
this.oldData = JSON.parse(JSON.stringify(newArr))
|
||||||
data.info.forEach(item => {
|
let arr = []
|
||||||
|
newArr.forEach(item => {
|
||||||
if (item.state != '3') {
|
if (item.state != '3') {
|
||||||
arr.push(item)
|
arr.push(item)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -249,7 +249,6 @@
|
|||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@save="handleSave"
|
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
show-back
|
show-back
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
@@ -497,9 +496,10 @@ export default {
|
|||||||
this.form.endTime = data.endTime || data.form.endTime;
|
this.form.endTime = data.endTime || data.form.endTime;
|
||||||
this.form.textType = data.textType || data.form.textType
|
this.form.textType = data.textType || data.form.textType
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
this.oldData = JSON.parse(JSON.stringify(data.info))
|
let newArr = data.info ? data.info : data.form.data
|
||||||
var arr = []
|
this.oldData = JSON.parse(JSON.stringify(newArr))
|
||||||
data.info.forEach(item => {
|
let arr = []
|
||||||
|
newArr.forEach(item => {
|
||||||
if (item.state != '3') {
|
if (item.state != '3') {
|
||||||
arr.push(item)
|
arr.push(item)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -496,9 +496,10 @@ export default {
|
|||||||
this.form.endTime = data.endTime || data.form.endTime;
|
this.form.endTime = data.endTime || data.form.endTime;
|
||||||
this.form.textType = data.textType || data.form.textType
|
this.form.textType = data.textType || data.form.textType
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
this.oldData = JSON.parse(JSON.stringify(data.info))
|
let newArr = data.info ? data.info : data.form.data
|
||||||
var arr = []
|
this.oldData = JSON.parse(JSON.stringify(newArr))
|
||||||
data.info.forEach(item => {
|
let arr = []
|
||||||
|
newArr.forEach(item => {
|
||||||
if (item.state != '3') {
|
if (item.state != '3') {
|
||||||
arr.push(item)
|
arr.push(item)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,8 +40,8 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定完成" value="制定完成"></el-option>
|
<el-option label="制定完成" value="制定完成"></el-option>
|
||||||
<el-option label="制定中" value="制定中"></el-option>
|
<el-option label="制定中" value="制定中"></el-option>
|
||||||
<el-option label="未制定" value="未制定"></el-option>
|
<el-option label="未制定" value="未制定"></el-option>
|
||||||
@@ -200,8 +200,8 @@
|
|||||||
placeholder="根据企标名称查找"
|
placeholder="根据企标名称查找"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="制修订状态" class="search-item search-item-last">
|
<el-form-item label="制修订类型" class="search-item search-item-last">
|
||||||
<el-select v-model="standardSearch.reviseStatus" placeholder="请选择制修订状态">
|
<el-select v-model="standardSearch.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定" value="制定"></el-option>
|
<el-option label="制定" value="制定"></el-option>
|
||||||
<el-option label="修订" value="修订"></el-option>
|
<el-option label="修订" value="修订"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -257,7 +257,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="reviseStatus"
|
prop="reviseStatus"
|
||||||
align="center"
|
align="center"
|
||||||
label="制修订状态">
|
label="制修订类型">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.reviseStatus === '1'? '制定' : '修订'}}</div>
|
<div>{{ scope.row.reviseStatus === '1'? '制定' : '修订'}}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -40,8 +40,8 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定" value="1"></el-option>
|
<el-option label="制定" value="1"></el-option>
|
||||||
<el-option label="修订" value="2"></el-option>
|
<el-option label="修订" value="2"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -216,8 +216,8 @@
|
|||||||
placeholder="根据企标名称查找"
|
placeholder="根据企标名称查找"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="制修订状态" class="search-item search-item-last">
|
<el-form-item label="制修订类型" class="search-item search-item-last">
|
||||||
<el-select v-model="standardSearch.reviseStatus" placeholder="请选择制修订状态">
|
<el-select v-model="standardSearch.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定" value="制定"></el-option>
|
<el-option label="制定" value="制定"></el-option>
|
||||||
<el-option label="修订" value="修订"></el-option>
|
<el-option label="修订" value="修订"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -273,7 +273,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="reviseStatus"
|
prop="reviseStatus"
|
||||||
align="center"
|
align="center"
|
||||||
label="制修订状态">
|
label="制修订类型">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.reviseStatus === '1'? '制定' : '修订'}}</div>
|
<div>{{ scope.row.reviseStatus === '1'? '制定' : '修订'}}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -27,9 +27,9 @@
|
|||||||
placeholder="请输入企标名称"
|
placeholder="请输入企标名称"
|
||||||
:maxlength="500"/>
|
:maxlength="500"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px"
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px"
|
||||||
class="add-form-item form-item-disabled">
|
class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定" value="制定"></el-option>
|
<el-option label="制定" value="制定"></el-option>
|
||||||
<el-option label="修订" value="修订"></el-option>
|
<el-option label="修订" value="修订"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -281,9 +281,9 @@
|
|||||||
v-if="TXJGmodal"
|
v-if="TXJGmodal"
|
||||||
ref="TXJGTree"
|
ref="TXJGTree"
|
||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
|
@check-change="handleClick"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
node-key="id"
|
node-key="id"
|
||||||
default-expand-all
|
|
||||||
check-strictly
|
check-strictly
|
||||||
:default-checked-keys="TXJGList"
|
:default-checked-keys="TXJGList"
|
||||||
:props="defaultProps">
|
:props="defaultProps">
|
||||||
@@ -373,7 +373,7 @@ export default {
|
|||||||
unitName: "",
|
unitName: "",
|
||||||
esName: "", // 企标名称
|
esName: "", // 企标名称
|
||||||
planStatus: "0", // 计划状态
|
planStatus: "0", // 计划状态
|
||||||
reviseStatus: "", // 制修订状态
|
reviseStatus: "", // 制修订类型
|
||||||
area: "", //适用车型
|
area: "", //适用车型
|
||||||
isRelate: "", //采用何种标准
|
isRelate: "", //采用何种标准
|
||||||
technologic: '', //指标依据
|
technologic: '', //指标依据
|
||||||
@@ -400,7 +400,7 @@ export default {
|
|||||||
{ required: true, message: "请输入企标名称", trigger: "blur" }
|
{ required: true, message: "请输入企标名称", trigger: "blur" }
|
||||||
],
|
],
|
||||||
reviseStatus: [
|
reviseStatus: [
|
||||||
{ required: true, message: "请选择制修订状态", trigger: "blur" }
|
{ required: true, message: "请选择制修订类型", trigger: "blur" }
|
||||||
],
|
],
|
||||||
resPersonName: [
|
resPersonName: [
|
||||||
{ required: true, message: "请输入评审责任人", trigger: "blur" }
|
{ required: true, message: "请输入评审责任人", trigger: "blur" }
|
||||||
@@ -453,6 +453,12 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//体系结构单选
|
||||||
|
handleClick(data,checked, node){
|
||||||
|
if(checked){
|
||||||
|
this.$refs.TXJGTree.setCheckedNodes([data]);
|
||||||
|
}
|
||||||
|
},
|
||||||
TXJGcloseDrawer () {
|
TXJGcloseDrawer () {
|
||||||
this.TXJGmodal = false
|
this.TXJGmodal = false
|
||||||
},
|
},
|
||||||
@@ -591,18 +597,26 @@ export default {
|
|||||||
this.modalshowflag2 = true;
|
this.modalshowflag2 = true;
|
||||||
},
|
},
|
||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
|
console.log(data);
|
||||||
let idList = "", nameList = ""
|
let idList = "", nameList = ""
|
||||||
|
let unitList = "", unitNameList = ""
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (nameList.length) {
|
if (nameList.length) {
|
||||||
nameList += ",";
|
nameList += ",";
|
||||||
idList += ",";
|
idList += ",";
|
||||||
|
unitList += ",";
|
||||||
|
unitNameList += ",";
|
||||||
}
|
}
|
||||||
idList += item.id;
|
idList += item.id;
|
||||||
nameList += item.name;
|
nameList += item.name;
|
||||||
|
unitList += item.institutionId
|
||||||
|
unitNameList += item.institutionName
|
||||||
});
|
});
|
||||||
if(this.roleType === '1'){
|
if(this.roleType === '1'){
|
||||||
this.$set(this.qbfsForm, 'drafter', idList)
|
this.$set(this.qbfsForm, 'drafter', idList)
|
||||||
this.$set(this.qbfsForm, 'drafterName', nameList)
|
this.$set(this.qbfsForm, 'drafterName', nameList)
|
||||||
|
this.$set(this.qbfsForm, 'unit', unitList)
|
||||||
|
this.$set(this.qbfsForm, 'unitName', unitNameList)
|
||||||
}else if(this.roleType === '2'){
|
}else if(this.roleType === '2'){
|
||||||
this.$set(this.qbfsForm, 'resPerson', idList)
|
this.$set(this.qbfsForm, 'resPerson', idList)
|
||||||
this.$set(this.qbfsForm, 'resPersonName', nameList)
|
this.$set(this.qbfsForm, 'resPersonName', nameList)
|
||||||
@@ -611,6 +625,9 @@ export default {
|
|||||||
if(this.qbfsForm.drafterName){
|
if(this.qbfsForm.drafterName){
|
||||||
this.$refs.qbfsForm.validateField('drafterName');
|
this.$refs.qbfsForm.validateField('drafterName');
|
||||||
}
|
}
|
||||||
|
if(this.qbfsForm.unitName){
|
||||||
|
this.$refs.qbfsForm.validateField('unitName');
|
||||||
|
}
|
||||||
if(this.qbfsForm.resPersonName){
|
if(this.qbfsForm.resPersonName){
|
||||||
this.$refs.qbfsForm.validateField('resPersonName');
|
this.$refs.qbfsForm.validateField('resPersonName');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,8 +20,8 @@
|
|||||||
<el-form-item label="企标名称" prop="esName1" class="add-form-item form-item-disabled">
|
<el-form-item label="企标名称" prop="esName1" class="add-form-item form-item-disabled">
|
||||||
<el-input readonly v-model="qbfsForm.esName1" placeholder="请输入企标名称" clearable></el-input>
|
<el-input readonly v-model="qbfsForm.esName1" placeholder="请输入企标名称" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="制修订状态" prop="reviseStatus1" class="add-form-item form-item-disabled">
|
<el-form-item label="制修订类型" prop="reviseStatus1" class="add-form-item form-item-disabled">
|
||||||
<el-input readonly v-model="qbfsForm.reviseStatus1" placeholder="请输入制修订状态" clearable></el-input>
|
<el-input readonly v-model="qbfsForm.reviseStatus1" placeholder="请输入制修订类型" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
@@ -31,8 +31,8 @@
|
|||||||
<el-form-item label="企标名称" prop="esName2" class="add-form-item form-item-disabled">
|
<el-form-item label="企标名称" prop="esName2" class="add-form-item form-item-disabled">
|
||||||
<el-input readonly v-model="qbfsForm.esName2" placeholder="请输入企标名称" clearable></el-input>
|
<el-input readonly v-model="qbfsForm.esName2" placeholder="请输入企标名称" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="制修订状态" prop="reviseStatus2" class="add-form-item form-item-disabled">
|
<el-form-item label="制修订类型" prop="reviseStatus2" class="add-form-item form-item-disabled">
|
||||||
<el-input readonly v-model="qbfsForm.reviseStatus2" placeholder="请输入制修订状态" clearable></el-input>
|
<el-input readonly v-model="qbfsForm.reviseStatus2" placeholder="请输入制修订类型" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -64,8 +64,8 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定" value="制定"></el-option>
|
<el-option label="制定" value="制定"></el-option>
|
||||||
<el-option label="修订" value="修订"></el-option>
|
<el-option label="修订" value="修订"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -222,8 +222,8 @@
|
|||||||
placeholder="根据企标名称查找"
|
placeholder="根据企标名称查找"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="制修订状态" class="search-item search-item-last">
|
<el-form-item label="制修订类型" class="search-item search-item-last">
|
||||||
<el-select v-model="standardSearch.reviseStatus" placeholder="请选择制修订状态">
|
<el-select v-model="standardSearch.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定" value="制定"></el-option>
|
<el-option label="制定" value="制定"></el-option>
|
||||||
<el-option label="修订" value="修订"></el-option>
|
<el-option label="修订" value="修订"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -279,7 +279,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="reviseStatus"
|
prop="reviseStatus"
|
||||||
align="center"
|
align="center"
|
||||||
label="制修订状态">
|
label="制修订类型">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.reviseStatus === '1'? '制定' : '修订'}}</div>
|
<div>{{ scope.row.reviseStatus === '1'? '制定' : '修订'}}</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -444,10 +444,10 @@
|
|||||||
<el-tree
|
<el-tree
|
||||||
v-if="TXJGmodal"
|
v-if="TXJGmodal"
|
||||||
ref="TXJGTree"
|
ref="TXJGTree"
|
||||||
|
@check-change="handleClick"
|
||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
node-key="id"
|
node-key="id"
|
||||||
default-expand-all
|
|
||||||
check-strictly
|
check-strictly
|
||||||
:default-checked-keys="TXJGList"
|
:default-checked-keys="TXJGList"
|
||||||
:props="defaultProps">
|
:props="defaultProps">
|
||||||
@@ -558,7 +558,7 @@ export default {
|
|||||||
{required: true, message: '请输入企标名称', trigger: 'blur'},
|
{required: true, message: '请输入企标名称', trigger: 'blur'},
|
||||||
],
|
],
|
||||||
reviseStatus: [
|
reviseStatus: [
|
||||||
{required: true, message: '请选择制修订状态', trigger: 'change'},
|
{required: true, message: '请选择制修订类型', trigger: 'change'},
|
||||||
],
|
],
|
||||||
resPersonName: [
|
resPersonName: [
|
||||||
{required: true, message: '请输入评审责任人', trigger: 'blur'},
|
{required: true, message: '请输入评审责任人', trigger: 'blur'},
|
||||||
@@ -649,6 +649,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//体系结构单选
|
||||||
|
handleClick(data,checked, node){
|
||||||
|
if(checked){
|
||||||
|
this.$refs.TXJGTree.setCheckedNodes([data]);
|
||||||
|
}
|
||||||
|
},
|
||||||
TXJGcloseDrawer () {
|
TXJGcloseDrawer () {
|
||||||
this.TXJGmodal = false
|
this.TXJGmodal = false
|
||||||
},
|
},
|
||||||
@@ -783,19 +789,26 @@ export default {
|
|||||||
this.modalshowflag2 = true;
|
this.modalshowflag2 = true;
|
||||||
},
|
},
|
||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
let idList = "";
|
let idList = "", nameList = ""
|
||||||
let nameList = "";
|
let unitList = "", unitNameList = ""
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (nameList.length) {
|
if (nameList.length) {
|
||||||
nameList += ",";
|
nameList += ",";
|
||||||
idList += ",";
|
idList += ",";
|
||||||
|
unitList += ",";
|
||||||
|
unitNameList += ",";
|
||||||
}
|
}
|
||||||
idList += item.id;
|
idList += item.id;
|
||||||
nameList += item.name;
|
nameList += item.name;
|
||||||
|
unitList += item.institutionId
|
||||||
|
unitNameList += item.institutionName
|
||||||
|
|
||||||
});
|
});
|
||||||
if(this.type === '1'){
|
if(this.type === '1'){
|
||||||
this.$set(this.qbfsForm, 'drafter', idList)
|
this.$set(this.qbfsForm, 'drafter', idList)
|
||||||
this.$set(this.qbfsForm, 'drafterName', nameList)
|
this.$set(this.qbfsForm, 'drafterName', nameList)
|
||||||
|
this.$set(this.qbfsForm, 'unit', unitList)
|
||||||
|
this.$set(this.qbfsForm, 'unitName', unitNameList)
|
||||||
}else if(this.type === '2'){
|
}else if(this.type === '2'){
|
||||||
this.$set(this.qbfsForm, 'resPerson', idList)
|
this.$set(this.qbfsForm, 'resPerson', idList)
|
||||||
this.$set(this.qbfsForm, 'resPersonName', nameList)
|
this.$set(this.qbfsForm, 'resPersonName', nameList)
|
||||||
@@ -803,6 +816,9 @@ export default {
|
|||||||
if(this.qbfsForm.drafterName){
|
if(this.qbfsForm.drafterName){
|
||||||
this.$refs.qbfsForm.validateField('drafterName');
|
this.$refs.qbfsForm.validateField('drafterName');
|
||||||
}
|
}
|
||||||
|
if(this.qbfsForm.unitName){
|
||||||
|
this.$refs.qbfsForm.validateField('unitName');
|
||||||
|
}
|
||||||
if(this.qbfsForm.resPersonName){
|
if(this.qbfsForm.resPersonName){
|
||||||
this.$refs.qbfsForm.validateField('resPersonName');
|
this.$refs.qbfsForm.validateField('resPersonName');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,8 +40,8 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定" value="制定"></el-option>
|
<el-option label="制定" value="制定"></el-option>
|
||||||
<el-option label="修订" value="修订"></el-option>
|
<el-option label="修订" value="修订"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -207,8 +207,8 @@
|
|||||||
placeholder="根据企标名称查找"
|
placeholder="根据企标名称查找"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="制修订状态" class="search-item search-item-last">
|
<el-form-item label="制修订类型" class="search-item search-item-last">
|
||||||
<el-select v-model="standardSearch.reviseStatus" placeholder="请选择制修订状态">
|
<el-select v-model="standardSearch.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定" value="制定"></el-option>
|
<el-option label="制定" value="制定"></el-option>
|
||||||
<el-option label="修订" value="修订"></el-option>
|
<el-option label="修订" value="修订"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -264,7 +264,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="reviseStatus"
|
prop="reviseStatus"
|
||||||
align="center"
|
align="center"
|
||||||
label="制修订状态">
|
label="制修订类型">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.reviseStatus === '1'? '制定' : '修订'}}</div>
|
<div>{{ scope.row.reviseStatus === '1'? '制定' : '修订'}}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
placeholder="请输入企标名称"
|
placeholder="请输入企标名称"
|
||||||
:maxlength="500"/>
|
:maxlength="500"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定完成" value="制定完成"></el-option>
|
<el-option label="制定完成" value="制定完成"></el-option>
|
||||||
<el-option label="制定中" value="制定中"></el-option>
|
<el-option label="制定中" value="制定中"></el-option>
|
||||||
<el-option label="未制定" value="未制定"></el-option>
|
<el-option label="未制定" value="未制定"></el-option>
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
placeholder="请输入企标名称"
|
placeholder="请输入企标名称"
|
||||||
:maxlength="500"/>
|
:maxlength="500"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定完成" value="制定完成"></el-option>
|
<el-option label="制定完成" value="制定完成"></el-option>
|
||||||
<el-option label="制定中" value="制定中"></el-option>
|
<el-option label="制定中" value="制定中"></el-option>
|
||||||
<el-option label="未制定" value="未制定"></el-option>
|
<el-option label="未制定" value="未制定"></el-option>
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
placeholder="请输入企标名称"
|
placeholder="请输入企标名称"
|
||||||
:maxlength="500"/>
|
:maxlength="500"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定完成" value="制定完成"></el-option>
|
<el-option label="制定完成" value="制定完成"></el-option>
|
||||||
<el-option label="制定中" value="制定中"></el-option>
|
<el-option label="制定中" value="制定中"></el-option>
|
||||||
<el-option label="未制定" value="未制定"></el-option>
|
<el-option label="未制定" value="未制定"></el-option>
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
placeholder="请输入企标名称"
|
placeholder="请输入企标名称"
|
||||||
:maxlength="500"/>
|
:maxlength="500"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定完成" value="制定完成"></el-option>
|
<el-option label="制定完成" value="制定完成"></el-option>
|
||||||
<el-option label="制定中" value="制定中"></el-option>
|
<el-option label="制定中" value="制定中"></el-option>
|
||||||
<el-option label="未制定" value="未制定"></el-option>
|
<el-option label="未制定" value="未制定"></el-option>
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
placeholder="请输入企标名称"
|
placeholder="请输入企标名称"
|
||||||
:maxlength="500"/>
|
:maxlength="500"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="reviseStatus" label="制修订状态" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
<el-form-item prop="reviseStatus" label="制修订类型" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
|
||||||
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订状态">
|
<el-select disabled v-model="qbfsForm.reviseStatus" placeholder="请选择制修订类型">
|
||||||
<el-option label="制定完成" value="制定完成"></el-option>
|
<el-option label="制定完成" value="制定完成"></el-option>
|
||||||
<el-option label="制定中" value="制定中"></el-option>
|
<el-option label="制定中" value="制定中"></el-option>
|
||||||
<el-option label="未制定" value="未制定"></el-option>
|
<el-option label="未制定" value="未制定"></el-option>
|
||||||
|
|||||||
@@ -288,10 +288,15 @@
|
|||||||
<el-input
|
<el-input
|
||||||
clearable
|
clearable
|
||||||
v-model="addForm.unitName"
|
v-model="addForm.unitName"
|
||||||
placeholder="请选择起草责任单位"
|
readonly>
|
||||||
readonly
|
|
||||||
@click.native="choiceZRBM(addForm.unit)">
|
|
||||||
</el-input>
|
</el-input>
|
||||||
|
<!-- <el-input-->
|
||||||
|
<!-- clearable-->
|
||||||
|
<!-- v-model="addForm.unitName"-->
|
||||||
|
<!-- placeholder="请选择起草责任单位"-->
|
||||||
|
<!-- readonly-->
|
||||||
|
<!-- @click.native="choiceZRBM(addForm.unit)">-->
|
||||||
|
<!-- </el-input>-->
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="drafter" label="起草人" style="width: 100%; margin-right:10px" class="add-form-item" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
<el-form-item prop="drafter" label="起草人" style="width: 100%; margin-right:10px" class="add-form-item" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
||||||
@@ -886,15 +891,22 @@
|
|||||||
this.modalshowflag2 = true
|
this.modalshowflag2 = true
|
||||||
},
|
},
|
||||||
checkedRole2 (data) {
|
checkedRole2 (data) {
|
||||||
var idList = ''
|
console.log(data);
|
||||||
var nameList = ''
|
let idList = ''
|
||||||
|
let nameList = ''
|
||||||
|
let bmIdList = ''
|
||||||
|
let bmNameList = ''
|
||||||
data.forEach( item => {
|
data.forEach( item => {
|
||||||
if (nameList.length > 0) {
|
if (nameList.length > 0) {
|
||||||
nameList += ','
|
nameList += ','
|
||||||
idList += ','
|
idList += ','
|
||||||
|
bmIdList += ','
|
||||||
|
bmNameList += ','
|
||||||
}
|
}
|
||||||
idList += item.id
|
idList += item.id
|
||||||
nameList += item.name
|
nameList += item.name
|
||||||
|
bmIdList += item.institutionId
|
||||||
|
bmNameList += item.institutionName
|
||||||
})
|
})
|
||||||
if (this.type === 'resPerson') {
|
if (this.type === 'resPerson') {
|
||||||
this.addForm.resPerson = idList
|
this.addForm.resPerson = idList
|
||||||
@@ -902,6 +914,8 @@
|
|||||||
} else if (this.type === 'drafter') {
|
} else if (this.type === 'drafter') {
|
||||||
this.addForm.drafter = idList
|
this.addForm.drafter = idList
|
||||||
this.addForm.drafterName = nameList
|
this.addForm.drafterName = nameList
|
||||||
|
this.addForm.unitName = bmNameList
|
||||||
|
this.addForm.unit = bmIdList
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
addDrawerSubmit () {
|
addDrawerSubmit () {
|
||||||
|
|||||||
@@ -141,6 +141,13 @@
|
|||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="cause"
|
||||||
|
align="center"
|
||||||
|
label="原因"
|
||||||
|
width="170"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="deptName"
|
prop="deptName"
|
||||||
align="center"
|
align="center"
|
||||||
@@ -212,6 +219,9 @@
|
|||||||
<el-form-item label="修改理由" prop="reason" label-width="" class="add-form-item">
|
<el-form-item label="修改理由" prop="reason" label-width="" class="add-form-item">
|
||||||
<el-input v-model="opinionContent.reason" autocomplete="off" placeholder="请输入修改理由"></el-input>
|
<el-input v-model="opinionContent.reason" autocomplete="off" placeholder="请输入修改理由"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="原因" prop="cause" label-width="" class="add-form-item">
|
||||||
|
<el-input v-model="opinionContent.cause" autocomplete="off" placeholder="请输入原因"></el-input>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
@@ -260,6 +270,7 @@ export default {
|
|||||||
newText: '',
|
newText: '',
|
||||||
reason: '',
|
reason: '',
|
||||||
chapterName: '',
|
chapterName: '',
|
||||||
|
cause: '',
|
||||||
},
|
},
|
||||||
opinionContentRules: {
|
opinionContentRules: {
|
||||||
partCode: [
|
partCode: [
|
||||||
@@ -382,6 +393,7 @@ export default {
|
|||||||
this.opinionContent.reason = row.reason
|
this.opinionContent.reason = row.reason
|
||||||
this.opinionContent.oldText = row.oldText
|
this.opinionContent.oldText = row.oldText
|
||||||
this.opinionContent.newText = row.newText
|
this.opinionContent.newText = row.newText
|
||||||
|
this.opinionContent.cause = row.cause
|
||||||
} else {
|
} else {
|
||||||
this.id = ''
|
this.id = ''
|
||||||
this.opiniontitle = '新增意见'
|
this.opiniontitle = '新增意见'
|
||||||
@@ -389,6 +401,7 @@ export default {
|
|||||||
this.opinionContent.reason = ''
|
this.opinionContent.reason = ''
|
||||||
this.opinionContent.oldText = ''
|
this.opinionContent.oldText = ''
|
||||||
this.opinionContent.newText = ''
|
this.opinionContent.newText = ''
|
||||||
|
this.opinionContent.cause = ''
|
||||||
}
|
}
|
||||||
this.isDialog = true
|
this.isDialog = true
|
||||||
},
|
},
|
||||||
@@ -433,6 +446,7 @@ export default {
|
|||||||
reason: this.opinionContent.reason,
|
reason: this.opinionContent.reason,
|
||||||
partCode: this.opinionContent.partCode,
|
partCode: this.opinionContent.partCode,
|
||||||
chapterName: this.opinionContent.chapterName,
|
chapterName: this.opinionContent.chapterName,
|
||||||
|
cause: this.opinionContent.cause,
|
||||||
userId: this.$store.getters.userInfo.userId || '',
|
userId: this.$store.getters.userInfo.userId || '',
|
||||||
userName: this.$store.getters.userInfo.userName || '',
|
userName: this.$store.getters.userInfo.userName || '',
|
||||||
deptName: this.$store.getters.userInfo.orgName || '',
|
deptName: this.$store.getters.userInfo.orgName || '',
|
||||||
|
|||||||
Reference in New Issue
Block a user