Merge branch 'develop' into 'test'

Develop

See merge request LAWS/laws-system-front-FOTON!148
This commit is contained in:
王夏晖
2021-09-16 22:14:16 +08:00
8 changed files with 80 additions and 3 deletions
@@ -149,6 +149,18 @@
align="center" align="center"
label="条款名称"> label="条款名称">
</el-table-column> </el-table-column>
<el-table-column
prop="technicalRequir"
align="center"
width="250"
label="核心技术要求/变化点">
</el-table-column>
<el-table-column
prop="changePoint"
width="250"
align="center"
label="基于上一版本差异">
</el-table-column>
<el-table-column <el-table-column
prop="xCXSSRQ" prop="xCXSSRQ"
width="200" width="200"
@@ -554,6 +554,7 @@ export default {
distributePerson: "", //分发责任人 distributePerson: "", //分发责任人
distributePersonId: "", //分发责任人id distributePersonId: "", //分发责任人id
id: "", id: "",
pastProject: [], //用来存放上次选中的产品线信息
sarStandProjectLibraries: [{ sarStandProjectLibraries: [{
projectManager: "", projectManager: "",
projectLevel: "", projectLevel: "",
@@ -685,6 +686,7 @@ export default {
}, },
//确认添加事件 //确认添加事件
okStand() { okStand() {
// this.pastProject = JSON.parse(localStorage.getItem('projectList'))
let proData = []; let proData = [];
if (this.dataList.length >= 1) { if (this.dataList.length >= 1) {
this.dataList.forEach(item => { this.dataList.forEach(item => {
@@ -747,6 +749,7 @@ export default {
this.isSubmit = true; this.isSubmit = true;
this.listForm.commentText = this.commentText; this.listForm.commentText = this.commentText;
var json = Object.assign(this.listForm, this.roleForm); var json = Object.assign(this.listForm, this.roleForm);
// localStorage.setItem('projectList', JSON.stringify(this.dataList))
this.$refs["listForm"].validate((valid) => { this.$refs["listForm"].validate((valid) => {
if (valid) { if (valid) {
this.$refs["roleForm"].validate((valid) => { this.$refs["roleForm"].validate((valid) => {
@@ -148,6 +148,16 @@
align="center" align="center"
label="条款名称"> label="条款名称">
</el-table-column> </el-table-column>
<el-table-column
prop="technicalRequir"
align="center"
label="核心技术要求/变化点">
</el-table-column>
<el-table-column
prop="changePoint"
align="center"
label="基于上一版本差异">
</el-table-column>
<el-table-column <el-table-column
prop="xCXSSRQ" prop="xCXSSRQ"
align="center" align="center"
@@ -481,6 +491,7 @@ export default {
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList(item) { getFormFieldList(item) {
console.log(item);
this.listForm = JSON.parse(JSON.stringify(item)); this.listForm = JSON.parse(JSON.stringify(item));
if (item.form === undefined) { if (item.form === undefined) {
this.listForm.prcNum = this.prcNum; this.listForm.prcNum = this.prcNum;
@@ -499,6 +510,8 @@ export default {
this.listForm.breakdownList.push({ this.listForm.breakdownList.push({
itemsName: item.pepdtos[i].breakdownList[j].itemsName, itemsName: item.pepdtos[i].breakdownList[j].itemsName,
itemNum: item.pepdtos[i].breakdownList[j].itemsNum, itemNum: item.pepdtos[i].breakdownList[j].itemsNum,
technicalRequir: item.pepdtos[i].breakdownList[j].technicalRequir,
changePoint: item.pepdtos[i].breakdownList[j].changePoint,
responsibleEngineer: item.pepdtos[i].breakdownList[j].responsibleEngineer, responsibleEngineer: item.pepdtos[i].breakdownList[j].responsibleEngineer,
responsibleUnit: item.pepdtos[i].breakdownList[j].responsibleUnit, responsibleUnit: item.pepdtos[i].breakdownList[j].responsibleUnit,
productLine: item.pepdtos[i].sarStandProjectLibraries.productLine, productLine: item.pepdtos[i].sarStandProjectLibraries.productLine,
@@ -149,6 +149,18 @@
align="center" align="center"
label="条款名称"> label="条款名称">
</el-table-column> </el-table-column>
<el-table-column
prop="technicalRequir"
align="center"
width="250"
label="核心技术要求/变化点">
</el-table-column>
<el-table-column
prop="changePoint"
width="250"
align="center"
label="基于上一版本差异">
</el-table-column>
<el-table-column <el-table-column
prop="xCXSSRQ" prop="xCXSSRQ"
width="200" width="200"
@@ -149,6 +149,18 @@
align="center" align="center"
label="条款名称"> label="条款名称">
</el-table-column> </el-table-column>
<el-table-column
prop="technicalRequir"
align="center"
width="250"
label="核心技术要求/变化点">
</el-table-column>
<el-table-column
prop="changePoint"
width="250"
align="center"
label="基于上一版本差异">
</el-table-column>
<el-table-column <el-table-column
prop="xCXSSRQ" prop="xCXSSRQ"
width="200" width="200"
@@ -149,6 +149,18 @@
align="center" align="center"
label="条款名称"> label="条款名称">
</el-table-column> </el-table-column>
<el-table-column
prop="technicalRequir"
align="center"
width="250"
label="核心技术要求/变化点">
</el-table-column>
<el-table-column
prop="changePoint"
width="250"
align="center"
label="基于上一版本差异">
</el-table-column>
<el-table-column <el-table-column
prop="xCXSSRQ" prop="xCXSSRQ"
width="200" width="200"
@@ -551,11 +563,12 @@ export default {
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList (item) { getFormFieldList (item) {
console.log(item);
this.$nextTick(() => { this.$nextTick(() => {
this.listForm = JSON.parse(JSON.stringify(item)) this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName this.listForm.prcName = this.prcName
this.dataList = item.dataList this.dataList = item.step3DTOS
this.listForm.id = item.step3DTOS[0].id this.listForm.id = item.step3DTOS[0].id
this.listForm.standName = item.step3DTOS[0].standName this.listForm.standName = item.step3DTOS[0].standName
this.listForm.standNumber = item.step3DTOS[0].standNumber this.listForm.standNumber = item.step3DTOS[0].standNumber
@@ -149,6 +149,18 @@
align="center" align="center"
label="条款名称"> label="条款名称">
</el-table-column> </el-table-column>
<el-table-column
prop="technicalRequir"
align="center"
width="250"
label="核心技术要求/变化点">
</el-table-column>
<el-table-column
prop="changePoint"
width="250"
align="center"
label="基于上一版本差异">
</el-table-column>
<el-table-column <el-table-column
prop="xCXSSRQ" prop="xCXSSRQ"
width="200" width="200"
@@ -89,7 +89,7 @@
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
border border
:height="tableHeight" :height="400"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '15px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '15px',
fontWeight: 'normal', height: '48px'}" fontWeight: 'normal', height: '48px'}"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
@@ -102,7 +102,7 @@
show-overflow-tooltip show-overflow-tooltip
prop="projectPlatfor" prop="projectPlatfor"
align="center" align="center"
label="产品平台"> label="产品平台789">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="projectNumber" prop="projectNumber"