Browse Source

feat:[模板管理][update]

lkf
luojie 2 months ago
parent
commit
73bf22addb
3 changed files with 6 additions and 3 deletions
  1. +1
    -1
      src/components/Template/operation/TableOpertaion.vue
  2. +1
    -0
      src/views/business/comps/template/comps/sp/SP00456.vue
  3. +4
    -2
      src/views/business/comps/template/dialog/SubPackageDialog.vue

+ 1
- 1
src/components/Template/operation/TableOpertaion.vue View File

@ -57,7 +57,7 @@ export default {
watch: {
row: {
handler(newVal, oldVal) {
this.innerRow = JSON.parse(JSON.stringify(newVal));
this.innerRow = newVal;
},
deep: true,
}

+ 1
- 0
src/views/business/comps/template/comps/sp/SP00456.vue View File

@ -218,6 +218,7 @@ export default {
},
startConfig(val) {
const { rowData } = val;
console.log(rowData, "rowData")
let postData = {
bh: rowData.targetSolutionCode + rowData.subTargetSolutionCode,
studySubjectId: this.formData.studySubjectId,

+ 4
- 2
src/views/business/comps/template/dialog/SubPackageDialog.vue View File

@ -29,7 +29,7 @@
<el-button type="primary" plain @click="onAverage">平均分配</el-button>
<el-button type="primary" plain @click="onReset">重置</el-button>
</div>
<div class="header-container">
<div class="header-container header2">
<div v-for="(item, index) in fzList" class="list-item" :key="index">
<div class="list-label">{{ formData.mybh }}-set{{ item.subCode }}</div>
<HandleFormItem :isFieldsRecord="false" :item="inputNumberItem" :error="fzListErrors[index]"
@ -302,7 +302,9 @@ export default {
grid-gap: 20px;
margin-top: 20px;
}
.header2{
grid-template-columns: 1fr 1fr;
}
.header-item {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background: #fff;

Loading…
Cancel
Save