|
@@ -75,6 +75,7 @@
|
|
|
ref="userSettingMatterAddRef"
|
|
ref="userSettingMatterAddRef"
|
|
|
@addMatter="addMatter"
|
|
@addMatter="addMatter"
|
|
|
@editMatter="editMatter"
|
|
@editMatter="editMatter"
|
|
|
|
|
+ notProduceTaskConfig
|
|
|
/>
|
|
/>
|
|
|
</ele-modal>
|
|
</ele-modal>
|
|
|
</template>
|
|
</template>
|
|
@@ -82,13 +83,13 @@
|
|
|
<script>
|
|
<script>
|
|
|
import {
|
|
import {
|
|
|
produceTaskRecordRules,
|
|
produceTaskRecordRules,
|
|
|
- produceTaskRecordRulesBatchSave
|
|
|
|
|
|
|
+ produceTaskRecordRulesBatchSave,
|
|
|
|
|
+ produceTaskRecordRulesGetById
|
|
|
} from '@/api/producetaskrecordrules';
|
|
} from '@/api/producetaskrecordrules';
|
|
|
import tableColumnsMixin from '@/mixins/tableColumnsMixin';
|
|
import tableColumnsMixin from '@/mixins/tableColumnsMixin';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
import userSettingMatterAdd from './user-setting-matter-add.vue';
|
|
import userSettingMatterAdd from './user-setting-matter-add.vue';
|
|
|
import { mapGetters } from 'vuex';
|
|
import { mapGetters } from 'vuex';
|
|
|
- import { addMaterial } from '@/api/material/list';
|
|
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'UserSettingMatter',
|
|
name: 'UserSettingMatter',
|
|
@@ -173,14 +174,20 @@
|
|
|
this.currentRow = row;
|
|
this.currentRow = row;
|
|
|
this.visible = true;
|
|
this.visible = true;
|
|
|
this.getMatterList(row);
|
|
this.getMatterList(row);
|
|
|
|
|
+ // this.getDetails(row.id);
|
|
|
},
|
|
},
|
|
|
|
|
+ // 查询详情
|
|
|
|
|
+ // async getDetails(id) {
|
|
|
|
|
+ // const data = await produceTaskRecordRulesGetById(id);
|
|
|
|
|
+ // console.log('data 详情数据', data);
|
|
|
|
|
+ // },
|
|
|
// 查询事项数据
|
|
// 查询事项数据
|
|
|
async getMatterList() {
|
|
async getMatterList() {
|
|
|
const { list } = await produceTaskRecordRules({
|
|
const { list } = await produceTaskRecordRules({
|
|
|
produceTaskId: this.currentRow.id,
|
|
produceTaskId: this.currentRow.id,
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
- size: 9999
|
|
|
|
|
- // reportWorkType: this.reportWorkType
|
|
|
|
|
|
|
+ size: 9999,
|
|
|
|
|
+ reportWorkType: this.reportWorkType
|
|
|
});
|
|
});
|
|
|
console.log('list', list);
|
|
console.log('list', list);
|
|
|
// 表格数据
|
|
// 表格数据
|