|
@@ -2,8 +2,8 @@
|
|
<div id="dynamicdata">
|
|
<div id="dynamicdata">
|
|
<!-- 按钮及提示 -->
|
|
<!-- 按钮及提示 -->
|
|
<div class="text-right">
|
|
<div class="text-right">
|
|
- <span style="color:red">注意查收→</span>
|
|
|
|
- <el-button size="medium">执行对应结果</el-button>
|
|
|
|
|
|
+ <span>最后一次执行时间:{{lastUpdateTime}}</span>
|
|
|
|
+ <el-button size="medium" @click="apply">执行对应结果</el-button>
|
|
<el-button size="medium" type="primary" @click="toAddRelation">处理未对应实例标识</el-button>
|
|
<el-button size="medium" type="primary" @click="toAddRelation">处理未对应实例标识</el-button>
|
|
</div>
|
|
</div>
|
|
<!-- tab分页 -->
|
|
<!-- tab分页 -->
|
|
@@ -124,11 +124,17 @@
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
:total="page.total"
|
|
:total="page.total"
|
|
></el-pagination>
|
|
></el-pagination>
|
|
|
|
+ <!-- 应用规则弹窗 -->
|
|
|
|
+ <apply-rules-dialog ref="apply"></apply-rules-dialog>
|
|
|
|
+ <!-- 清除对应关系弹窗 -->
|
|
|
|
+ <del-relation-dialog ref="del"></del-relation-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import tools from "@/utils/tools";
|
|
import tools from "@/utils/tools";
|
|
import { mapGetters, mapActions } from "vuex";
|
|
import { mapGetters, mapActions } from "vuex";
|
|
|
|
+import applyRulesDialog from "@/components/point/dynamicdata/applyRulesDialog"
|
|
|
|
+import delRelationDialog from "@/components/point/dynamicdata/delRelationDialog"
|
|
export default {
|
|
export default {
|
|
computed: {
|
|
computed: {
|
|
...mapGetters("layout", ["projectId"])
|
|
...mapGetters("layout", ["projectId"])
|
|
@@ -336,14 +342,32 @@ export default {
|
|
pageNumber: 1,
|
|
pageNumber: 1,
|
|
total: 0
|
|
total: 0
|
|
},
|
|
},
|
|
- form: {} //查询条件
|
|
|
|
|
|
+ form: {}, //查询条件
|
|
|
|
+ lastUpdateTime:'',//最后更新时间
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- components: {},
|
|
|
|
- created() {},
|
|
|
|
|
|
+ components: {
|
|
|
|
+ applyRulesDialog,
|
|
|
|
+ delRelationDialog
|
|
|
|
+ },
|
|
|
|
+ created() {
|
|
|
|
+ let date = new Date();
|
|
|
|
+ this.lastUpdateTime = `${date.getFullYear()}-${date.getMonth()+1}-${date.getDate()} ${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}`;
|
|
|
|
+ },
|
|
mounted() {},
|
|
mounted() {},
|
|
methods: {
|
|
methods: {
|
|
- handleDelete() {},
|
|
|
|
|
|
+ //执行对应结果
|
|
|
|
+ apply(){
|
|
|
|
+ let date = new Date();
|
|
|
|
+ this.lastUpdateTime = `${date.getFullYear()}-${date.getMonth()+1}-${date.getDate()} ${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}`;
|
|
|
|
+ this.$message.success('应用成功');
|
|
|
|
+ this.$refs.apply.showDialog();
|
|
|
|
+ },
|
|
|
|
+ handleDelete(index,row) {
|
|
|
|
+ console.log(index)
|
|
|
|
+ console.log(row);
|
|
|
|
+ this.$refs.del.showDialog();
|
|
|
|
+ },
|
|
handleSizeChange() {},
|
|
handleSizeChange() {},
|
|
handleCurrentChange() {},
|
|
handleCurrentChange() {},
|
|
toAddRelation() {
|
|
toAddRelation() {
|