|
|
|
@ -6,17 +6,14 @@
|
|
|
|
|
<span class="top-title-box">基本信息</span>
|
|
|
|
|
</el-row>
|
|
|
|
|
<div class="assets-info-box">
|
|
|
|
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="170px" class="demo-ruleForm" label-position="right" :disabled="disabled">
|
|
|
|
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="170px" class="demo-ruleForm"
|
|
|
|
|
label-position="right" :disabled="disabled">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="所属单位" prop="ssdw">
|
|
|
|
|
<!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入所属单位"></el-input> -->
|
|
|
|
|
<el-autocomplete
|
|
|
|
|
v-model="ruleForm.ssdw"
|
|
|
|
|
:fetch-suggestions="querySearchAsync"
|
|
|
|
|
placeholder="请输入所属单位"
|
|
|
|
|
disabled
|
|
|
|
|
></el-autocomplete>
|
|
|
|
|
<el-autocomplete v-model="ruleForm.ssdw" :fetch-suggestions="querySearchAsync" placeholder="请输入所属单位"
|
|
|
|
|
disabled></el-autocomplete>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
@ -38,7 +35,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12" >
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item class="daoqitixingren" prop="tyshxydm" :rules="[
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
@ -46,7 +43,7 @@
|
|
|
|
|
message: '请输入正确格式的18位统一社会信用代码',
|
|
|
|
|
trigger: 'blur'
|
|
|
|
|
},
|
|
|
|
|
{ required: true, message: '统一社会信用代码不能为空', trigger: 'change'},
|
|
|
|
|
{ required: true, message: '统一社会信用代码不能为空', trigger: 'change' },
|
|
|
|
|
]" label="统一社会信用代码" required>
|
|
|
|
|
|
|
|
|
|
<el-input v-model="ruleForm.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
|
|
|
@ -55,12 +52,8 @@
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="小程序状态" prop="state">
|
|
|
|
|
<el-select v-model="ruleForm.state" placeholder="请选择小程序状态">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.gzh_state"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
<el-option v-for="dict in dict.type.gzh_state" :key="dict.value" :label="dict.label"
|
|
|
|
|
:value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -74,12 +67,8 @@
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="小程序包状态" prop="packState">
|
|
|
|
|
<el-select v-model="ruleForm.packState" placeholder="请选择小程序包状态">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.email_state"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
<el-option v-for="dict in dict.type.email_state" :key="dict.value" :label="dict.label"
|
|
|
|
|
:value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -88,22 +77,14 @@
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="认证状态" prop="rzState">
|
|
|
|
|
<el-select v-model="ruleForm.rzState" placeholder="请选择认证状态">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.gzh_rzzt"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
<el-option v-for="dict in dict.type.gzh_rzzt" :key="dict.value" :label="dict.label"
|
|
|
|
|
:value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="认证时间" prop="rzsj">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="ruleForm.rzsj"
|
|
|
|
|
type="date"
|
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
<el-date-picker v-model="ruleForm.rzsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
|
|
|
|
|
placeholder="选择日期">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -113,12 +94,8 @@
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="认证类型" prop="rzlx">
|
|
|
|
|
<el-select v-model="ruleForm.rzlx" placeholder="请选择认证类型">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.gzh_rzlx"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
<el-option v-for="dict in dict.type.gzh_rzlx" :key="dict.value" :label="dict.label"
|
|
|
|
|
:value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -142,29 +119,22 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item prop="hydzyx"
|
|
|
|
|
label="行业电子邮箱" required
|
|
|
|
|
:rules="[
|
|
|
|
|
<el-form-item prop="hydzyx" label="行业电子邮箱" required :rules="[
|
|
|
|
|
{
|
|
|
|
|
type: 'email',
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入正确的邮箱地址',
|
|
|
|
|
trigger: ['change', 'change']
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
]">
|
|
|
|
|
<el-input v-model="ruleForm.hydzyx" style="width: 100%;" placeholder="请输入行业电子邮箱"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="所属行业" prop="sshy">
|
|
|
|
|
<el-select v-model="ruleForm.sshy" placeholder="请选择所属行业">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.app_sshy"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
<el-option v-for="dict in dict.type.app_sshy" :key="dict.value" :label="dict.label"
|
|
|
|
|
:value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -173,24 +143,16 @@
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="重点行业" prop="zdhy">
|
|
|
|
|
<el-select v-model="ruleForm.zdhy" placeholder="请选择重点行业">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.app_zdhy"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
<el-option v-for="dict in dict.type.app_zdhy" :key="dict.value" :label="dict.label"
|
|
|
|
|
:value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="行政区划" prop="xzqh">
|
|
|
|
|
<el-select v-model="ruleForm.xzqh" placeholder="请选择行政区划">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.app_xzqh"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
<el-option v-for="dict in dict.type.app_xzqh" :key="dict.value" :label="dict.label"
|
|
|
|
|
:value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -202,34 +164,28 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item prop="xtzrrdh"
|
|
|
|
|
label="系统责任人电话" required
|
|
|
|
|
:rules="[
|
|
|
|
|
<el-form-item prop="xtzrrdh" label="系统责任人电话" required :rules="[
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
|
|
|
|
|
message: '请输入正确的手机号码',
|
|
|
|
|
trigger: 'change'
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
]">
|
|
|
|
|
<el-input v-model="ruleForm.xtzrrdh" style="width: 100%;" placeholder="请输入系统责任人电话"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item prop="xtzrryx"
|
|
|
|
|
label="系统责任人邮箱" required
|
|
|
|
|
:rules="[
|
|
|
|
|
<el-form-item prop="xtzrryx" label="系统责任人邮箱" required :rules="[
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
type: 'email',
|
|
|
|
|
message: '请输入正确的邮箱地址',
|
|
|
|
|
trigger: ['change', 'change']
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
]">
|
|
|
|
|
<el-input v-model="ruleForm.xtzrryx" style="width: 100%;" placeholder="请输入系统责任人邮箱"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -254,46 +210,49 @@
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="系统简介" prop="xtjj">
|
|
|
|
|
<el-input type="textarea" resize="none" placeholder="请输入系统简介" :rows="5" v-model="ruleForm.xtjj"></el-input>
|
|
|
|
|
<el-input type="textarea" resize="none" placeholder="请输入系统简介" :rows="5"
|
|
|
|
|
v-model="ruleForm.xtjj"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row v-if="ruleForm.bfyy">
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="关停原因">
|
|
|
|
|
<div>{{ruleForm.bfyy}}</div>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<div>{{ ruleForm.bfyy }}</div>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType !== 'look' &&$route.name == 'mytaskAuditInfo'" >
|
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;"
|
|
|
|
|
v-if="pageType !== 'look' && $route.name == 'mytaskAuditInfo'">
|
|
|
|
|
<el-button type="danger" @click="newAssets(0)">关停</el-button>
|
|
|
|
|
<el-button @click="newAssets(1)">取消</el-button>
|
|
|
|
|
<el-button type="warning" @click="newAssets(2)">暂存</el-button>
|
|
|
|
|
<el-button type="primary" @click="newAssets(3)" :loading="loading">提交</el-button>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType !== 'look' &&$route.name == 'taskAuditInfo'" >
|
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;"
|
|
|
|
|
v-if="pageType !== 'look' && $route.name == 'taskAuditInfo'">
|
|
|
|
|
<el-button type="danger" @click="JGnewAssets(0)">不通过</el-button>
|
|
|
|
|
<el-button type="primary" @click="JGnewAssets(1)" >通过</el-button>
|
|
|
|
|
<el-button type="primary" @click="JGnewAssets(1)">通过</el-button>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei>
|
|
|
|
|
<butongguo ref='butongguo' :chuandemingcheng='ruleForm.xcxmc' ></butongguo>
|
|
|
|
|
<butongguo ref='butongguo' :chuandemingcheng='ruleForm.xcxmc'></butongguo>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import { assetMiniPrograms, miniProgramsInfo, unitAllList } from "@/api/auditPagesApi/index";
|
|
|
|
|
import { assetTaskminitaskSh, assetTaskxcxzc, assetTasksh,assetTaskxcxjyTj } from "@/api/renwuApi/index.js"
|
|
|
|
|
import { assetTaskminitaskSh, assetTaskxcxzc, assetTasksh, assetTaskxcxjyTj } from "@/api/renwuApi/index.js"
|
|
|
|
|
import baofei from "@/views/components/renwuType/baofei.vue"
|
|
|
|
|
import butongguo from "@/views/components/renwuType/butongguo.vue"
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
dicts:['app_xzqh','app_sshy','app_zdhy','gzh_state','gzh_rzzt','gzh_rzlx','email_state'],
|
|
|
|
|
components:{baofei,butongguo},
|
|
|
|
|
dicts: ['app_xzqh', 'app_sshy', 'app_zdhy', 'gzh_state', 'gzh_rzzt', 'gzh_rzlx', 'email_state'],
|
|
|
|
|
components: { baofei, butongguo },
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
ruleForm:{
|
|
|
|
|
ruleForm: {
|
|
|
|
|
},
|
|
|
|
|
rules: {
|
|
|
|
|
ssdw: [
|
|
|
|
@ -368,18 +327,18 @@ export default {
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
loading:false,
|
|
|
|
|
disabled:false,
|
|
|
|
|
loading: false,
|
|
|
|
|
disabled: false,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
props:['pageType', 'id'],
|
|
|
|
|
mounted(){
|
|
|
|
|
props: ['pageType', 'id'],
|
|
|
|
|
mounted() {
|
|
|
|
|
console.log(this.$route);
|
|
|
|
|
|
|
|
|
|
if(this.pageType == 'look') {
|
|
|
|
|
if (this.pageType == 'look') {
|
|
|
|
|
this.getInfo()
|
|
|
|
|
this.disabled = true;
|
|
|
|
|
this.$nextTick(()=>{
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
const inputElements = document.querySelectorAll('.el-input__inner');
|
|
|
|
|
const textareaInputElements = document.querySelectorAll('.el-textarea__inner');
|
|
|
|
|
inputElements.forEach((input) => {
|
|
|
|
@ -389,21 +348,21 @@ export default {
|
|
|
|
|
input.placeholder = '';
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
} else if(this.pageType == 'change') {
|
|
|
|
|
} else if (this.pageType == 'change') {
|
|
|
|
|
this.getInfo()
|
|
|
|
|
this.disabled = false;
|
|
|
|
|
}
|
|
|
|
|
if(this.$route.query.taskInfo == 'taskInfo'){
|
|
|
|
|
if (this.$route.query.taskInfo == 'taskInfo') {
|
|
|
|
|
this.disabled = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
getInfo(id){
|
|
|
|
|
methods: {
|
|
|
|
|
getInfo(id) {
|
|
|
|
|
let obj = {
|
|
|
|
|
taskId: this.$route.query.taskId,
|
|
|
|
|
assetId: this.$route.query.assetId
|
|
|
|
|
}
|
|
|
|
|
assetTaskminitaskSh(obj).then(res=>{
|
|
|
|
|
assetTaskminitaskSh(obj).then(res => {
|
|
|
|
|
this.ruleForm = res.data;
|
|
|
|
|
|
|
|
|
|
console.log(111);
|
|
|
|
@ -413,9 +372,9 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 单位名称模糊查询
|
|
|
|
|
querySearchAsync(queryString, cb){
|
|
|
|
|
querySearchAsync(queryString, cb) {
|
|
|
|
|
let results = [];
|
|
|
|
|
unitAllList({nickName: queryString}).then(res => {
|
|
|
|
|
unitAllList({ nickName: queryString }).then(res => {
|
|
|
|
|
res.data.forEach(item => {
|
|
|
|
|
results.push({
|
|
|
|
|
value: item.nickName,
|
|
|
|
@ -425,8 +384,8 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
cb(results);
|
|
|
|
|
},
|
|
|
|
|
guanting(ruleForm){
|
|
|
|
|
assetTaskxcxzc(ruleForm).then(res=>{
|
|
|
|
|
guanting(ruleForm) {
|
|
|
|
|
assetTaskxcxzc(ruleForm).then(res => {
|
|
|
|
|
this.$message({
|
|
|
|
|
type: 'info',
|
|
|
|
|
message: '已关停'
|
|
|
|
@ -439,7 +398,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 新增资产确认按钮
|
|
|
|
|
newAssets(type){
|
|
|
|
|
newAssets(type) {
|
|
|
|
|
if (type == 1) {
|
|
|
|
|
//取消
|
|
|
|
|
|
|
|
|
@ -448,8 +407,8 @@ export default {
|
|
|
|
|
this.loading = false
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
this.ruleForm.taskId= this.$route.query.taskId
|
|
|
|
|
this.ruleForm.assetId= this.$route.query.assetId
|
|
|
|
|
this.ruleForm.taskId = this.$route.query.taskId
|
|
|
|
|
this.ruleForm.assetId = this.$route.query.assetId
|
|
|
|
|
|
|
|
|
|
if (type == 0) {
|
|
|
|
|
this.$refs.baofei.open()
|
|
|
|
@ -465,12 +424,12 @@ export default {
|
|
|
|
|
this.loading = false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if(type == 3){
|
|
|
|
|
if (type == 3) {
|
|
|
|
|
|
|
|
|
|
this.$refs['ruleForm'].validate((valid) => {
|
|
|
|
|
if(valid) {
|
|
|
|
|
if (valid) {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
assetTaskxcxjyTj(this.ruleForm).then(res=>{
|
|
|
|
|
assetTaskxcxjyTj(this.ruleForm).then(res => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.$modal.msgSuccess("提交成功");
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
@ -480,25 +439,25 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
JGnewAssets(type){
|
|
|
|
|
JGnewAssets(type) {
|
|
|
|
|
|
|
|
|
|
this.ruleForm.taskId= this.$route.query.taskId
|
|
|
|
|
this.ruleForm.assetId= this.$route.query.assetId
|
|
|
|
|
if(type == 0){
|
|
|
|
|
this.ruleForm.taskId = this.$route.query.taskId
|
|
|
|
|
this.ruleForm.assetId = this.$route.query.assetId
|
|
|
|
|
if (type == 0) {
|
|
|
|
|
|
|
|
|
|
this.$refs.butongguo.open()
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if(type == 1){
|
|
|
|
|
if (type == 1) {
|
|
|
|
|
let tijioaobj = {
|
|
|
|
|
taskId: this.$route.query.taskId,
|
|
|
|
|
assetId: this.$route.query.assetId,
|
|
|
|
|
xtmc:this.ruleForm.xcxmc,
|
|
|
|
|
xtmc: this.ruleForm.xcxmc,
|
|
|
|
|
status: 3,
|
|
|
|
|
type:this.$route.query.type
|
|
|
|
|
type: this.$route.query.type
|
|
|
|
|
}
|
|
|
|
|
assetTasksh(tijioaobj).then(res=>{
|
|
|
|
|
if(res.code == 200){
|
|
|
|
|
assetTasksh(tijioaobj).then(res => {
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
this.$modal.msgSuccess("审核成功");
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
}
|
|
|
|
@ -506,7 +465,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
sendBack(){
|
|
|
|
|
sendBack() {
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|