|
@@ -62,6 +62,8 @@
|
|
@click="copyRow(row)"
|
|
@click="copyRow(row)"
|
|
>复制</el-button
|
|
>复制</el-button
|
|
>-->
|
|
>-->
|
|
|
|
+ <el-button link type="primary" v-if="row.upgradeVersion==='1'" icon="el-icon-notification" @click="changeLog(row)"
|
|
|
|
+ >修改记录</el-button>
|
|
<el-button link icon="el-icon-copy-document" @click="bindProcess(row)"
|
|
<el-button link icon="el-icon-copy-document" @click="bindProcess(row)"
|
|
>绑定</el-button
|
|
>绑定</el-button
|
|
>
|
|
>
|
|
@@ -102,6 +104,15 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog
|
|
|
|
+ v-model="dialog1.visible"
|
|
|
|
+ :title="dialog1.title"
|
|
|
|
+ width="900px"
|
|
|
|
+ @close="dialog1.visible=false"
|
|
|
|
+ :destroy-on-close="true"
|
|
|
|
+ >
|
|
|
|
+ <RouteChangeLog :targetRouteId="routeDeatil.id" />
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script setup>
|
|
<script setup>
|
|
@@ -112,6 +123,7 @@ import dictDataUtil from "@/common/configs/dictDataUtil";
|
|
import { useDictionaryStore } from "@/store";
|
|
import { useDictionaryStore } from "@/store";
|
|
import { copyRoute } from "@/api/craft/route/index";
|
|
import { copyRoute } from "@/api/craft/route/index";
|
|
import { getUserList } from "@/api/system/user/index";
|
|
import { getUserList } from "@/api/system/user/index";
|
|
|
|
+import RouteChangeLog from "@/views/base/craftManagement/route/components/routeChangeLog.vue";
|
|
|
|
|
|
// 数据字典相关
|
|
// 数据字典相关
|
|
const { dicts } = useDictionaryStore();
|
|
const { dicts } = useDictionaryStore();
|
|
@@ -119,7 +131,10 @@ const { dicts } = useDictionaryStore();
|
|
const testDebunce = () => {
|
|
const testDebunce = () => {
|
|
console.log("执行了事件");
|
|
console.log("执行了事件");
|
|
};
|
|
};
|
|
-
|
|
|
|
|
|
+const dialog1 = ref({
|
|
|
|
+ title: "修改记录",
|
|
|
|
+ visible: false,
|
|
|
|
+});
|
|
// 传入一个url,后面不带/
|
|
// 传入一个url,后面不带/
|
|
const { form, data, option, search, page, toDeleteIds, Methords, Utils } =
|
|
const { form, data, option, search, page, toDeleteIds, Methords, Utils } =
|
|
useCrud({
|
|
useCrud({
|
|
@@ -148,7 +163,12 @@ onMounted(() => {
|
|
userList.value = data.data;
|
|
userList.value = data.data;
|
|
});
|
|
});
|
|
});
|
|
});
|
|
-
|
|
|
|
|
|
+const changeLog = (row) => {
|
|
|
|
+ console.log(row);
|
|
|
|
+ routeDeatil.value = row;
|
|
|
|
+ console.log(routeDeatil.value);
|
|
|
|
+ dialog1.value.visible = true;
|
|
|
|
+}
|
|
/**
|
|
/**
|
|
* 上传excel相关
|
|
* 上传excel相关
|
|
*/
|
|
*/
|