| | |
| | | type="detail"
|
| | | :visible.sync="formTemplateVisible"
|
| | | :templateOid="this.resembleTemplateOid"
|
| | | :rowOid="rowOid"
|
| | | :codeClassifyOid="this.resembleCodeClassifyOid"
|
| | | ></FormTemplateDialog>
|
| | | </div>
|
| | |
| | |
|
| | | <script>
|
| | | import { findLike } from "@/api/formTemplate.js";
|
| | | import FormTemplateDialog from "./index.vue";
|
| | |
|
| | | export default {
|
| | | name: "ResembleQuery",
|
| | | components: { FormTemplateDialog },
|
| | | components: { FormTemplateDialog: () => import('./index.vue') },
|
| | | props: {
|
| | | column: {
|
| | | type: Array,
|
| | |
| | | return {
|
| | | formTemplateVisible: false,
|
| | | activeName: "findlike",
|
| | | tableData: [],
|
| | | tableData: [
|
| | | {id: '*****', materialclassifyText: '001', tuhao: 'tuhao', iod: '123123131312'}
|
| | | ],
|
| | | loading: false,
|
| | | resembleTemplateOid: "78B8C7C5-A042-0B96-FE6D-65421451782A",
|
| | | resembleCodeClassifyOid: "4524E801-6CC6-92E8-1AC3-2AB9604E8F96",
|
| | | rowOid: '',
|
| | | defaultValue: {},
|
| | | secVOList: [],
|
| | | defaultKeys: [
|
| | |
| | | params = Object.assign(params, defaultValue);
|
| | | findLike(params).then((res) => {
|
| | | this.loading = false;
|
| | | this.tableData = res.data.data || [];
|
| | | // this.tableData = res.data.data || [];
|
| | | });
|
| | | },
|
| | |
|
| | | openFormTemlpate(row) {
|
| | | this.$forceUpdate()
|
| | | console.log(row, 'row.oid');
|
| | | this.codetemplateoid = row.codetemplateoid;
|
| | | this.rowOid = row.oid
|
| | | this.formTemplateVisible = true;
|
| | | },
|
| | | getDefaultValueAndFormValues(form) {
|