Merge branch 'develop' into 'FOTON'
Develop See merge request LAWS/laws-system-front-FOTON!257
This commit is contained in:
@@ -2125,14 +2125,15 @@ export default {
|
|||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
|
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw.split(',') : ''
|
console.log(this.form)
|
||||||
this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr.split(',') : ''
|
this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw : ''
|
||||||
this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs.split(',') : ''
|
this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr : ''
|
||||||
this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm && JSON.parse(JSON.stringify(json)).zrbm !== '[]' ? JSON.parse(JSON.stringify(json)).zrbm.split(',') : ''
|
this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs : ''
|
||||||
this.form.syrz = JSON.parse(JSON.stringify(json)).syrz && JSON.parse(JSON.stringify(json)).syrz !== '[]' ? JSON.parse(JSON.stringify(json)).syrz.split(',') : ''
|
this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm && JSON.parse(JSON.stringify(json)).zrbm !== '[]' ? JSON.parse(JSON.stringify(json)).zrbm : ''
|
||||||
this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx && JSON.parse(JSON.stringify(json)).sycpx !== '[]' ? JSON.parse(JSON.stringify(json)).sycpx.split(',') : ''
|
this.form.syrz = JSON.parse(JSON.stringify(json)).syrz && JSON.parse(JSON.stringify(json)).syrz !== '[]' ? JSON.parse(JSON.stringify(json)).syrz : ''
|
||||||
this.form.nylx = JSON.parse(JSON.stringify(json)).nylx && JSON.parse(JSON.stringify(json)).nylx !== '[]' ? JSON.parse(JSON.stringify(json)).nylx.split(',') : ''
|
this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx && JSON.parse(JSON.stringify(json)).sycpx !== '[]' ? JSON.parse(JSON.stringify(json)).sycpx : ''
|
||||||
this.form.cllx = JSON.parse(JSON.stringify(json)).cllx && JSON.parse(JSON.stringify(json)).cllx !== '[]' ? JSON.parse(JSON.stringify(json)).cllx.split(',') : ''
|
this.form.nylx = JSON.parse(JSON.stringify(json)).nylx && JSON.parse(JSON.stringify(json)).nylx !== '[]' ? JSON.parse(JSON.stringify(json)).nylx : ''
|
||||||
|
this.form.cllx = JSON.parse(JSON.stringify(json)).cllx && JSON.parse(JSON.stringify(json)).cllx !== '[]' ? JSON.parse(JSON.stringify(json)).cllx : ''
|
||||||
this.defaultCheckedKeys = [this.form.standSystem];
|
this.defaultCheckedKeys = [this.form.standSystem];
|
||||||
this.defaultCheckedKeys1 = [this.form.cycvppsbm];
|
this.defaultCheckedKeys1 = [this.form.cycvppsbm];
|
||||||
this.defaultCheckedKeys2 = [this.form.kccvppsbm];
|
this.defaultCheckedKeys2 = [this.form.kccvppsbm];
|
||||||
@@ -2143,10 +2144,9 @@ export default {
|
|||||||
this.key3++
|
this.key3++
|
||||||
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
||||||
this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : ''
|
this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : ''
|
||||||
console.log(this.form)
|
// this.form.ssrq = this.form.ssrq ? this.$moment(this.form.ssrq).format("YYYY-MM-DD") : null
|
||||||
this.form.ssrq = this.form.ssrq ? this.$moment(this.form.ssrq).format("YYYY-MM-DD") : null
|
// this.form.zccssrq = this.form.zccssrq ? this.$moment(this.form.zccssrq).format("YYYY-MM-DD") : null
|
||||||
this.form.zccssrq = this.form.zccssrq ? this.$moment(this.form.zccssrq).format("YYYY-MM-DD") : null
|
// this.form.xcxssrq = this.form.xcxssrq ? this.$moment(this.form.xcxssrq).format("YYYY-MM-DD") : null
|
||||||
this.form.xcxssrq = this.form.xcxssrq ? this.$moment(this.form.xcxssrq).format("YYYY-MM-DD") : null
|
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
|
|||||||
@@ -365,6 +365,14 @@
|
|||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item v-if="form.standInData === '1'" label="修订本" prop="xdbName" class="add-form-item form-item-disabled">
|
||||||
|
<div v-if="xdbFileMap.length>0" v-for="(value,index) in this.xdbFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('xdb',value.id)">
|
||||||
|
{{value.name}}
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
- -
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
<!-- ************************************* 2021/11/9 把"解读文件"改为"相关文件"*************************************-->
|
<!-- ************************************* 2021/11/9 把"解读文件"改为"相关文件"*************************************-->
|
||||||
<el-form-item v-if="form.standInData === '0'" label="相关文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="相关文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
||||||
<!-- ************************************* 2021/11/9 把"解读文件"改为"相关文件"*************************************-->
|
<!-- ************************************* 2021/11/9 把"解读文件"改为"相关文件"*************************************-->
|
||||||
@@ -548,6 +556,17 @@
|
|||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item v-show="form.standInData === '0'" label="我司参与制标排名" prop="cyzbpm" class="add-form-item form-item-disabled">
|
||||||
|
<el-select :popper-append-to-body="false" v-model="form.cyzbpm" placeholder="请选择我司参与制标排名" clearable>
|
||||||
|
<el-option
|
||||||
|
v-for="item in cyzbpmOptions"
|
||||||
|
placeholder="请选择"
|
||||||
|
:key="item.value"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -797,6 +816,7 @@
|
|||||||
zqyjgFileMap: [],
|
zqyjgFileMap: [],
|
||||||
jdwjFileMap: [],
|
jdwjFileMap: [],
|
||||||
kwjFileMap: [],
|
kwjFileMap: [],
|
||||||
|
xdbFileMap: [],
|
||||||
glwjFileMap: [],
|
glwjFileMap: [],
|
||||||
caFileMap: [],
|
caFileMap: [],
|
||||||
zbjbdFileMap: [],
|
zbjbdFileMap: [],
|
||||||
@@ -896,6 +916,7 @@
|
|||||||
qcdw: '', // 起草单位
|
qcdw: '', // 起草单位
|
||||||
wssmr: '', // 我司署名人
|
wssmr: '', // 我司署名人
|
||||||
cysd: '', // 我司参与深度
|
cysd: '', // 我司参与深度
|
||||||
|
cyzbpm:[],// 我司参与制标排名
|
||||||
cllx: '', // 适用车型
|
cllx: '', // 适用车型
|
||||||
nylx: '',// 能源类型
|
nylx: '',// 能源类型
|
||||||
sycpx: '',// 适用产品线
|
sycpx: '',// 适用产品线
|
||||||
@@ -953,6 +974,7 @@
|
|||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
|
cyzbpmOptions:[], // 我司参与制标排名
|
||||||
wssmrOptions: [], // 我司署名人
|
wssmrOptions: [], // 我司署名人
|
||||||
qcdwOptions: [], // 起草单位
|
qcdwOptions: [], // 起草单位
|
||||||
sycpxOptions: [], // 适用产品线
|
sycpxOptions: [], // 适用产品线
|
||||||
@@ -1137,6 +1159,8 @@
|
|||||||
// jdwjFileMap: {},
|
// jdwjFileMap: {},
|
||||||
this.kwjFileMap=this.assemble(processForm.kwj,processForm.kwjName);
|
this.kwjFileMap=this.assemble(processForm.kwj,processForm.kwjName);
|
||||||
// kwjFileMap: {},
|
// kwjFileMap: {},
|
||||||
|
this.xdbFileMap=this.assemble(processForm.xdb,processForm.xdbName);
|
||||||
|
// xdbFileMap: {},
|
||||||
this.glwjFileMap=this.assemble(processForm.glwj,processForm.glwjName);
|
this.glwjFileMap=this.assemble(processForm.glwj,processForm.glwjName);
|
||||||
// glwjFileMap: {},
|
// glwjFileMap: {},
|
||||||
this.caFileMap=this.assemble(processForm.ca,processForm.caName);
|
this.caFileMap=this.assemble(processForm.ca,processForm.caName);
|
||||||
@@ -1305,6 +1329,7 @@
|
|||||||
this.categoryOptions = res.data.NYLXCLASS // 能源类型
|
this.categoryOptions = res.data.NYLXCLASS // 能源类型
|
||||||
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
|
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
|
||||||
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
||||||
|
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
|
||||||
this.wssmrOptions = res.data.WSSMR // 我司署名人
|
this.wssmrOptions = res.data.WSSMR // 我司署名人
|
||||||
this.qcdwOptions = res.data.QCDW // 起草单位
|
this.qcdwOptions = res.data.QCDW // 起草单位
|
||||||
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
||||||
|
|||||||
@@ -2374,7 +2374,7 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
this.commentText = processForm.commentText
|
// this.commentText = processForm.commentText
|
||||||
if (processForm.form === undefined) {
|
if (processForm.form === undefined) {
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -578,7 +578,7 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let paramsInfo = new FormData()
|
let paramsInfo = new FormData()
|
||||||
paramsInfo.append('id', this.bpnId || '')
|
// paramsInfo.append('id', this.bpnId || '')
|
||||||
paramsInfo.append('createUser', this.$store.getters.userInfo.userId)
|
paramsInfo.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
paramsInfo.append('createUserName', this.$store.getters.userInfo.userName)
|
paramsInfo.append('createUserName', this.$store.getters.userInfo.userName)
|
||||||
paramsInfo.append('type', '8')
|
paramsInfo.append('type', '8')
|
||||||
|
|||||||
@@ -290,13 +290,13 @@ export default {
|
|||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning("请选择至少一条数据进行分发责任人");
|
||||||
} else {
|
} else {
|
||||||
this.nodeList = []
|
this.nodeList = []
|
||||||
|
this.drawerTitle = '选择分发责任人'
|
||||||
this.nodeList.push(id)
|
this.nodeList.push(id)
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 每行选择负责人点击操作
|
// 每行选择负责人点击操作
|
||||||
clickOpen(val, id) {
|
clickOpen(val, id) {
|
||||||
console.log(val)
|
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
this.rowDutyPeople = val
|
this.rowDutyPeople = val
|
||||||
this.nodeList = []
|
this.nodeList = []
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
:rows="3"
|
:rows="3"
|
||||||
resize="none"
|
resize="none"
|
||||||
placeholder="请输入意见"
|
placeholder="请输入意见"
|
||||||
v-model="commentText">
|
v-model="textarea">
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
@@ -186,7 +186,7 @@ export default {
|
|||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
commentText: '', // 意见
|
textarea: '', // 意见
|
||||||
title: '', // 新增编辑抽屉标题
|
title: '', // 新增编辑抽屉标题
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
nonSearch: {
|
nonSearch: {
|
||||||
@@ -266,6 +266,7 @@ export default {
|
|||||||
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||||
this.dataList = fileData[0].standardInfoList
|
this.dataList = fileData[0].standardInfoList
|
||||||
this.standardInfoList = this.dataList
|
this.standardInfoList = this.dataList
|
||||||
|
this.textarea = JSON.parse(JSON.stringify(item)).textarea
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -274,6 +275,7 @@ export default {
|
|||||||
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||||
this.dataList = fileData[i].standardInfoList
|
this.dataList = fileData[i].standardInfoList
|
||||||
this.standardInfoList = this.dataList
|
this.standardInfoList = this.dataList
|
||||||
|
this.textarea = JSON.parse(JSON.stringify(item)).commentText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -311,12 +313,12 @@ export default {
|
|||||||
},
|
},
|
||||||
// 退回按钮
|
// 退回按钮
|
||||||
handleSubmitNo() {
|
handleSubmitNo() {
|
||||||
if (this.commentText) {
|
if (this.textarea) {
|
||||||
|
|
||||||
var json = {
|
var json = {
|
||||||
passInfo: 1,
|
passInfo: 1,
|
||||||
actionFlag: 1,
|
actionFlag: 1,
|
||||||
commentText: this.commentText,
|
commentText: this.textarea,
|
||||||
standardInfoList: this.standardInfoList,
|
standardInfoList: this.standardInfoList,
|
||||||
}
|
}
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
@@ -370,7 +372,7 @@ export default {
|
|||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
// roleForm: this.roleForm,
|
// roleForm: this.roleForm,
|
||||||
dockUserList: list,
|
dockUserList: list,
|
||||||
commentText: this.commentText
|
textarea: this.textarea
|
||||||
}))
|
}))
|
||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
@@ -411,7 +413,7 @@ export default {
|
|||||||
let json = {
|
let json = {
|
||||||
passInfo: this.passInfo,
|
passInfo: this.passInfo,
|
||||||
responUserList: list,
|
responUserList: list,
|
||||||
commentText: this.commentText,
|
commentText: this.textarea,
|
||||||
actionFlag: 0
|
actionFlag: 0
|
||||||
}
|
}
|
||||||
if(flag)return;
|
if(flag)return;
|
||||||
|
|||||||
-1
@@ -4566,7 +4566,6 @@ export default {
|
|||||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||||
this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态
|
this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态
|
||||||
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
|
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
|
||||||
console.log(this.standSystemOptions);
|
|
||||||
this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型
|
this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型
|
||||||
this.categoryOptions.options = res.data.NYLXCLASS // 能源类型
|
this.categoryOptions.options = res.data.NYLXCLASS // 能源类型
|
||||||
this.applyAuthOptions.options = res.data.SYRZCLASS // 适用认证
|
this.applyAuthOptions.options = res.data.SYRZCLASS // 适用认证
|
||||||
|
|||||||
@@ -263,40 +263,42 @@
|
|||||||
v-model="addForm.unit">
|
v-model="addForm.unit">
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input
|
<el-input
|
||||||
:key="addForm.unit"
|
|
||||||
:config="addForm"
|
|
||||||
clearable
|
clearable
|
||||||
v-model="addForm.unitName"
|
v-model="addForm.unitName"
|
||||||
placeholder="请选择起草责任单位"
|
placeholder="请选择起草责任单位"
|
||||||
readonly
|
readonly
|
||||||
@click.native="choiceZRBM(addForm.unit)">
|
@click.native="choiceZRBM(addForm.unit)">
|
||||||
</el-input>
|
</el-input>
|
||||||
|
</div>
|
||||||
<!-- <el-tooltip v-if="addForm.unit" class="item" effect="dark" :content="addForm.unit" placement="top-start">-->
|
</el-form-item>
|
||||||
<!-- <el-input-->
|
<el-form-item label="企业标准" style="width: 100%; margin-right:10px" class="add-form-item" prop="rqbJson" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
||||||
<!-- :disabled="DrawerType === 'see'"-->
|
<div style="display: flex;justify-content: space-between;align-items: center;">
|
||||||
<!-- clearable-->
|
<el-input
|
||||||
<!-- v-model="addForm.unit"-->
|
style="display: none;"
|
||||||
|
v-model="addForm.rqbJson">
|
||||||
<!-- placeholder="选择或输入起草单位">-->
|
</el-input>
|
||||||
<!-- </el-input>-->
|
<el-input
|
||||||
<!-- </el-tooltip>-->
|
clearable
|
||||||
<!-- <div v-else>-->
|
v-model="addForm.rqbName"
|
||||||
<!-- <el-input-->
|
placeholder="请选择企业标准"
|
||||||
<!-- :disabled="DrawerType === 'see'"-->
|
readonly
|
||||||
<!-- clearable-->
|
@click.native="choiceQYBZ(addForm.rqbJson)">
|
||||||
<!-- v-model="addForm.unit"-->
|
</el-input>
|
||||||
<!-- placeholder="选择或输入起草单位">-->
|
</div>
|
||||||
<!-- </el-input>-->
|
</el-form-item>
|
||||||
<!-- </div>-->
|
<el-form-item label="体系结构" style="width: 100%; margin-right:10px" class="add-form-item" prop="tsJson" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
||||||
<!-- <div>-->
|
<div style="display: flex;justify-content: space-between;align-items: center;">
|
||||||
<!-- <el-button-->
|
<el-input
|
||||||
<!-- :disabled="DrawerType === 'see'"-->
|
style="display: none;"
|
||||||
<!-- size="mini"-->
|
v-model="addForm.tsJson">
|
||||||
<!-- type="primary"-->
|
</el-input>
|
||||||
<!-- @click="QCDWClick"-->
|
<el-input
|
||||||
<!-- class="common-button-primary">手动查找</el-button>-->
|
clearable
|
||||||
<!-- </div>-->
|
v-model="addForm.tsJsonName"
|
||||||
|
placeholder="请选择体系结构"
|
||||||
|
readonly
|
||||||
|
@click.native="choiceTXJG(addForm.tsJson)">
|
||||||
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -361,6 +363,128 @@
|
|||||||
:nodeList="nodeListZRBM"
|
:nodeList="nodeListZRBM"
|
||||||
@checkedRole="drawerCheckZRBM"
|
@checkedRole="drawerCheckZRBM"
|
||||||
/>
|
/>
|
||||||
|
<el-drawer
|
||||||
|
title="选择企业标准"
|
||||||
|
:visible.sync="QYBZmodal"
|
||||||
|
size="900px"
|
||||||
|
custom-class="demo-drawer"
|
||||||
|
>
|
||||||
|
<div class="standardForComments">
|
||||||
|
<div class="content" style="height: 100%;">
|
||||||
|
<!-- 顶部工具栏 -->
|
||||||
|
<div class="search-area">
|
||||||
|
<el-form :model="QYBZform" inline class="label-input-form">
|
||||||
|
<el-formItem label="标准号" prop="numberName" class="search-item">
|
||||||
|
<el-input v-model="QYBZform.standCode" clearable placeholder="根据标准号查找" :maxlength="100"/>
|
||||||
|
</el-formItem>
|
||||||
|
<el-formItem label="标准名称" prop="standName" class="search-item">
|
||||||
|
<el-input v-model="QYBZform.standName" clearable placeholder="根据标准名称查找" :maxlength="100"/>
|
||||||
|
</el-formItem>
|
||||||
|
<el-formItem class="search-item btn-box">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
size="mini"
|
||||||
|
class="common-button-primary"
|
||||||
|
|
||||||
|
@click="QYBZget">查询
|
||||||
|
</el-button>
|
||||||
|
<el-button
|
||||||
|
class="common-button-default"
|
||||||
|
size="mini"
|
||||||
|
@click="clearQYBZ">清空
|
||||||
|
</el-button>
|
||||||
|
</el-formItem>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
<div class="table-wrap" style="height: 100%;">
|
||||||
|
<div style="position: absolute;height: calc(100% - 10px);width: 100%;">
|
||||||
|
<el-table
|
||||||
|
ref="selection"
|
||||||
|
:data="QYBZList"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%;padding:0 0 20px 0;"
|
||||||
|
height="100%"
|
||||||
|
border
|
||||||
|
@selection-change="handleSelectionQYBZ"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
||||||
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
|
<el-table-column
|
||||||
|
label="企标编号"
|
||||||
|
prop="standCode"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="standName"
|
||||||
|
label="中文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="issueTime"
|
||||||
|
label="发布日期"
|
||||||
|
width="120"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.issueTime ? scope.row.issueTime.slice(0, 10) : ''}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="putTime"
|
||||||
|
label="实施日期"
|
||||||
|
sortable
|
||||||
|
width="120"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.putTime ? scope.row.putTime.slice(0, 10) : ''}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standStatusShow"
|
||||||
|
label="文本状态"
|
||||||
|
width="110"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.standStatusShow}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<pagination :page="QYBZform.page" :total="QYBZform.total" @pageChange="QYBZpageChange" @pageSizeChange="QYBZpageSizeChange"></pagination>
|
||||||
|
<loading :loading="QYBZShow">数据加载中……</loading>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button size="mini" @click="QYBZcloseDrawer">取消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="QYBZenterDrawer">导入</el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
|
<el-drawer
|
||||||
|
title="选择体系结构"
|
||||||
|
:visible.sync="TXJGmodal"
|
||||||
|
size="900px"
|
||||||
|
custom-class="demo-drawer"
|
||||||
|
>
|
||||||
|
<div class="standardForComments">
|
||||||
|
<div class="content" style="height: 100%;">
|
||||||
|
<el-tree
|
||||||
|
v-if="TXJGmodal"
|
||||||
|
ref="TXJGTree"
|
||||||
|
:data="standSystemOptions"
|
||||||
|
show-checkbox
|
||||||
|
node-key="id"
|
||||||
|
default-expand-all
|
||||||
|
check-strictly
|
||||||
|
:default-checked-keys="TXJGList"
|
||||||
|
:props="defaultProps">
|
||||||
|
</el-tree>
|
||||||
|
</div>
|
||||||
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button size="mini" @click="TXJGcloseDrawer">取消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="TXJGenterDrawer">确定</el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -371,9 +495,28 @@
|
|||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
TXJGList: [],
|
||||||
|
TXJGmodal: false,
|
||||||
|
standSystemOptions: [],
|
||||||
|
defaultProps: {
|
||||||
|
children: 'children',
|
||||||
|
label: 'menuName'
|
||||||
|
},
|
||||||
|
QYBZShow: false,
|
||||||
|
QYBZList: [],
|
||||||
modalshowflagZRBM: false,
|
modalshowflagZRBM: false,
|
||||||
nodeListZRBM: [],
|
nodeListZRBM: [],
|
||||||
|
QYBZformSelect: [],
|
||||||
|
QYBZmodal: false,
|
||||||
|
QYBZform: {
|
||||||
|
page: 1,
|
||||||
|
pageSzie: this.$store.getters.userInfo.configContent,
|
||||||
|
validFlag: '0',
|
||||||
|
userId: this.$store.getters.userInfo.userId,
|
||||||
|
standCode: '',
|
||||||
|
standName: '',
|
||||||
|
total: 0,
|
||||||
|
},
|
||||||
QCDWmodal: false,
|
QCDWmodal: false,
|
||||||
QCDWValue: [],
|
QCDWValue: [],
|
||||||
QCDWList: [],
|
QCDWList: [],
|
||||||
@@ -390,6 +533,10 @@
|
|||||||
DrawerType: '',
|
DrawerType: '',
|
||||||
ids: [],
|
ids: [],
|
||||||
addForm: {
|
addForm: {
|
||||||
|
tsJson: '',
|
||||||
|
tsJsonName: '',
|
||||||
|
rqbJson: '',
|
||||||
|
rqbName: '',
|
||||||
unit: '', // 单位
|
unit: '', // 单位
|
||||||
unitName: '',
|
unitName: '',
|
||||||
esName: '', // 企标名称
|
esName: '', // 企标名称
|
||||||
@@ -450,6 +597,83 @@
|
|||||||
props: {},
|
props: {},
|
||||||
watch: {},
|
watch: {},
|
||||||
methods: {
|
methods: {
|
||||||
|
TXJGcloseDrawer () {
|
||||||
|
this.TXJGmodal = false
|
||||||
|
},
|
||||||
|
TXJGenterDrawer () {
|
||||||
|
let list = this.$refs.TXJGTree.getCheckedNodes()
|
||||||
|
let id = ''
|
||||||
|
let name = ''
|
||||||
|
list.map(item => {
|
||||||
|
if (id.length > 0) {
|
||||||
|
id += ','
|
||||||
|
id += item.id
|
||||||
|
name += ','
|
||||||
|
name += item.menuName
|
||||||
|
} else {
|
||||||
|
id = item.id
|
||||||
|
name = item.menuName
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.addForm.tsJson = id
|
||||||
|
this.addForm.tsJsonName = name
|
||||||
|
this.TXJGmodal = false
|
||||||
|
},
|
||||||
|
choiceTXJG (id) {
|
||||||
|
if (id) {
|
||||||
|
this.TXJGList = id.split(',')
|
||||||
|
} else {
|
||||||
|
this.TXJGList = []
|
||||||
|
}
|
||||||
|
this.TXJGmodal = true
|
||||||
|
},
|
||||||
|
QYBZcloseDrawer () {
|
||||||
|
this.clearQYBZ()
|
||||||
|
},
|
||||||
|
QYBZenterDrawer () {
|
||||||
|
if (this.QYBZformSelect.length > 1) {
|
||||||
|
this.$message.warning('请选择一条标准')
|
||||||
|
} else if (this.QYBZformSelect.length < 1){
|
||||||
|
this.$message.warning('请选择要带入的标准')
|
||||||
|
} else {
|
||||||
|
this.addForm.rqbJson = this.QYBZformSelect[0].id
|
||||||
|
this.addForm.rqbName = this.QYBZformSelect[0].standName
|
||||||
|
this.clearQYBZ()
|
||||||
|
this.QYBZmodal = false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
handleSelectionQYBZ (val) {
|
||||||
|
this.QYBZformSelect = val
|
||||||
|
},
|
||||||
|
QYBZpageChange (page) {
|
||||||
|
this.QYBZform.page = page
|
||||||
|
this.QYBZget()
|
||||||
|
},
|
||||||
|
QYBZpageSizeChange (pageSize) {
|
||||||
|
this.QYBZform.pageSize = pageSize
|
||||||
|
this.QYBZget()
|
||||||
|
},
|
||||||
|
QYBZget () {
|
||||||
|
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage', this.QYBZform, {
|
||||||
|
_this: this, loading: 'QYBZShow'
|
||||||
|
}, res => {
|
||||||
|
this.QYBZList = res.data.list
|
||||||
|
this.QYBZform.total = res.data.count
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
clearQYBZ () {
|
||||||
|
this.QYBZform = {
|
||||||
|
page: 1,
|
||||||
|
standCode: '',
|
||||||
|
standName: '',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
choiceQYBZ (id) {
|
||||||
|
this.QYBZformSelect = []
|
||||||
|
this.QYBZget()
|
||||||
|
this.QYBZmodal = true
|
||||||
|
},
|
||||||
drawerCheckZRBM (data) {
|
drawerCheckZRBM (data) {
|
||||||
let list = ''
|
let list = ''
|
||||||
let listName = ''
|
let listName = ''
|
||||||
@@ -718,6 +942,7 @@
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.QCDWList = res.data.QCDW // 起草单位
|
this.QCDWList = res.data.QCDW // 起草单位
|
||||||
|
this.standSystemOptions = res.data.TXLBBUSS // 体系结构
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -730,6 +955,36 @@
|
|||||||
#enterpriseStandardPlan {
|
#enterpriseStandardPlan {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
.standardForComments {
|
||||||
|
height: calc(~'100% - 56px');
|
||||||
|
background: #fff;
|
||||||
|
flex-direction: column;
|
||||||
|
.action-bar {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
flex: auto;
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.table-wrap {
|
||||||
|
flex: auto;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
& > .pagination {
|
||||||
|
position: static;
|
||||||
|
|
||||||
|
/deep/ .pagination-slot {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
/deep/.table-wrap {
|
/deep/.table-wrap {
|
||||||
.el-table__fixed {
|
.el-table__fixed {
|
||||||
height: calc(~'100% - 20px') !important;
|
height: calc(~'100% - 20px') !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user